what is the minimum interface that a ole control must implement to give the following:
1- properties and methods.
2- events
Hi
Here you can find all the info you need
http://msdn.microsoft.com/en-us/library/ms693753(VS.85).aspx
If you want a working example, you can look at Japheth's homepage www.japheth.de (http://www.japheth.de) or into the ObjAsm32 project.
In the last one, you have a project called OCX_Led that implements all the interfaces to fully interact with VB6.
Regards,
Biterider
thank you for your reply, :bg
Quote from: Biterider on June 15, 2009, 04:14:18 PM
If you want a working example, you can look at Japheth's homepage www.japheth.de (http://www.japheth.de)
i had tried the example of Japheth (asmctrl.ocx), yes it works in vb 6,but it does not work in ms vs 2008.
any idea why?
I don't know what you are doing in VS2008. Maybe a better description of your container app and the error that is happening can clarify the situation a bit.
Have you checked Japheth's OCX container?
Biterider