![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | Re: VBscript works normally on Windows XP/Win2003 but not on Win Vista -> "Invalid class" error "Nick Dakoronias" <dakoroni@newsgroup> wrote in message news:AF5BC5A9-873A-447E-9FD4-F75E0F89655D@newsgroup Quote: > Dear forum users > > I have a customer who is using a VB Script to create one swbemrefresher > object which works normally on Win XP and Win2003 platform, > > but on Windows Vista platform prompts with "invalid class" error. > > Has anybody experienced something similar? Is it a matter of missing > class? If yes, where it can be found? > > Any advice or guidance will be much appreciated. > > > > Many thanks in advance for your time, effort and support. > > Regards, Nick. I suspect the script must be run by right-clicking the *.vbs file and selecting the option "Run as administrator". Or, the script can be run at a command prompt, but one that has been launched by right clicking a shortcut to cmd.exe and selecting "Run as administrator". If this doesn't solve the problem, we need to see some code that duplicates the error. -- Richard Mueller MVP Directory Services Hilltop Lab - http://www.rlmueller.net -- |
My System Specs![]() |
| | #2 (permalink) |
| | Re: VBscript works normally on Windows XP/Win2003 but not on Win Vista -> "Invalid class" error Richard, thanks for posting my thread and your feedback. I will communicate your suggestions. "Richard Mueller [MVP]" <rlmueller-nospam@newsgroup> wrote in message news:eks9lMTPKHA.5108@newsgroup Quote: > > "Nick Dakoronias" <dakoroni@newsgroup> wrote in message > news:AF5BC5A9-873A-447E-9FD4-F75E0F89655D@newsgroup Quote: >> Dear forum users >> >> I have a customer who is using a VB Script to create one swbemrefresher >> object which works normally on Win XP and Win2003 platform, >> >> but on Windows Vista platform prompts with "invalid class" error. >> >> Has anybody experienced something similar? Is it a matter of missing >> class? If yes, where it can be found? >> >> Any advice or guidance will be much appreciated. >> >> >> >> Many thanks in advance for your time, effort and support. >> >> Regards, Nick. > I added microsoft.public.scripting.vbscript to you message. > > I suspect the script must be run by right-clicking the *.vbs file and > selecting the option "Run as administrator". Or, the script can be run at > a command prompt, but one that has been launched by right clicking a > shortcut to cmd.exe and selecting "Run as administrator". If this doesn't > solve the problem, we need to see some code that duplicates the error. > > -- > Richard Mueller > MVP Directory Services > Hilltop Lab - http://www.rlmueller.net > -- > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: VBscript works normally on Windows XP/Win2003 but not on Win Vista -> "Invalid class" error It seems that your suggestions finally worked. Thanks for your support. Rgds, Nick. "Nick Dakoronias" <dakoroni@newsgroup> wrote in message news:E4456BC9-40AA-4EEA-96DE-67926EC18109@newsgroup Quote: > Richard, thanks for posting my thread and your feedback. > I will communicate your suggestions. > > > "Richard Mueller [MVP]" <rlmueller-nospam@newsgroup> wrote in > message news:eks9lMTPKHA.5108@newsgroup Quote: >> >> "Nick Dakoronias" <dakoroni@newsgroup> wrote in message >> news:AF5BC5A9-873A-447E-9FD4-F75E0F89655D@newsgroup Quote: >>> Dear forum users >>> >>> I have a customer who is using a VB Script to create one swbemrefresher >>> object which works normally on Win XP and Win2003 platform, >>> >>> but on Windows Vista platform prompts with "invalid class" error. >>> >>> Has anybody experienced something similar? Is it a matter of missing >>> class? If yes, where it can be found? >>> >>> Any advice or guidance will be much appreciated. >>> >>> >>> >>> Many thanks in advance for your time, effort and support. >>> >>> Regards, Nick. >> I added microsoft.public.scripting.vbscript to you message. >> >> I suspect the script must be run by right-clicking the *.vbs file and >> selecting the option "Run as administrator". Or, the script can be run at >> a command prompt, but one that has been launched by right clicking a >> shortcut to cmd.exe and selecting "Run as administrator". If this doesn't >> solve the problem, we need to see some code that duplicates the error. >> >> -- >> Richard Mueller >> MVP Directory Services >> Hilltop Lab - http://www.rlmueller.net >> -- >> >> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| DVD Maker "invalid class string" during transcode | Vista music pictures video | |||
| 0X800CCC0B - Get "invalid password" error???? | Live Mail | |||
| Not a "Genuine Copy", and an "Invalid Activation Key" from Gateway | Vista installation & setup | |||
| Lexmark 1150 gets "Handle is invalid" error... | Vista print fax & scan | |||
| gwmi "Invalid class" error | PowerShell | |||