Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mangeek

    Search TXT file for a Phrase and run IF THEN statement

    After Playing with it i got it to work... Just had to fix a ID 10 T Error... Apparently i was having a blond moment... Thanks everyone for your help!!! Much Appreciated!!! BTW, Here is the Finished Code to do a search and install of Microsoft Office 2010... Set objFSO =...
  2. mangeek

    Search TXT file for a Phrase and run IF THEN statement

    Ok that almost works but if you use this then it just install or quits... So in this statement If InStr(sReadAll, sSearchString) > 0 Then objshell.run Chr(34) & "\\Servername\directory\setup.exe" & Chr(34) The program goes on to install... If you use this statement If InStr(sReadAll...
  3. mangeek

    Search TXT file for a Phrase and run IF THEN statement

    HI all i need a script in VB that will do the following... Search for phrase "Microsoft Office Proof (English) 2010" In TXT file "\\servername\directory\software.txt" If phrase = "Microsoft Office Proof (English) 2010" Then Stop Script Else Run "\\Servername\directory\setup.exe"...

Part and Inventory Search

Back
Top