ActiveX control with different behaviour in VS Designer and application

L

Lars Behrmann

Hi,

i have an ActiveX control placed on my windowsform.
Visual Studio has wrapped this and everything should
be fine, but it isn't :( The control shows different
behaviours between the Visual Studio Designer and
the compiled app. The ActiveX control works as a
container for documents so it can load and close
these documents. In the designer it works, but in
the compiled app it doesn't!? Instead of closing
the document it send in the background the Windows
Message WM_KILLFOCUS followed by WM_DESTROY. Which
clearly destroyed my control. Now, i'm totally
confused. Why ?
I hope somebody can tell me the differences between
the Designmode and the real application?

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/
 
L

Lars Behrmann

Hi all,

stop think about it. I solved my poblem. There
isn't a different behavior. Only bad programmed
ActivX controls.

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top