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 codefinger

  1. codefinger

    disable bind syntax

    One of my PB6 applications is getting the following error intermittently during a save operations: ORA-01475 must reparse cursor to change bind variable datatype So I set out to change the ini file to disable the bind. The user's are still getting the error message. Have I got the syntax...
  2. codefinger

    VB6 Binary Upload to WebService Corrupts File -- Why?

    Attempting to upload binary image files from a VB6 application to a VB.Net web service, I am using the following code, which seems to work ok for a jpg file, but not for a tif file. With the tif file, I try to remove the last equals signs (assuming they don't belong in the file, but then I...
  3. codefinger

    How to upload binary file to webservice?

    I am trying to write a webservice that will be called from a VB6 program using something like: xSendParms = "iBinStream=" & iBinStream & "&" xSendParms = xSendParms & "iDirectory=" & iDirectory & "&" xSendParms = xSendParms & "iName=" & iName...
  4. codefinger

    Prevent user from restarting computer during background process

    >>Another alternative may be to capture the log off/shutdown command and abort it until your process has finished (like if you have Microsoft Office open and you try to shutdown you get a message telling you to quit all Microsoft applications first). << Can you provide an example of how this...
  5. codefinger

    Prevent user from restarting computer during background process

    VB 6.0 on W2000 computer: I want to at least warn the user that a background process is not complete before allowing them to log off or restart the computer. I have researched enough to come up with the following code: Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)...
  6. codefinger

    Can't get my cookies to work

    I tried it, but I get an &quot;object required&quot; error on that line. I have posted the code to http://www.bytesizedsystems.com/aspfiles/default.asp Maybe you can see what I am doing wrong? Thanks.
  7. codefinger

    Can't get my cookies to work

    IN DEFAULT.ASP Sub window_onload Dim ls_cookie ls_cookie = &quot;<%=Request.Cookies(&quot;username&quot;)%>&quot; frmAR.textuserid.innerText = ls_cookie End Sub ..Allows user to submit a form to DIRECTOR.ASP, which contains the following: <%@ Language=VBScript%> <%...
  8. codefinger

    Cookies not being written

    <%@ Language=VBScript%> <% Response.Buffer = true Response.Expires=0 Response.Cookies(&quot;userinfo&quot;)(&quot;username&quot;) = Request.Form.Item(&quot;textuserid&quot;) %> <html> <head> <META name=VI60_defaultClientScript content=VBScript>...
  9. codefinger

    Cookies not being written

    Objective: If the cookie exists for the username, fill in the user id name on the form on default.asp. Store the user name as a cookie when the form is submitted. Please reference http://www.bytesizedsystems.com/aspfiles/default.asp for my code. I know my cookies are turned on since I visit...
  10. codefinger

    Linking PowerBuilder 6.5 to Excel Spreadsheet

    Although I can connect successfully and see the table, when I attempt to preview the data in design view, the MS ODBC driver returns s1001, &quot;too many fields defined.&quot; The number of fields in the worksheet is only 32. Also, when I choose Alter Table from design view, each of the...
  11. codefinger

    posting to a secure web form from VB

    From the VB article that's guiding me: >> HttpSendRequest returns a value not equal to zero if it fails, so code like this is all it takes to send data to a CGI form handler. Call the API, passing your data and the length of the string containing the data. This code uses the m_cPostBuffer...
  12. codefinger

    posting data to web form from VB

    From the VB article that's guiding me: >> HttpSendRequest returns a value not equal to zero if it fails, so code like this is all it takes to send data to a CGI form handler. Call the API, passing your data and the length of the string containing the data. This code uses the m_cPostBuffer...
  13. codefinger

    InternetConnect ALWAYS returns success

    Thank you, now I have the opposite problem. This code always says I am NOT connected, even while I am (through my cable modem.) I set a break here: RetVal = RasGetConnectStatus(TRasCon(0).hRasCon, Tstatus) If Tstatus.RasConnState = &H2000 Then IsConnected = True...
  14. codefinger

    InternetConnect ALWAYS returns success

    Declare Function InternetConnect _ Lib &quot;wininet.dll&quot; Alias &quot;InternetConnectA&quot; ( _ ByVal hInternetSession As Long, _ ByVal sServerName As String, _ ByVal nServerPort As Integer, ByVal sUsername As String, _ ByVal sPassword As String, ByVal lService As Long, _...

Part and Inventory Search

Back
Top