VB6 modal form sometimes disappears on load event (IV2008)

VB6 modal form sometimes disappears on load event (IV2008)

Anonymous
Not applicable
338 Views
2 Replies
Message 1 of 3

VB6 modal form sometimes disappears on load event (IV2008)

Anonymous
Not applicable
Hi,

I have an addin created with VB6(SP6) under IV11. it also works fine with IV10.
This addin contains one modeless form and two modal forms

With IV2008,from time to time, when loading any of the two modal forms, the form appears really quickly and then is no more visible.
In this case, since form is modal, I can't do anything with Inventor, only use Task Manager to end software.
Escape key doesn't work as well.

I try to understand this for a couple of day. This is always a great mystery for me

the modeless form use SetWindowLong function from windows API. there is no curious behavior with this form.

Is it time to migrate to vb.net 2005 ?

Any help or idea would be appreciated
0 Likes
339 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
There are some issues with addin created in VB6 and running with IV2008
(using net framework 2.0). All my addin(s) work fine with previous releases
up to 11
I myself also experienced some difficulties and still struggle to find the
answers.
What I try to do now is being patient and waiting for a fix coming out soon
from ADesk
CVA

--
www.CVAengineering.com

IV11 Pro. sp2 and IV2008 Pro. sp0
Window XP Pro sp2
Pentium 3.2 Ghz, 3.0 GB of RAM
NVIDIA FX 3400 91.85
SpacePilot V 3.3.6
wrote in message news:5642886@discussion.autodesk.com...
Hi,

I have an addin created with VB6(SP6) under IV11. it also works fine with
IV10.
This addin contains one modeless form and two modal forms

With IV2008,from time to time, when loading any of the two modal forms, the
form appears really quickly and then is no more visible.
In this case, since form is modal, I can't do anything with Inventor, only
use Task Manager to end software.
Escape key doesn't work as well.

I try to understand this for a couple of day. This is always a great mystery
for me

the modeless form use SetWindowLong function from windows API. there is no
curious behavior with this form.

Is it time to migrate to vb.net 2005 ?

Any help or idea would be appreciated
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thank you very much CVA !

I will try to be patient too. If a workaround is founded, i would post it here.

Thank you again. Message was edited by: csaint
0 Likes