|
Home > Archive > microsoft.public.cert.exam.mcsd > October 2002 > DCOM and no MTS
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Can I install an ActiveX EXE I wrote on one of my machines
on my Internal network at home and then access the ActiveX
EXE from another computer on the network - without having
to install and configure MTS?
I'm trying to envision how this would work but I'm not
sure how I would create a reference to the ActiveX EXE
(server) from the Client.
If the Server is only registered on the remote computer I
can't set a reference to it on the client?
I am just trying to better understand client-server
programming.
Thanks for any input,
Gerry
goakson@shaw.ca
| |
| Daniel Joskovski 2002-10-05, 6:39 pm |
|
"Gerry" <goakson@shaw.ca> wrote in message
news:1081e01c258f9$a892a900$9e
e62ecf@tkmsftngxa05...
> Can I install an ActiveX EXE I wrote on one of my machines
> on my Internal network at home and then access the ActiveX
> EXE from another computer on the network - without having
> to install and configure MTS?
>
Yes you can.
> I'm trying to envision how this would work but I'm not
> sure how I would create a reference to the ActiveX EXE
> (server) from the Client.
>
With DCOMCFG.
> If the Server is only registered on the remote computer I
> can't set a reference to it on the client?
>
For this, you must understand process of activating comonents, in short,
when you CREATE OBJECT(... ,VB go to registry and search for progID, when
find then get location of .exe and type of server and start the instance,
but what if you want to run server on another computer?
VB will found DNS mashine name and apiID instead of clasid, end then go to
that mashine and activate the .exe on that computer.But is not simple as it
sound :-(
Search MSDN library for DCOM Architecture.
P.S. Checking Remote Procedure Files CB in Project Properties fo ActiveX.EXE
Project is god beginning :-)
Regards,
Daniel
> I am just trying to better understand client-server
> programming.
>
>
> Thanks for any input,
> Gerry
> goakson@shaw.ca
>
| |
|
| Thanks for the reply Daniel. It looks like this will
take a little research.
Take care,
Gerry
>-----Original Message-----
>
>"Gerry" <goakson@shaw.ca> wrote in message
> news:1081e01c258f9$a892a900$9e
e62ecf@tkmsftngxa05...
>> Can I install an ActiveX EXE I wrote on one of my
machines
>> on my Internal network at home and then access the
ActiveX
>> EXE from another computer on the network - without
having
>> to install and configure MTS?
>>
>Yes you can.
>
>> I'm trying to envision how this would work but I'm not
>> sure how I would create a reference to the ActiveX EXE
>> (server) from the Client.
>>
>With DCOMCFG.
>> If the Server is only registered on the remote
computer I
>> can't set a reference to it on the client?
>>
>For this, you must understand process of activating
comonents, in short,
>when you CREATE OBJECT(... ,VB go to registry and search
for progID, when
>find then get location of .exe and type of server and
start the instance,
>but what if you want to run server on another computer?
>VB will found DNS mashine name and apiID instead of
clasid, end then go to
>that mashine and activate the .exe on that computer.But
is not simple as it
>sound :-(
>Search MSDN library for DCOM Architecture.
>P.S. Checking Remote Procedure Files CB in Project
Properties fo ActiveX.EXE
>Project is god beginning :-)
>
>Regards,
>Daniel
>
>> I am just trying to better understand client-server
>> programming.
>>
>>
>> Thanks for any input,
>> Gerry
>> goakson@shaw.ca
>>
>
>
>.
>
| |
| Patrick 2002-10-05, 6:40 pm |
| Actually, I think that you'll find DCOM easier than MTS....
Just my tuppence-worth...
--
Patrick Mullin,
MCSD (VB6).
Email <first name> at AuroraDigitalis dot com
"Gerry" <goakson@shaw.ca> wrote in message
news:e94501c25989$e4573fb0$3ae
f2ecf@TKMSFTNGXA09...
> Thanks for the reply Daniel. It looks like this will
> take a little research.
>
> Take care,
> Gerry
>
>
>
> >-----Original Message-----
> >
> >"Gerry" <goakson@shaw.ca> wrote in message
> > news:1081e01c258f9$a892a900$9e
e62ecf@tkmsftngxa05...
> >> Can I install an ActiveX EXE I wrote on one of my
> machines
> >> on my Internal network at home and then access the
> ActiveX
> >> EXE from another computer on the network - without
> having
> >> to install and configure MTS?
> >>
> >Yes you can.
> >
> >> I'm trying to envision how this would work but I'm not
> >> sure how I would create a reference to the ActiveX EXE
> >> (server) from the Client.
> >>
> >With DCOMCFG.
> >> If the Server is only registered on the remote
> computer I
> >> can't set a reference to it on the client?
> >>
> >For this, you must understand process of activating
> comonents, in short,
> >when you CREATE OBJECT(... ,VB go to registry and search
> for progID, when
> >find then get location of .exe and type of server and
> start the instance,
> >but what if you want to run server on another computer?
> >VB will found DNS mashine name and apiID instead of
> clasid, end then go to
> >that mashine and activate the .exe on that computer.But
> is not simple as it
> >sound :-(
> >Search MSDN library for DCOM Architecture.
> >P.S. Checking Remote Procedure Files CB in Project
> Properties fo ActiveX.EXE
> >Project is god beginning :-)
> >
> >Regards,
> >Daniel
> >
> >> I am just trying to better understand client-server
> >> programming.
> >>
> >>
> >> Thanks for any input,
> >> Gerry
> >> goakson@shaw.ca
> >>
> >
> >
> >.
> >
|
|
|
|
|