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 - Can't get .vbs file to run

Reply
 
Old 01-12-2009   #1 (permalink)
Raj


 
 

Can't get .vbs file to run

My taskbar does not display open applications nor will it display any
applications or windows that I have open. The processes are running and I can
switch between the applications seamlessly using alt+tab. Upon some research
I have found an apparent fix:

http://www.kellys-korner-xp.com/xp_tweaks.htm
Line 240: Programs Aren't Minimized in the Taskbar
Line 164: Restore Taskbar to Default Functionality

I download these scripts to my Desktop and double click to execute the file.
A cmd prompt opens up and goes away in a split second. The same goes for when
selecting to "Run" instead of saving to my Desktop from the site. It is said
that when you run the script you get a confirmation message upon successfully
running the script, I also do not get this confirmation message.

I know nothing about vbscripts and I am thinking that I may need to upgrade
my version of it?
I have running on Windows XP Home Edition.

Thanks for the time.

My System SpecsSystem Spec
Old 01-12-2009   #2 (permalink)
Dave Patrick


 
 

Re: Can't get .vbs file to run

You might need to right-click, properties then Unblock and or right-click
then "open with command prompt"


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


"Raj" wrote:
Quote:

> My taskbar does not display open applications nor will it display any
> applications or windows that I have open. The processes are running and I
> can
> switch between the applications seamlessly using alt+tab. Upon some
> research
> I have found an apparent fix:
>
> http://www.kellys-korner-xp.com/xp_tweaks.htm
> Line 240: Programs Aren't Minimized in the Taskbar
> Line 164: Restore Taskbar to Default Functionality
>
> I download these scripts to my Desktop and double click to execute the
> file.
> A cmd prompt opens up and goes away in a split second. The same goes for
> when
> selecting to "Run" instead of saving to my Desktop from the site. It is
> said
> that when you run the script you get a confirmation message upon
> successfully
> running the script, I also do not get this confirmation message.
>
> I know nothing about vbscripts and I am thinking that I may need to
> upgrade
> my version of it?
> I have running on Windows XP Home Edition.
>
> Thanks for the time.
My System SpecsSystem Spec
Old 01-12-2009   #3 (permalink)
Raj


 
 

Re: Can't get .vbs file to run

I have tried right clicking and selecting "open with command prompt." It
renders the same behavior of opening and closing in a split second with no
confirmation message.

I have also tried renaming the .vbs file to .exe and that does not work
either.


"Dave Patrick" wrote:
Quote:

> You might need to right-click, properties then Unblock and or right-click
> then "open with command prompt"
>
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
>
> "Raj" wrote:
Quote:

> > My taskbar does not display open applications nor will it display any
> > applications or windows that I have open. The processes are running and I
> > can
> > switch between the applications seamlessly using alt+tab. Upon some
> > research
> > I have found an apparent fix:
> >
> > http://www.kellys-korner-xp.com/xp_tweaks.htm
> > Line 240: Programs Aren't Minimized in the Taskbar
> > Line 164: Restore Taskbar to Default Functionality
> >
> > I download these scripts to my Desktop and double click to execute the
> > file.
> > A cmd prompt opens up and goes away in a split second. The same goes for
> > when
> > selecting to "Run" instead of saving to my Desktop from the site. It is
> > said
> > that when you run the script you get a confirmation message upon
> > successfully
> > running the script, I also do not get this confirmation message.
> >
> > I know nothing about vbscripts and I am thinking that I may need to
> > upgrade
> > my version of it?
> > I have running on Windows XP Home Edition.
> >
> > Thanks for the time.
>
>
My System SpecsSystem Spec
Old 01-12-2009   #4 (permalink)
Dave Patrick


 
 

Re: Can't get .vbs file to run

You might need to verify the content are correct.



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


"Raj" wrote:
Quote:

>I have tried right clicking and selecting "open with command prompt." It
> renders the same behavior of opening and closing in a split second with no
> confirmation message.
>
> I have also tried renaming the .vbs file to .exe and that does not work
> either.
My System SpecsSystem Spec
Old 01-12-2009   #5 (permalink)
Raj


 
 

Re: Can't get .vbs file to run

Every user who has reported using this fix has run it fine. I believe it may
have something to do with my vb run-time. Using the Kelly-Korner's Taskbar
Ultility (automated program with sets of scripts). The script for taskbar
restoration will run but I get a run-time error message. I'm not at home to
re-try, but I believe the error code is: run-time error 1517.

Is there a way I can update my vbscript?


"Dave Patrick" wrote:
Quote:

> You might need to verify the content are correct.
>
>
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
>
> "Raj" wrote:
Quote:

> >I have tried right clicking and selecting "open with command prompt." It
> > renders the same behavior of opening and closing in a split second with no
> > confirmation message.
> >
> > I have also tried renaming the .vbs file to .exe and that does not work
> > either.
>
>
My System SpecsSystem Spec
Old 01-12-2009   #6 (permalink)
mayayana


 
 

Re: Can't get .vbs file to run

There's nothing in that script that should
run a command prompt in the first place. First
you said that it flashes a console window and
then you said there's an error message. It
might help if you can post the exact error you're
getting.

Another option, if you can understand the code,
is to just make the Registry changes by hand.
It's deleting a few keys and then writing a few
values. You can do that in Regedit. (The part
at the end:
For Each Process in GetObject("winmgmts:")...
is not necessary and is probably not really a good
idea. It's force-killing Explorer in order to apply
the updates. You can just reboot to do that.
Commenting out that section would at least
narrow down your search for the problem.



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
open a file, wait for user to amend file, close & process PowerShell
multiselect file open dialog that supports long file names VB Script
Create New folder, move file, delete file. Explorer Freeze General Discussion
file icons dont match contents-file names hidden Vista file management
coping file from a remote file share - FILE IS NO LONG THERE bogus error message Vista networking & sharing


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