I have an application that sends e-mails using the Groupwise Object API. The application is developed in Visual Basic 2010. It used to work fine with Windows XP, but since I've upgraded to Windows 7 it stoped working. Let me show the code I'm using :

Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCancel.Click

Dim test As GroupwareTypeLibrary.Application7

test = New Application7
Catch ex As Exception
End Try

End Sub

This is the error message I receive :

"Retrieving the COM class factory for component with CLSID {C587BDBE-B155-4998-8653-27363FB3F21D} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."

Can anyone give me some help?

Best Regards,