64Bit Addin failure

64Bit Addin failure

Anonymous
Not applicable
441 Views
2 Replies
Message 1 of 3

64Bit Addin failure

Anonymous
Not applicable

I'm new to Inventor as well as .Net.

 

I created an add-in that starts a shell and fires an outside .exe that integrates with Inventor. The 32bit version works fine.

 

We got some new 64bit workstations so I have to recreate the addins in .Net to call the 32bit application. I used the template provided for .Net but I am having troubles. The Add-In displays in Inventor but won't stay loaded. I can"t debug in VS2010 Express like I could in VB6 because there is only code and no functions.

 

Any help/ideas? I have attached my project file.

 

Thanks in advanced.

0 Likes
442 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

OK, well after I unregistered older attempts, I re-registered the new add-in and it loads and shows the proper panel/buttons, but without the icons. Also, no action when clicked.

 

I appreciate any input!

0 Likes
Message 3 of 3

Anonymous
Not applicable

Solved.

 

I had cut and pasted my OnExecute events from  a VB6 add-in, and they were in the wrong region, so clicking the buttons did nothing.

 

As for the icons, I ended up using:

 

Dim InventorAddin_FNIcon As stdole.IPictureDisp           

InventorAddin_FNIcon = Microsoft.VisualBasic.Compatibility.VB6.Support.IconToIPicture(My.Resources.FN)

 

Everything works perfectly!

0 Likes