An interpreted scripting language developed by Microsoft that is modeled on Visual Basic

learn more… | top users | synonyms (1)

4
votes
2answers
3k views

How do I configure Firefox through a script?

I'm looking to configure the following Firefox settings through a script (VBS or batch) default home page default search engine disable auto update Is this possible?
0
votes
0answers
222 views

How to program the outlook DLs using vbscript or some other language?

Is it possible to add / remove a user from a outlook Distribution List using a program? I am not referring to the DLs in the local contacts list but the global address book. I have the permission to ...
1
vote
1answer
187 views

How do I detect if uTorrent is downloading?

I need to write a script that determines whether or not uTorrent is currently downloading something. I'd rather it just be downloading, but if I cannot differentiate between downloading and uploading ...
1
vote
0answers
197 views

Shares created via WSHNetwork.MapNetworkDrive are not visible by administrator

I have a script that maps some network drives via WSHNetwork.MapNetworkDrive - but those drives are not visible by processes running as Administrator. Is there any solution to it? (maybe some flag?) ...
0
votes
0answers
182 views

CScript Terminates before completing task

I am using the below with mods but ziping several Gb of info the last command is Wscript.sleep 2000. I have extended this to 20,000 and 200,000 but I use the script vor various diferent sizes. Is ...
1
vote
0answers
416 views

How can I create a VPN connection via a startup script?

I am trying to deploy a VPN connection to all laptops on my Domain via the startup script. It has to be done at startup and not login as the connection has to be available to all users and they don't ...
1
vote
1answer
181 views

Creating Custom Sortable datatypes in excel

I want to define a custom data type in excel 2007, a date range. Basically, it's an array of dates or smaller date ranges like: "{ 01-26-1991 , 01-01-2004 to 12-31-2004 , 12-13-2017 }" which ...
0
votes
1answer
931 views

Font rendering fails when code runs under IIS 7.0

I have a legacy ASP website with COM object running under IIS 7.0 on Windows Server 2008. This generally works great but I ran into a rather strange issue lately for which I'm unable to find a ...
0
votes
1answer
463 views

Adding everyone to local group using vbscript

What would be an alternative in vbscript to NET LOCALGROUP /ADD "Power Users" Everyone I know how to add a single group or user but Everyone isn't found.
1
vote
2answers
1k views

How can I change the name of the VBScript process, wscript.exe?

I want to run multiple scripts simultaneously, but monitoring them or detecting which has died is difficult as they are all listed as wscript.exe in the process list. How can I change the name of the ...
0
votes
2answers
1k views

vbs - 800A0401 - Expected End of Statement

