mrsurrender
Programmer
Hi,
I successfully implemented bigger COM connections, but I got real trouble, understanding what to do, if it should run remote.
What I will try here first, is implement a tiny Hello World with two pc just to learn how it works.
I develop under Win98SE and with VB6. So I write both the client and the server software on this machine!
The server app: It will be an ActiveX EXE and I have checked "Upgrade ActiveX Controls" in the Project Properties, whatever that means. I then make the EXE. I get the xxx.VBR and xxx.TLB files.
The client app: (Now the trouble starts.) When I try to build the client application, there has to be a reference. So I start the self-registring server app on the Win98-developing system. Okay. No problem, the COM-connection is fine and works.
But what to do, if I now want to transport this server app to a Win2000 server? How to get rid of the connection to my local server? What to do on the Win2000 server side? What to do on the Win98 client? (I have DCOM95.EXE installed and I can run DCOMCNFG.EXE) The Win2000 server is just a test machine, so I set all rights to "Everyone can do anything". At least I hope that I did it right, but I'm quiet sure ;-)
Boy, I think I am a little blocked in mind, so I need a step by step education. Please be patient and pleeease help!...
Thank You in advance!
BTW: I will have to do this in future with C++ also, but I think, I will first try to understand the easier way using VB6.
Siegfried.
I successfully implemented bigger COM connections, but I got real trouble, understanding what to do, if it should run remote.
What I will try here first, is implement a tiny Hello World with two pc just to learn how it works.
I develop under Win98SE and with VB6. So I write both the client and the server software on this machine!
The server app: It will be an ActiveX EXE and I have checked "Upgrade ActiveX Controls" in the Project Properties, whatever that means. I then make the EXE. I get the xxx.VBR and xxx.TLB files.
The client app: (Now the trouble starts.) When I try to build the client application, there has to be a reference. So I start the self-registring server app on the Win98-developing system. Okay. No problem, the COM-connection is fine and works.
But what to do, if I now want to transport this server app to a Win2000 server? How to get rid of the connection to my local server? What to do on the Win2000 server side? What to do on the Win98 client? (I have DCOM95.EXE installed and I can run DCOMCNFG.EXE) The Win2000 server is just a test machine, so I set all rights to "Everyone can do anything". At least I hope that I did it right, but I'm quiet sure ;-)
Boy, I think I am a little blocked in mind, so I need a step by step education. Please be patient and pleeease help!...
Thank You in advance!
BTW: I will have to do this in future with C++ also, but I think, I will first try to understand the easier way using VB6.
Siegfried.