Re: Detect/Set printer online state

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Alex K. Angelopoulos wrote:
Obviously there's a big difference between the Win98SE I was using and
your
system - possible since this one has had little updating. Try changing
verb.name to verb; that won't solve everything, but it should tell us if
we're on the right track. Since you do have the context menu choice for
going online/offline, there's a good possibility that shell32 will do what
we need.

I tried it with just verb and got "Type mismatch".

Apparently, "For Each verb in verbs" is valid and there are 9 verbs counted
in the loop, but, is there some way to expose what verb names it thinks are
valid.

BTW, verb.DoIt() also returns "Object doesn't support this property or
method".

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

.



Relevant Pages

  • Re: Vista UAC problem with WScript.Shell Run method
    ... If I invoke the "runas" verb, even from a VBS, without writing a ... This will bring up the UAC elevation confirmation box and run ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.scripting.wsh)
  • RFC: new module Net::SMTP::PostfixExt
    ... I'm working on a module that adds support for some Postfix ... The XCLIENT and XFORWARD protocols are extensions to the ... HELO Set the value for the HELO/EHLO verb ... F Verb supported by the XFORWARD extension ...
    (comp.lang.perl.modules)
  • Re: Print a file of any type given file path
    ... images only support the "printto" verb and I am not sure how to ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [MSH] technique for invoking functions by provider path?
    ... Alex K. Angelopoulos [MVP] wrote: ... I was trying the wrong verb. ... usage make sense to you as something that _should_ be done? ...
    (microsoft.public.windows.server.scripting)