Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - use WZCRefreshInterface in VBScript

Reply
 
Old 03-16-2009   #1 (permalink)
ugison


 
 

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 SpecsSystem Spec
Old 03-16-2009   #2 (permalink)
mr_unreliable


 
 

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.
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
My System SpecsSystem Spec
Old 03-17-2009   #3 (permalink)
ugison


 
 

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
mr_unreliable,
i found your answer very useful.
it seems i cannot do it in the way i wanted..
thank you very much!

cheers..
My System SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46