Hi all,
I want to share my class from my applications. I create ActiveX exe server
and myclass1 in exe server. I have 2 applications and I want to access
activex exe server. Msdn samples are for excel and word applications like
Set oXLS=Getobject(,"excel.application") or Set
oWRD=Getobject(,"word.application").
Step by step my error ;
1-) I create Activex Exe server and create myclass1 in exe server. ' (
myclass1 is public )
2-) Start exeserver with sub main
3-) Create standart exe application.
4-) In form button Set oMySvr=GetObject(,"myActivexExe.myclass1") ' ( I
dont want new instance )
5-) It allways error "ActiveX component can not create object"
I think so problem in myexe server but I'm sure my exe server is running,
its appear in task manager. what is wrong, how can I access my exe server
class same instance from different applications. Is there any samples for
this cases...
Thanks for all helps.
Hakan Örnek
Civil Eng.
Ken Halter - 23 Jan 2005 18:31 GMT
> I think so problem in myexe server but I'm sure my exe server is
> running,
[quoted text clipped - 5 lines]
> Hakan Örnek
> Civil Eng.
The Ax.exe needs to be registered in the ROT.... see:
Unable to call an already opne ActiveX exe
http://groups-beta.google.com/group/microsoft.public.vb.enterprise/browse_frm/th
read/ac8c751494474623/f88b0e172dc4df0b#f88b0e172dc4df0b

Signature
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
Hakan Ornek - 23 Jan 2005 09:32 GMT
It's realy cool. Thanks Ken.
Hakan Örnek
> > I think so problem in myexe server but I'm sure my exe server is
> > running,
[quoted text clipped - 9 lines]
>
> Unable to call an already opne ActiveX exe
http://groups-beta.google.com/group/microsoft.public.vb.enterprise/browse_frm/th
read/ac8c751494474623/f88b0e172dc4df0b#f88b0e172dc4df0b