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 Mike Lewis 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. vincentius

    How to connect to SQL Server 7.0 from VFP 6.0/7.0

    All, How to connect to SQL Server 7.0 from VFP 6.0 or higher ? What is the connection string ? Give me some example if any. Thanks, Vincent.
  2. vincentius

    OnClick Command

    Andel, Maybe you can try this snippet code: <% ' For example the file name is thissite.asp act = request(&quot;act&quot;) if isEmpty(act) then act = &quot;act1&quot; end if select case act case &quot;act1&quot; act1 case &quot;confirm&quot; confirm end select sub act1 %> <form...
  3. vincentius

    How to Download file ?????

    B827, Hi, Thanks for your help. But I still confuse with the command : - objExcel.ActiveSheet.Cells(i + 1, 1 ) = &quot;Wk No&quot; & rs(&quot;WEEK_NO&quot;) What is 'i + 1' means? does it indicate a column? What about 1? - objExcel.ActiveSheet.Range(&quot;A1:A1&quot;).Value = &quot;Week...
  4. vincentius

    How to Download file ?????

    All, Hi, after I use query in my database, I want to write it in a text file or .xls file or maybe .csv file. How to do it? And after that How to download it or attach to send it through e-mail? A snippet code would be helpful. Thanks, Vincent.
  5. vincentius

    radio buttons and asp

    georgeous, Try this, trial.asp <html> <head> <title>Untitled</title> </head> <body> <form action=&quot;trial.asp&quot; method=&quot;post&quot;> <input type=&quot;radio&quot; name=&quot;test&quot; value=&quot;fish&quot;>Fish<br> <input type=&quot;radio&quot; name=&quot;test&quot...
  6. vincentius

    Header Error

    Hi All, I try to use response.redirect but why does this error happen? -- ERROR -- Response object error 'ASP 0156 : 80004005' Header Error /wtsrv/reportwwmm/rep_ww.asp, line 251 The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before...
  7. vincentius

    How to call Seagate Crystal Report with parameter?

    Thanks 1209. It works. How to connect it to MS SQL without password? Should I write : <input type=hidden name=user0 value=&quot;sa&quot;> <input type=hidden name=password0 value=&quot;sa&quot;> OR <input type=hidden name=user0 value=&quot;sa&quot;> Thanks, Vincent.
  8. vincentius

    How to call Seagate Crystal Report with parameter?

    Hi all, How to call Seagate Crystal Report from ASP with some parameters? Thanks, Vincent.
  9. vincentius

    Call Stored Procedure in MS SQL Server

    link 9, I try the code you give to me, but it still generates the same error. Why? Thanks, Vincent.
  10. vincentius

    Call Stored Procedure in MS SQL Server

    Hi all, How to call a stored procedure in MS SQL Server from an ASP. I try this code, but it's generate an error. Code: set rs = conn1.execute(&quot;TEMaster.dbo.CP_PtBrg &quot; & qqakh & &quot;,&quot; & usr) Error: Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC...
  11. vincentius

    How to combine ASPSmartUpload with request.form ???

    Hi all, I confuse how to use request.form while I use ASPSmartUpload.SmartUpload object?? Thanks, Vincent.
  12. vincentius

    ASP Simple Upload

    Hi, If you just wanna upload your file try this command. path = &quot;C:\project\enable disable barang\&quot; File = path & &quot;filename.ext&quot; Set fs = CreateObject(&quot;Scripting.FileSystemObject&quot;) if fs.fileExists(File) then fs.deletefile file end if Set SU =...
  13. vincentius

    Set Printer

    Hi all, How to set the page? When I try SET PRINTER TO NAME GETPRINTER() I just can set the printer, not the page. Thanks, Vincent.
  14. vincentius

    CDONES

    You may try this code: path = &quot;directory/name&quot; File = path & &quot;file name on server&quot; Set fs = CreateObject(&quot;Scripting.FileSystemObject&quot;) if fs.fileExists(File) then fs.deletefile file end if Set SU = Server.CreateObject(&quot;aspSmartUpload.SmartUpload&quot;)...
  15. vincentius

    CDONES

    You may try this code: path = &quot;directory/name&quot; File = path & &quot;file name on server&quot; Set fs = CreateObject(&quot;Scripting.FileSystemObject&quot;) if fs.fileExists(File) then fs.deletefile file end if Set SU = Server.CreateObject(&quot;aspSmartUpload.SmartUpload&quot;)...
  16. vincentius

    CDONES

    You may try this code: path = &quot;directory/name&quot; File = path & &quot;file name on server&quot; Set fs = CreateObject(&quot;Scripting.FileSystemObject&quot;) if fs.fileExists(File) then fs.deletefile file end if Set SU = Server.CreateObject(&quot;aspSmartUpload.SmartUpload&quot;)...
  17. vincentius

    Set Printer

    Hi All, How to set the printer device from the script? I used to set the printer from the report File menu | Page Setup. Can I set it through the program? Thanks, Vincent.

Part and Inventory Search

Back
Top