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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by vsantoro

  1. vsantoro

    javascript help

    thank you, that was it.
  2. vsantoro

    javascript help

    sure here you go <html> <head> <title>test?</title> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> var points = 0, nr_questions = 4; var answers = new Array(); answers[0] = new Array(2);answers[0][0] = '10';answers[0][1] = 'test ! Contratulations'; answers[1] = new...
  3. vsantoro

    javascript help

    can someone help. its a little quiz script. it loads first question but wont load second question after you click. <?php include("config.php"); $sql_q = "SELECT * FROM questions"; $res_q = mysql_query($sql_q); $nr_questions = mysql_num_rows($res_q); ?> <html> <head> <title><?=$TITLE?></title>...
  4. vsantoro

    create object with wildcard.

    i can get the xls filename (code below), but dont know how to assign it to objworkbook strFolder="C:\Tmp" Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.GetFolder(strFolder) Set colFiles = objFolder.Files 'Loop for Each objFile in colFiles if...
  5. vsantoro

    create object with wildcard.

    there will be only 1 xls in that folder, i know because im running code in the beginning to check that folder and delete all xls before new one is generated. 'delete any xls files in Tmp directory Const DeleteReadOnly = True Set objFSO = CreateObject("Scripting.FileSystemObject")...
  6. vsantoro

    create object with wildcard.

    currently using this code... Set objExcel = CreateObject("Excel.Application") Set objWorkbook = objExcel.Workbooks.Open _ ("C:\Tmp\default.xls") want to use wildcard like this.. Set objExcel = CreateObject("Excel.Application") Set objWorkbook = objExcel.Workbooks.Open _...
  7. vsantoro

    vbscript to execute macro in excel

    This is what I have so far for code. The script goes online, click a button to generate an xls file, the file is in Tmp folder, it grabs the file and saves it to a created directory. then closes excel. It then opens the saved xls file up. At this point I have a large macro to be run against the...
  8. vsantoro

    vbscript / sql

    I created a sql server odbc connection, tested and works. I am using this data exporter code i got online to run a sql query in sql server via vbscript and export to a csv file. But I keep getting error.. line 47 char 2 provider is not specified and there is no designated default provider...

Part and Inventory Search

Back
Top