Unable to register VB6 add-in in IV2010,i'm using windows7 64 bit?

Unable to register VB6 add-in in IV2010,i'm using windows7 64 bit?

Anonymous
Not applicable
837 Views
8 Replies
Message 1 of 9

Unable to register VB6 add-in in IV2010,i'm using windows7 64 bit?

Anonymous
Not applicable
Hi!

I have the attached the add-in project that i have built in VB6, i want to make it work on IV 2010,i'm using the windows7 64 bit, i have changed the reg file to wow6432. but the add-in doesn't load in IV2010.

i have the add-in working on 32 bit mode with xp.

Can someone check the attached file to see what is wrong?

Thanks.
0 Likes
838 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable
Unfortunately add-ins created in VB6 are not compatible with 64-bit.

However there is some kind of workaround to run the add-in as an out of process active x exe file. See the following blog post of Brian Ekins: http://modthemachine.typepad.com/my_weblog/2009/10/visual-basic-6-add-ins-and-64-bit.html

In my case this was very slow and didn't work as expected so I made the choice to recreate the add-in in VB.NET 2008.

Cheers, Daniël
0 Likes
Message 3 of 9

Anonymous
Not applicable
some time ago when i worked with the IV 12 or 2008 version, and also with xp 64, i was able to run my vb6 ad-ins.

Now isn't possible why because of the IV 2010?
0 Likes
Message 4 of 9

Anonymous
Not applicable
As of IV2009 there are separate 32 and 64 bit versions. On a 64 bit operating system the 64 bit Inventor gets installed. VB6 can only build 32 bit add-ins which do not load in a 64 bit Inventor.

So for IV2010 on a 64 bit OS, you need a 64 bit add-in.

Daniël
0 Likes
Message 5 of 9

Anonymous
Not applicable
So what version of visual basic supports 64 bit and 32 bit?
0 Likes
Message 6 of 9

Anonymous
Not applicable
2005 and 2008 vb.net do.


--
KWiKMcad
Kent Keller
"Smachado" wrote in message news:6324651@discussion.autodesk.com...
So what version of visual basic supports 64 bit and 32 bit?
0 Likes
Message 7 of 9

Anonymous
Not applicable
This is correct, with Visual Studio 2005 or 2008 you can create an add-in that you can load in both 32 and 64 bit.

Just to be curious, is the combination of Inventor with Windows 7 working OK for you?

Daniël
0 Likes
Message 8 of 9

Anonymous
Not applicable

Hi,

 

sorry for replying this old post...

 

djreesing, do you mean i don't need a 64bit machine to compile (...migrate...) my vb.net add-in for both 32 and 64bit target machines ("AnyCPU" will be enough???) ?

 

I'm just now looking for a new 64bit pc, in order to migrate to 64bit, and i wonder if I really have to!

 

I thought I need 64bit "hardware" to compile for 64/32bit "software"... Confused!

 

[Btw, i'm planning to start with VB.NET, never compiled on a 64bit yet, only VB6 on 32bit]

 

Thanks

bicio73

 

 

 

 


@Anonymous wrote:
This is correct, with Visual Studio 2005 or 2008 you can create an add-in that you can load in both 32 and 64 bit.

Just to be curious, is the combination of Inventor with Windows 7 working OK for you?

Daniël

 

0 Likes
Message 9 of 9

Anonymous
Not applicable

Oops, I didn't see some stuff about 64/32bit. I've just found some post that explains the thing.

This discussion group is great! Thanks!

 

bicio73

0 Likes