cancel
Showing results for 
Search instead for 
Did you mean: 

problem with creating ActiveX component - VB.NET

Former Member
0 Kudos

He everyone.

I've got a little problem with my .Net application. Under WinXP all works, but under Windows 7 not...

Problem is with " CreateObject("SAP.Functions") "

when I trying to run application in Vindows 7 (in debug mode) I receive an error message: "Cannot create ActiveX component"

Problematic source code:

  SAPR3 = CreateObject("SAP.Functions")  

SAP GUI version under Windows 7: 7100.2.8.1039

Patch level: 8

Did anybody have got any idea how to resolve that issue?

Thank you for any tips,

Regards,

Michael.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Mike,

If you have 64 bit Windows 7 you might need to run the debug mode in x86 mode not with x64 or the default "any CPU". Or simply you haven't installed the NCo3.0 components.

jani

Former Member
0 Kudos

Hi Jani,

It works! While compiling apps I have changed a destination environment to x86 and everything works fine )) Thank you for your advice. The solution was so simply... I'm ashamade that I din know that...

Have a nice day,

BR,

Mike.

p.s @admin: you can close thic topic...

Answers (0)