Tagged Questions
0
votes
0answers
42 views
POP3 Email Setup using VB Script - WIndows Live Mail
Good Day,
During the good old Windows XP days we had Outlook Express (OE). When using Outlook Express, I was able to provide a very simple OE POP3 setups script for employees. This prevented me from ...
0
votes
1answer
5k views
How to read from a text file using VBScript?
I am looking to see a simple way to read from and write to a text file using VBScript.
I think this is an acceptable method for writing to a file.
Dim f,
Dim fso
Set fso = ...
-2
votes
2answers
441 views
Need help for configuring COM+ Service programmatically using C# or script
Is it possible to programmaticaly configure COM+ service.
I need to do the following using C# or any script
Open Administrative Tools -> Component Services
Expand Components Services -> My ...
7
votes
1answer
239 views
Display a drop-down/combo box in VB Script
I'm trying to create a drop-down/combo box in VB Script. As per my understanding we need to create an instance for Internet Explorer and create a drop-down/combo box, something like this:
set oIE = ...
-1
votes
1answer
76 views
Monitor Drive. Using VB Script
I want to monitor a drive for file changes, using VBScript. I have the below code. It works fine for InstanceCreationEvent and InstanceDeletionEvent. But InstanceModificationEvent is not happening. ...
0
votes
2answers
129 views
How to write a ping to a text file using VBS
If I am using VBS to run some CMD commands, in this example ping, how could I write the command to a text file using VBS not DOS?
Set objCmdTest = WScript.CreateObject ("WScript.Shell")
Set Output = ...
0
votes
1answer
47 views
Rename a vbscript process
When we run a *.vbs file, in processes, we used to get "wscript.exe". We can change this "wscript.exe" to our custom name by creating a shortcut and executing the shortcut.
Is it possible to display ...
7
votes
3answers
109 views
Updating values from external workbook automaticly
I have the following workbook setup:
Workbook A has a link to x amount of workbook B's and fetches data from them. The workbooks B have links to some other workbooks and fetches data from them.
...
0
votes
1answer
163 views
Call VBScript With Return Value on Remote Machine With Powershell
I need to call a remote VB script from Powershell, and the VB script needs to run on the remote machine.
I have been using \$computer\root\cimv2:Win32_Process").Create(C:\test.vbs)
This works, ...
0
votes
2answers
38 views
Install after download within a script?
I would like to download an msi and install it, all silently within a script. I wanted to try something like start iexplore.exe http://domain.com/file.msi /qnbut unfortunetaley, it will just download ...
0
votes
1answer
35 views
Downoading then installing through batch- how do I download then silently install an msi?
I know how to silently install an msi by using /qn. I also know how to download something just by using the command start http://www.domain.com/file.exe. But how do I put these two together in a ...
0
votes
2answers
51 views
How to exit all the VB Scripts which was started by me
I have two VB Scripts, say First.vbs and Second.vbs.
First.vbs calls Second.vbs each time some action/event happens.
I want to write a new VB Script, say Third.vbs, which terminates all the ...
0
votes
1answer
127 views
My automatic phonegap installer needs jdk download with wget, I have it working in command prompt but not in .hta file
I have written a vbscript based .hta installer to install PhoneGap/Cordova automatically with all the pre-requisites(ant/jdk/bada sdk etc). Its almost done but I am stuck at the part where I need to ...
1
vote
2answers
146 views
Send mail using VB Script?
I have the following code to monitor a drive. Now I an getting Echo for each file creation or deletion event.
Is there and way to modify the WScript.Echo to send a mail notification?
strDrive = "c"
...
-1
votes
2answers
89 views
why wont objshell work [closed]
Set objFSO=CreateObject("Scripting.FileSystemObject")
outFile="C:\Program Files\number2.vbs"
Set objFile = objFSO.CreateTextFile(outFile,True)
objFile.WriteLine "Set objWshShell = ...