The bat has >>%vbs% echo oShellLink.IconLocation = "%1, 0"to produce oShellLink.IconLocation = ""C:\WINDOWS\NOTEPAD.exe", 0"` where %1 is a quoted path However, unless I remove the ...
3
votes
1answer
1k views

Windows analog of $1 (PID of the last started process)

How to get on Windows PID of the last started process using WScript.Shell or similar? I know how to start a process and get its PID: Set oExec = WshShell.Exec( program ) Set pid = oExec.ProcessID ...
2
votes
0answers
1k views

Force 64bit WScript to run .vbs

I'm trying to run a .vbs script under 64Bit. When I run this script manually it will execute properly, but when launched by something else, it will run under 32bit and won't execute properly. Here's ...
0
votes
2answers
1k views

Search for text in web pages given a list of URLs

I have a list of several thousand URLs, and I'd like to search each of these pages for a given word. How can I do this programmatically on Windows, preferably using VBScript or Powershell?
1
vote
1answer
10k views

How to reinstall broken VBScript support on Windows XP SP3? [duplicate]

Possible Duplicate: Input Error: There is no script engine for file extension “.vbs”. VBScript support (Windows Scripting Host, as far as I understand) seems to be been broken ...
2
votes
1answer
1k views

Set paper size of Zebra TLP 2844 programmatically

I have a lot of Zebra TLP 2844 printers used by domain users. Unluckily by default the paper size is 2" x 4" while I need to have 4" x 3". The first time each user logs on I have to change manually ...
2
votes
1answer
826 views

How can I give a VBS script access to run without opening a security hole in IE?

I'm currently working on an application that basically sits on top of IE. This program is used on Windows XP and Windows 7 laptops in police cars. The program has a number of VB scripts that run, ...
0
votes
1answer
418 views

Run VBScript from cmd and send input to dialog

I want to launch a VBScript from a windows xp command promt enter a value to the first box that pops up from the vbsscript. What I have tried (Want to enter value 2 to the script): START CScript ...
0
votes
1answer
272 views

Vbs Message Box Alternative [C++]

I'm trying to output a oftstream with a text on it that can run as a Message box But I would like to know if there is an alternative to do this witouht .vbs. If it can be done with .exe or another ...
0
votes
1answer
669 views

Display Image With No Window

I have a scheduled task that runs on my user machines at startup that currently brings up a 'configuring your station' style message in a command prompt window that is replaced by a vbscript msgbox ...
2
votes
3answers
1k views

Powershell vs. vbs vs. bat

I need to configure few Windows 7 machines (with a wide variety of tasks - from setting up screensaver, disabling services, adding task schedule entries to setting up IPsec/firewall rules). Since ...
5
votes
3answers
8k views

Windows 7 - VBS Script to change last logged on user

With Windows XP I used to run a VBS script after using a clients computer to set their user account as the last logged on user. Unfortunately the script no longer works in Windows 7. (Resulting in ...
0
votes
2answers
93 views

Is it possible to backup shell folders in XP with VB or WSH script?

I would like to backup shell folders on my XP machine. It is useful for me because when I reinstall XP I can just restore those backed up shell folders. Can you guys get me started or point me in the ...
5
votes
1answer
537 views

Executables in Windows 7 Giving Profane Error Message

Last night I was called by a friend of mine complaining that he'd somehow severely screwed up Firefox . Every time he clicked on the desktop icon, the following error message popped up: When it hit ...
0
votes
1answer
179 views

Find excel worksheet with vb script

Is there a way in windows vista to search for an excel 2007 workbook that contains a certain vbscript (or filter those files that contain any Vb script ?).
0
votes
0answers
207 views

Outlook 2003 pops up error dialog with “Script Error”, “Line 29”, “Position 129” and no useful info

So I sit at my computer working on something in a totally different program, and spontaneously a dialog box appears with the title "Script Error" and message text: Script Error Line 29 Position 129 ...
3
votes
3answers
4k views

Dismount a usb volume form command-line

How do I unmount a volume (USB flash drive) via command-line or Visual Basic script?
0
votes
1answer
243 views

Applescript to Windows script (VB or java)

I want to have a button in Powerpoint (2003) and have it open iTunes to a specific playlist and start playing using AppleScript tell application "iTunes" play playlist "iTunes DJ" end tell ...
2
votes
1answer
4k views

VB script + get permission denied when copy file (on XP)

I have win XP , my target is to copy the file.dbf from local dir to c:\oracle directory ( by VB script described below) The problem is that I get permission denied (from the VB script output) Please ...
2
votes
4answers
397 views

help … virus ? compromised ? (aarama.net)

Help me please identify whether my computer is compromised or not. I'm not yet sure what this is.. I'm still browsing through some JavaScript (my level = beginner) files I found during my ...
1
vote
1answer
1k views

Intercept a Windows XP logoff or shutdown with a custom message

When a users logs out of their computer, I would like a way of displaying a message to them asking if they remembered to set their out of office and email forwarding, I'd like to give them the chance ...
0
votes
1answer
1k views

Launch IE and Wait for it to be closed

I'm trying to use VBScript to launch a web form that requires the user to fill it out and then at the end of it, check whether they completed the form or cancelled out. I do not have control over the ...
1
vote
1answer
2k views

Error 800A01AD in VBScript on Windows Vista 64bit when create ActiveX object

I write script in VBScript for converting images. It use ImageMagic ActiveX. I write this script in Windows XP, it's run normaly, the same with Windows Vista 32bit, but in 64bit I have 800A01AD error ...
2
votes
2answers
3k views

Windows Script Host Error Dialog Popups in the morning

A few days ago when I resume my computer from sleep mode in the mornings I would see an error dialog from "Windows Script Host" that read: "There is no script engine for file extension ".vbs". I am ...
0
votes
1answer
2k views

Excel / VBscript: Need to sort columns with a header

I have a vbsctipt that opens an Excel(2007) document copies the used range from two sheets (minus the header on sheet 2) puts it all on 3rd sheet. I then need to sort that data using the header. I ...
2
votes
1answer
1k views

Checking VBScript for syntax errors without actually running the script

I have a script in VBScript. I'm not sure if it contains any syntax errors or other non-runtime errors. Normally I would just run the script, but I don't want the script to actually run because the ...
3
votes
4answers
8k views

Input Error: There is no script engine for file extension “.vbs”

I keep getting it in command prompt, any idea why and how I may resolve the issue? Windows 7 Ultimate 32-Bit
0
votes
1answer
250 views

Active Directory VBS Script for Auditing a Presentation

Can anyone help me with this VBS script? Thanks in advance. User logs in to a XP computer and a PowerPoint presentations or web page starts They read through the presentation and then click a links ...
0
votes
0answers
512 views

Script for run script on vbs

Hello everybody I have a script on vbscript Dim WSHShell, WinDir, Value, wshProcEnv, fso, Spath Set WSHShell = CreateObject("WScript.Shell") Dim objFSO, objFileCopy Dim strFilePath, strDestination ...
0
votes
2answers
3k views

Center text in Word document

I am working on a script that creates a Word document, but I cannot get the text to be center aligned. Here is an example of the code I'm using. (VBScript) set objword = ...
0
votes
1answer
3k views

How to lookup an IP address in an Excel spreadsheet?

I'm working with a decent sized spreadsheet of domains and server names. Another user of the spreadsheet needs the IP address for each of the DNS entries on the worksheet. Instead of manually adding ...