|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: diaconu (diaconu
MARCONI.UNITBV.RO)Date: Wed Aug 15 2001 - 13:00:22 CDT
I`m new to DCOM.I`m tring a very simple example but it`s not working.The
error i get is :
'462' Remote machine does not exist or is not available.
I`ve made an ActiveX Exe component which have in the class CMesaj this
simple method:
Public Function afiseaza(Mesaj As String)
MsgBox Mesaj
End Function
I have made the exe.Now i have the:
Mesaj.exe
Mesaj.tbl
Mesaj.vbr
files
After that i`ve made the setup package with the package & Deploymenyt
wizard.
I have put the tlb and vbr files into the package. (NOT the exe.)Should i
put the exe file too?I think that it should be use in the SERVER machine so
i don`t find the logic puting it on the CLIENT machine.
After the setup is completed i install it on the CLIENT machine.
On the Client machin i run an test program.It have one button.
What i`ve wrote next is:
Dim a as Mesaj.CMesaj
Set a=new Mesaj.CMesaj
a.afiseaza ("test")
When i run this i`ve expected that on SERVER machine a mesage box saying
"test".But the error occur.
Can anyoane tell where i do wrong?
Thanks people!
Johhny
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]