Search found 40 matches

by jimbo101974
Mon Jan 12, 2009 5:52 am
Forum: VBScript
Topic: Terminating a process
Replies: 9
Views: 2361

Terminating a process

Another update. It seems as though any process started by user name SYSTEM I cannot kill. As long as I use a process started by me it works ok. I am able to manually kill any process therefore I am quite puzzled.Thoughts?
by jimbo101974
Mon Jan 12, 2009 2:09 am
Forum: VBScript
Topic: Terminating a process
Replies: 9
Views: 2361

Terminating a process

The process does resurrect itself.Edit: I did try the script as is with my process name and again, It did find it, it just didn't terminate it.Also tried it with notepad and it would not terminate notepad either.jimbo1019742009-01-12 09:21:53
by jimbo101974
Mon Jan 12, 2009 12:58 am
Forum: VBScript
Topic: Terminating a process
Replies: 9
Views: 2361

Terminating a process

What is wrong with my script? I am able to manually terminate the process but when I run this script the process will not terminate. It does find the process, tells me it is running and asks if I'd like to kill it. I click yes but nothing happens.Dim strComputer Dim objWMIService Dim colProcesses Di...
by jimbo101974
Wed Nov 05, 2008 10:31 pm
Forum: VBScript
Topic: Writing a line in a file with quotes
Replies: 2
Views: 914

Writing a line in a file with quotes

I am using the FileSystemObject to modify a text file. The line I am adding needs quotes. I have tried the following with the described result. filetext.WriteLine("iSyntaxServer = '"129.168.128.10'") and filetext.WriteLine("iSyntaxServer = "192.168.128.10"") both result in "Expected ')' on line 29" ...
by jimbo101974
Wed Nov 05, 2008 10:31 pm
Forum: VBScript
Topic: Writing a line in a file with quotes
Replies: 2
Views: 914

Writing a line in a file with quotes

I am using the FileSystemObject to modify a text file. The line I am adding needs quotes. I have tried the following with the described result. filetext.WriteLine("iSyntaxServer = '"129.168.128.10'") and filetext.WriteLine("iSyntaxServer = "192.168.128.10"") both result in "Expected ')' on line 29" ...
by jimbo101974
Tue Nov 04, 2008 10:55 pm
Forum: VBScript
Topic: Modify contents of text file
Replies: 2
Views: 952

Modify contents of text file

I need to write a script that modifies the contents of a text file. It is actually an ini file if that makes a difference. I am not even sure where to start.

The ini file contains 2 IP addresses which I need to change on the fly. Can someone help get me started?
by jimbo101974
Tue Nov 04, 2008 10:55 pm
Forum: VBScript
Topic: Modify contents of text file
Replies: 2
Views: 952

Modify contents of text file

I need to write a script that modifies the contents of a text file. It is actually an ini file if that makes a difference. I am not even sure where to start.

The ini file contains 2 IP addresses which I need to change on the fly. Can someone help get me started?
by jimbo101974
Fri Aug 01, 2008 1:50 am
Forum: VBScript
Topic: modifying an xml tag
Replies: 3
Views: 1346

modifying an xml tag

Perfect thank you. I knew it had to be much easier than the information I was finding online.
by jimbo101974
Thu Jul 31, 2008 10:14 pm
Forum: VBScript
Topic: modifying an xml tag
Replies: 3
Views: 1346

modifying an xml tag

Hello all Wondering if someone out there can help me with a problem I am having. I have an xml file that contains a tag called <SERIESNUMBER>. Within that tag there is a number. I am trying to write a script to change that number. I have been unsuccessful in finding any information describing this. ...
by jimbo101974
Thu Jul 31, 2008 10:14 pm
Forum: VBScript
Topic: modifying an xml tag
Replies: 3
Views: 1346

modifying an xml tag

Hello all Wondering if someone out there can help me with a problem I am having. I have an xml file that contains a tag called <SERIESNUMBER>. Within that tag there is a number. I am trying to write a script to change that number. I have been unsuccessful in finding any information describing this. ...