Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / January 2005



Tip: Looking for answers? Try searching our database.

getobject and activex exe ...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dilek Ornek - 22 Jan 2005 09:29 GMT
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.