-
Creating OLE server
Hi everyone,
I would really appreciate a little help for creating OLE embeddable application with VB6.
To keep the story short, we all know the possibility of embedding, for example, an excel document inside of a word document. Now I'm in a situation where I should convert my application to work in a similar manner, so that I could embed "MyApp document" into an OLE container.
Right now the problem is that I don't have a clue how to accomplish this. I've read through most of the Internet and so far I've only found examples of doing this in the opposite way. (Which really isn't much of a challenge).
I've done some tests with activeX exe's, but without any luck. Any ideas what to look for?
-Aleppo
-
Re: Creating OLE server
Make an Activex Usercontrol
-
Re: Creating OLE server
Thanks for the direction, at least now I know what I'm looking. It's pretty amazing to realize how hard building an ole server is. Afterall, back in the days of VB4 it was just a matter of compiler options. :)
I probably need to do some manual registry tweaking to see those controls at the desired insert/object menu..?
-
Re: Creating OLE server
In Vis Stud 6, do File->New then UserControl. Lots of example code on this site too.