Hi,
I’ve tried to open a new form from an ActiveX component I use in IE. It works fine in VB6, but when I use it in VB6 I get the error: (something like) Cannot open a non-modal form in this application.
I have now tried to open a new window with the Win32 API function "ShowWindow” instead and that seems to work fine.
My questions are:
Is this a bad way of doing it, since VB will still think that the window is invisible?
Is there a way to open a new form the way I want to?
Thanks,
apan
I’ve tried to open a new form from an ActiveX component I use in IE. It works fine in VB6, but when I use it in VB6 I get the error: (something like) Cannot open a non-modal form in this application.
I have now tried to open a new window with the Win32 API function "ShowWindow” instead and that seems to work fine.
My questions are:
Is this a bad way of doing it, since VB will still think that the window is invisible?
Is there a way to open a new form the way I want to?
Thanks,
apan