Jump to content
Sign in to follow this  

Help with ObjGet

Recommended Posts

I have created COM objects in VB6 (ActiveX dll, exe or ocx) and VB.Net which work fine when using the command ObjCreate. When I try to refer to an existing object using ObjGet, the attempt always fails. I have tried ObjCreate with the filename and classname, but with no luck.

Does anyone have any experience with this that can give some pointers. I have not posted any code, because it would require posting the COM object code & installation, etc.

“Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.”AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.

Share this post

Link to post
Share on other sites


I haven't seen any code, so it's a wild guess.

The ObjGet syntax is a little different than the ObjCreate.

Maybe this can get you started :

ObjectGet versus ObjectCreate



Edited by ptrex

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...