Results 1 to 4 of 4

Thread: Creating OLE server

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    2

    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

  2. #2
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Creating OLE server

    Make an Activex Usercontrol
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    2

    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..?

  4. #4
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Creating OLE server

    In Vis Stud 6, do File->New then UserControl. Lots of example code on this site too.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width