You might want to try posting to
Inventor Customization (VBA and VB)
http://discussion.autodesk.com/forum.jspa?forumID=120
news://discussion.autodesk.com/autodesk.inventor.customization
--
Duncan
"Humour ... is one man shouting gibberish in the face of authority, and
proving by fabricated insanity that nothing could be as mad as what passes
for ordinary living."
(Terence 'Spike' Milligan K.B.E., 1918-2002)
www.autodesk.co.uk/inventorjobs
http://support.microsoft.com/default.aspx/kb/555375
wrote in message news:6206300@discussion.autodesk.com...
I am using Inventor 2009 XP 64. I developed a VBA program to add
parts/assemblies to a base assembly. The program works well in Inventor 2009
XP 32. However, when I run it in 2009 XP 64, it crashes. Whenever the
program runs to the following statement Set oCompnt2 =
oAsmCompDef.Occurrences.Add(sFileName, oPositionMatrix) ' where sFileName is
a sub-assembly containing VBA macro Inventor 2009 XP 64 prompts "This action
will reset your project, proceed anyway?". Can anybody help? Thanks