Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating ole server

Status
Not open for further replies.

csutton

Programmer
Joined
Dec 27, 2000
Messages
213
Location
US
I am trying to figure out how to create an ole server. If I understand correctly, it would be a DLL or OCX?

If those are the cases, I know how to create the public classes, etc.

My question is, how do I get my ole server to appear in applications that show a list of ole servers? In the list, you will see the various office products, paintbrush, adobe, etc..

Thank you!
 
You might start with OLE Concepts and Requirements Overview.

The term OLE Server in general can refer to ActiveX DLLs, OCXs, and EXEs. Perhaps you are thinking of those that can provide services in support of compound documents though?

They're Not Just OLE Servers Any More talks about how much things changed between Win 3.x and 1998.
 
Thanks Dilettante.

From the sounds of it, yes actually I want provide services via a compound document.

How does one go about creating a compound document ability?

I just did a search and couldn't really find much.

Thanks
Chris
 
Oops, I thought this was obvious... the VB6 project type you want is ActiveX Document. While these are normally used with IE I believe other "OLE containers" can host them too.

Caveat: I don't have much experience with them.
 
Dilettante, thank you.. I'm still missing something here..

This is what I want to happen:

In a program that supports OLE objects, there is a window that will list all of the available objects (usually 10-15.. such as Bitmat Image, MS Excel Spreadsheet, Video Clip, Wave sound, etc...

I would like my object to show up in this list.. but I do not know where these OLE containers are getting this list from.

I know about creating a DLL and all, but I don't know where to say "hey, my object is an ole and others can access it via this list.."

Thanks!!
Chris
 
I have to admit I don't know much about the subject... and I'm finding very little on the web.

OLE Document Objects is for C++, but what is described sounds a lot like what a VB6 ActiveX Document project produces. Are you sure this doesn't do the trick?

I hope someone else can give you an assist.
 
Yeah, I played a bit with the ActiveX Docs and couldn't figure it out.. Thank you anyway for your assistance...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top