VB 6.0 Program Converting to OLE or DDE

What does it take to get a Stand Alone EXE to become an OLE Server?

I thought about using DDE, but would prefer OLE...

LVL 7
twardAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sivanpCommented:
Its not that simple.
You need to change the type of project, of course, but you also need to build class modules, and methods for each class, according to the functionality that you want to "give" to other apps.

There is not a wizard that will do it for you, you must do it your-self.
0
twardAuthor Commented:
That is what I was afraid of!

I'm going to reject the answer for now to see if anyone else has any other ideas....

If nothing better shows up then I'll ask you to answer it again so you can get the points.

Thanks.
0
corvanderlindenCommented:
sivanp is right, there is no other way
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

twardAuthor Commented:
I still find it hard to believe that programs like Microsoft Word would have to be done that way...

Unless they wrote that in C/C++ and you can do it differently there....
0
sivanpCommented:
I really don't think that word was written in VB!!!
0
twardAuthor Commented:
Didn't really think it was either, just saying that I find it hard to believe that to make a program OLE that you have to have two versions of it..
0
sivanpCommented:
Its not two version!
You are making the OLE/COM objects, and the standalone project uses the same objects, like another application.
0
corvanderlindenCommented:
You can take your standalone .EXE, add a public class to it with public members, in the project properties select ActiveX Exe, and in the Component tab select Standalone or ActiveX Component, and you have a COM component

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
twardAuthor Commented:
Thank you corvanderlinden, that sent me in the right direction.

I already have some of the things working.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.