WMI & VB6



I have been wading through the mountains of documentation for WMI scripting,
and trying to figure out how to implement the "JoinDomainOrWorkgroup" method
of Win32_ComputerSystem in a regular VB6 application.
There are two problems that I am having.
First, my application is strongly typed and uses early binding, so the
documentation provided in the scripting reference is not viable for me.
(Though I found some of the object types using TypeName.)
Second, I cannot figure out the proper syntax for the method call. I am so
frustrated by the documentation! All I really need is an example of some
working code that calls a WMI method from VB6.
I would really appreciate if someone could illuminate the cloudy path of WMI
for me.
.



Relevant Pages

  • Re: WMI & VB6
    ... I agree the WMI documentation is less than useful Andrew...tons of marketing ... There are newsgroups specifically for wmi. ... > of Win32_ComputerSystem in a regular VB6 application. ... > documentation provided in the scripting reference is not viable for me. ...
    (microsoft.public.vb.syntax)
  • Re: WMI & VB6
    ... ¤ I have been wading through the mountains of documentation for WMI scripting, ... documentation provided in the scripting reference is not viable for me. ... working code that calls a WMI method from VB6. ...
    (microsoft.public.vb.syntax)
  • Re: WBEM Implementations in Windows
    ... WMI Scripting layer supports JScript, ... It connects to Windows Management ... I couldn't get the WMI ODBC link in Microsoft ...
    (microsoft.public.win32.programmer.wmi)
  • Re: WMI & VB6
    ... "Tony Proctor" wrote: ... > There are newsgroups specifically for wmi. ... >> I have been wading through the mountains of documentation for WMI ... >> documentation provided in the scripting reference is not viable for me. ...
    (microsoft.public.vb.syntax)
  • Re: WMI --> Remote access to directories
    ... to B you have "wasted" your first NTLM Authentication hop, ... See my earlier post about "WMI and ASP" for the gory details. ... Bala wrote: ... > I am new to WMI scripting. ...
    (microsoft.public.win32.programmer.wmi)