cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi expert,

We have an problem with my vb.net application that connected to SAP system.

This application originally developed using VB.Net in Windows XP.

Now, we migrate the operating system to Windows 7, and if we run this application in Windows 7, it will raise an error message

"Cannot create ActiveX component"

Code:


        osAPLogon = CreateObject("SAP.LogonControl.1")
        oSAPCn = osAPLogon.NewConnection

Do we have to change program ID when we try to connect to SAP if the client is using Windows 7 ?

Because in Windows XP, we are using SAP.LogonControl.1 as the program ID and no issue.

Anybody know what is program ID for SAP Logon object in Windows 7 ?

Thanks.

Regards,

Pieter

0 Likes
View Entire Topic
Former Member
0 Likes

Solved by build to x86 bit CPU

Former Member
0 Likes

Hi Pieter,

can you share with me how can i use create object in vb.Net to connect to SAP? I got some sample but all in vb6.

Thanks & Regards,