Quantcast
Channel: Kyocera
Viewing all articles
Browse latest Browse all 69

Invalid Script File Error

$
0
0
In the attached zip file are the following files:
  
1) SearchDB.vbs - The VBScript file for use in the SearchDB CFG file.
2) SearchDB.cfg
3) Clients.mdb - The database file for testing.
4) SA_SearchDB2.vbs - A stand alone version of the VBScript file used for testing. It uses the WScript.Echo command to display the values found. It returns ALL of the names in the database.
5) SA_SearchDB3.vbs - A stand alone version of the VBScript file used for testing. It uses the WScript.Echo command to display the values found. It returns ONLY the full names in the database when the FirstName matches theFilterPhrase.
  
Everything should go into C:\VBScripts
  
The two stand alones work perfect, just put everything into the above path and double click on either VBS file. However, the KYOcapture version (SearchDB.vbs) produces an "Invalid Script File" error when I try and add it to the CFG file... Why? It seems to be constructed properly.  
  
Thank you for your help.
  
David Beauchamp

Viewing all articles
Browse latest Browse all 69

Trending Articles