![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | use WZCRefreshInterface in VBScript I need to configure parameters for wireless network (SSID, authentication type, encryption type, etc) on Windows XP, which is all available through Wireless Zero Configuration, by using WZCRefreshInterface function. I need to do it through VBScript, but I can't find out if it is possible. OLE/COM object viewer is supposed to provide the information whether Wzcsapi.dll (which is in question here) is a COM object and therefore available for mapping its functions to VBScript functions. But I can't manage to get this information. Am I on the right track? Any suggestions? Highly appreciate any info. Thank You.. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: use WZCRefreshInterface in VBScript ugison@xxxxxx wrote: Quote: > I need to configure parameters for wireless network (SSID, > authentication type, encryption type, etc) on Windows XP, which is all > available through Wireless Zero Configuration, by using > WZCRefreshInterface function. I need to do it through VBScript, but I > can't find out if it is possible. WlanQueryInterface Function http://msdn.microsoft.com/en-us/libr...65(VS.85).aspx I am not seeing any OLE interface. It looks like C++ to me. You could write an actX "wrapper" for yourself, to expose the c++ interfaces to script. But, it may be easier to look for a 3rd-party "wrapper" utility that was written by somebody else. sorry, jw |
My System Specs![]() |
| | #3 (permalink) |
| | Re: use WZCRefreshInterface in VBScript On Mar 17, 3:20*am, mr_unreliable <kindlyReplyToNewsgr...@xxxxxx> wrote: Quote: > ugi...@xxxxxx wrote: Quote: > > I need to configure parameters for wireless network (SSID, > > authentication type, encryption type, etc) on Windows XP, which is all > > available through Wireless Zero Configuration, by using > > WZCRefreshInterface function. I need to do it through VBScript, but I > > can't find out if it is possible. > hi Ugison, > > WlanQueryInterface Function > > * *http://msdn.microsoft.com/en-us/libr...65(VS.85).aspx > > I am not seeing any OLE interface. > > It looks like C++ to me. > > You could write an actX "wrapper" for yourself, to expose > the c++ interfaces to script. *But, it may be easier to > look for a 3rd-party "wrapper" utility that was written > by somebody else. > > sorry, jw i found your answer very useful. it seems i cannot do it in the way i wanted.. thank you very much! cheers.. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| New to VBscript, Help please! | VB Script | |||
| Where is VBscript now? | VB Script | |||
| VBscript Help | VB Script | |||
| How to do No hang up VBScript (nohup for VBScript) | VB Script | |||
| vbscript and HTA help | VB Script | |||