Debug VB6 AddIn in process with Inventor2008; How please.

Debug VB6 AddIn in process with Inventor2008; How please.

YvesGingras
Contributor Contributor
282 Views
4 Replies
Message 1 of 5

Debug VB6 AddIn in process with Inventor2008; How please.

YvesGingras
Contributor
Contributor
Hi !

I’m at my first « experiences » with programming AddIns in VB6, and I’d like to have Inventor (2008) to start automatically when I run (F5) the program from within VB6 interface. I have noticed this behaviour while looking at SDK samples, but so far I have not been able to find where to set what it needs to be set in a newly created AddIn.

Please could anyone help me in doing this?

Thanks in advance.

YG
0 Likes
283 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

You can't debug this way using VB6.  That's
one of the advantages of using the new .Net languages.  If you look in the
"Overviews" section of the programming help you'll see the topic "Creating an
Inventor Add-In using VB6".  The last page of this topic discusses
debugging.
--
Brian Ekins
Autodesk Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
! I’m at my first « experiences » with programming AddIns in VB6, and I’d like
to have Inventor (2008) to start automatically when I run (F5) the program
from within VB6 interface. I have noticed this behaviour while looking at SDK
samples, but so far I have not been able to find where to set what it needs to
be set in a newly created AddIn. Please could anyone help me in doing this?
Thanks in advance. YG
0 Likes
Message 3 of 5

Anonymous
Not applicable

Brian

 

Doesnt the VB6 wizard set it up so Inventor
autostarts when you run the addin from the IDE?  A number of my addins
start up Inventor, but I can't recall exactly how it was set up at the
moment. 


--

Kent Keller


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


You can't debug this way using VB6.  That's
one of the advantages of using the new .Net languages.  If you look in
the "Overviews" section of the programming help you'll see the topic "Creating
an Inventor Add-In using VB6".  The last page of this topic discusses
debugging.
--
Brian Ekins
Autodesk Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
! I’m at my first « experiences » with programming AddIns in VB6, and I’d
like to have Inventor (2008) to start automatically when I run (F5) the
program from within VB6 interface. I have noticed this behaviour while
looking at SDK samples, but so far I have not been able to find where to set
what it needs to be set in a newly created AddIn. Please could anyone help
me in doing this? Thanks in advance.
YG
0 Likes
Message 4 of 5

Anonymous
Not applicable

Kent is right.  I had forgotten about
that.  I never used the VB6 wizard other than to play with it a bit when it
first came out.  The wizard supplies a VB6 add-in that does the
start-up and registration for you when you start debugging.  It's
automating the same steps that are documented in the online help article. 
In .Net this is all built-in so there aren't any dependencies on outside
add-ins.
--
Brian Ekins
Autodesk Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Kent Keller" <kent kwikmcad.com add @ to reply> wrote in message

href="news:6052803@discussion.autodesk.com">news:6052803@discussion.autodesk.com
...


Brian

 

Doesnt the VB6 wizard set it up so Inventor
autostarts when you run the addin from the IDE?  A number of my addins
start up Inventor, but I can't recall exactly how it was set up at the
moment. 


--

Kent Keller


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


You can't debug this way using VB6. 
That's one of the advantages of using the new .Net languages.  If you
look in the "Overviews" section of the programming help you'll see the topic
"Creating an Inventor Add-In using VB6".  The last page of this topic
discusses debugging.
--
Brian Ekins
Autodesk Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
! I’m at my first « experiences » with programming AddIns in VB6, and I’d
like to have Inventor (2008) to start automatically when I run (F5) the
program from within VB6 interface. I have noticed this behaviour while
looking at SDK samples, but so far I have not been able to find where to
set what it needs to be set in a newly created AddIn. Please could anyone
help me in doing this? Thanks in advance.
YG
0 Likes
Message 5 of 5

YvesGingras
Contributor
Contributor
That is it Kent. It behaves just like the samles and start Inventor when I run the addIn from the IDE, when the Wizard is used to create the AddIn.

Thanks to you ans Brian.
--
0 Likes