neogia Posted February 21, 2006 Share Posted February 21, 2006 Does anyone know why this works: $obj = ObjCreate("Microsoft.Update.Session") and this doesn't: $obj = ObjCreate("System.Net.WebProxy") I unfortunately don't understand COM objects very well, but shouldn't the syntax be similar? I've looked this up on VBScript sites, and the syntax is the same for them. Are "System" objects just not supported with AutoIt? Thanks. [u]My UDFs[/u]Coroutine Multithreading UDF LibraryStringRegExp GuideRandom EncryptorArrayToDisplayString"The Brain, expecting disaster, fails to find the obvious solution." -- neogia Link to comment Share on other sites More sharing options...
flyingboz Posted February 21, 2006 Share Posted February 21, 2006 Do a registry search for the two strings involved. You will notice the difference. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
neogia Posted February 22, 2006 Author Share Posted February 22, 2006 Do a registry search for the two strings involved. You will notice the difference.Ok, so that makes more sense, I found the first, but not the second. Now how do I find/get or otherwise acquire the program with that progID? [u]My UDFs[/u]Coroutine Multithreading UDF LibraryStringRegExp GuideRandom EncryptorArrayToDisplayString"The Brain, expecting disaster, fails to find the obvious solution." -- neogia Link to comment Share on other sites More sharing options...
flyingboz Posted February 22, 2006 Share Posted February 22, 2006 (edited) Ok, so that makes more sense, I found the first, but not the second. Now how do I find/get or otherwise acquire the program with that progID?The latter doesn't expose an interface that au3 can access. Refer to the COM/OBJ help for the interfaces that au3 can talk to. Sven or one of the COM gurus might be able to explain more than the limitations that are outlined in the OBJ/COM helpfile / intro material which directly relates to your questions.Note: Fixed typo Edited February 23, 2006 by flyingboz Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now