Jump to content

joecool2005

Members
  • Posts

    245
  • Joined

  • Last visited

Posts posted by joecool2005

  1. Hi,When I put this <%@ Language=JavaScript%> on my code , the following function in ASP does not work. This function is use to write text on text file.How can I fix it?<%sub writeLog(text) Dim objFSO, objFile Set objFSO=Server.CreateObject("Scripting.FileSystemObject") Set objFile=objFSO.OpenTextFile("log.txt", 8, True) objFile.WriteLine(text) objFile.Close Set objFile=Nothing Set objFSO=Nothingend sub%>

  2. This an example of the text area:----------------------------------------------------------------------------------------------------------------Our site is full of information about our personal income tax products including Frequently Asked Questions, a product tour and tax links. Click here to learn more about UFile Online product.Click here to read about more about UFile for Windows.If you cannot find your answer on the UFile Web site, please feel free to use this query form. ----------------------------------------------------------------------------------------------------------------if I write like, it works----------------------------------------------------------------------------------------------------------------Our site is full of information about our personal income tax products including Frequently Asked Questions, a product tour and tax links. Click here to learn more about UFile Online product. Click here to read about more about UFile for Windows. If you cannot find your answer on the UFile Web site, please feel free to use this query form.----------------------------------------------------------------------------------------------------------------

  3. When I have this html line<input type="text" name="Using" value="windows" projectId="-214748631" folderId="-2147483608">How can I get the projectId and folderId on my asp page?Can I use the Request.Form ou Request.QueryString to get those attributes?thx

  4. Hi,When I have an error on my image, how can I replace it with another image?(I want to replace image.gif with another one)<img src="image.gif" onerror="alert('The image could not be loaded.')"> thx

  5. Hi,When the user click on the back button on the browser, how do you clear the data on a form and make a session expired?I used this but it did not work on firefox.Response.AddHeader("pragma","no-cache");Response.AddHeader("cache-control","private");Response.CacheControl = "no-cache"; Response.Expires = -1; Thx

  6. Try this example html code<a href="java script:void(0)" onclick="window.open('https://secure.drtax.ca/ufileshop/2006/storespec.asp')">2006</a><a href="java script:void(0)" onclick="window.open('https://secure.drtax.ca/ufileshop/2005/storespec.asp?taxyear=2005')">2005</a>Click on 2006 first, a child window will open and you will see a line written "UFile 2006 for Windows". Then close the child window and click on 2005. You are suppose to see a line written "UFile 2005 for Windows". That's not the case. It showed "UFile 2006 for Windows" because of the session variable Session("year") is still alived. Both link you use the same global.asaIf you close all the windows et redo the same exercice this time by clicking on 2005 first you will see "UFile 2005 for Windows" for both link.Thx for your help

  7. I have created a page that calls ServiceWeb = "https://wwwd.tp1.mrq.gouv.qc.ca/t3services/T3Roi029.wsdl"Set soapClient3 = CreateObject("MSSOAP.SoapClient30")Call soapClient3.MSSoapInit(ServiceWeb, "", "", "")It works fine on my local machine. But when I deployed on the server, it gave me this errorWSDLReader error '80020009' WSDLReader:XML Parser failed at linenumber 1, lineposition 0, reason is: No data is available for the requested resource. HRESULT=0x1: Incorrect function. - WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect. - Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect. Can anyone help me?ThxJoe

  8. Hi,By calling this functionxmlDoc.load("note.xml")I want to know, if the function above will display on the screen the content of "note.xml"?If no, what it does?Thx Joe

  9. Hi,I have text box like this-----------------------------------------------------------------------------<table width="700"><tr><td ><input type="text" name="a1"></td><td ><input type="text" name="a2"></td><td ><input type="text" name="a3"></td><td ><input type="text" name="a4"></td></tr><tr><td ><input type="text" name="b1"></td><td ><input type="text" name="b2"></td><td ><input type="text" name="b3"></td><td ><input type="text" name="b4"></td></tr></table>-----------------------------------------------------------------------------How can I loop through all text box? Do I have to change the name for each text box to loop easier?ThxJoe

×
×
  • Create New...