Results 1 to 10 of 10

Thread: NT to XP

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    NT to XP

    I changed my OS from NT to XP now my app gives me an error...

    "Object Collection: Couldn't find item indicated by text"

    any suggestions?


    thanks,
    eye

  2. #2
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    yes. show us your code
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  3. #3
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    No, until you post some of your code.

  4. #4

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    please, no laughing at my code...I use ADO now! it's bombing out when it calls my SP...


    On Error GoTo jobcosterr
    Dim mperm As String
    totot = 0
    totreg = 0
    mperm = "N"
    If permanent Then mperm = "Y"

    Set rdoqor = New rdoQuery
    rdoqor.SQL = "{Call LAM.sp_lam_build_work_totals(?,?,?,?,?,?,?)}"
    Set rdoqor.ActiveConnection = grdoOracle
    With rdoqor
    .rdoParameters(0).Type = rdTypeVARCHAR
    .rdoParameters(0).Value = gwork
    .rdoParameters(1).Type = rdTypeDATE
    .rdoParameters(1).Value = mdate
    .rdoParameters(2).Type = rdTypeINTEGER
    .rdoParameters(2).Value = memployeeid
    .rdoParameters(3).Type = rdTypeINTEGER
    .rdoParameters(3).Value = payrulehour
    .rdoParameters(4).Type = rdTypeVARCHAR
    .rdoParameters(4).Value = LogonInfo.Mx_Logon
    .rdoParameters(5).Type = rdTypeVARCHAR
    .rdoParameters(5).Value = mperm
    .rdoParameters(6).Type = rdTypeVARCHAR
    .rdoParameters(6).Value = gchosen_employee
    End With
    rdoqor.Execute

  5. #5
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    I am a bit confused: you said you use ADO now but you posted RDO stuff???!!!

  6. #6

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    on my new apps I use ADO...

  7. #7
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    Originally posted by IROY55
    I am a bit confused: you said you use ADO now but you posted RDO stuff???!!!
    perhaps this is code he wrote a while ago.... and he is saying now he uses ado.. but then he used rdo.. if that is correct then maybe the app should be upgraded to use ado?

  8. #8
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    Oh, I understand that of course, what I don't is what exactly the problem he's encountering? What line is a trouble one, etc... They almost never debug their products - just asking something like "What do you thing...?".

  9. #9
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    This isn't valid ADO "{Call LAM.sp_lam_build_work_totals(?,?,?,?,?,?,?)}"

    The whole code will need to be modified to use ADO properly.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  10. #10

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    I wished I never mentioned ADO. What I meant was that on different applications I'm using ADO, but on this app I am using RDO. I am getting the error when I call my SP. The app works fine on other OS (98, NT), but is giving me an error when it is ran on XP.


    On Error GoTo jobcosterr
    Dim mperm As String
    totot = 0
    totreg = 0
    mperm = "N"
    If permanent Then mperm = "Y"

    Set rdoqor = New rdoQuery
    rdoqor.SQL = "{Call LAM.sp_lam_build_work_totals(?,?,?,?,?,?,?)}"
    Set rdoqor.ActiveConnection = grdoOracle
    With rdoqor
    .rdoParameters(0).Type = rdTypeVARCHAR
    .rdoParameters(0).Value = gwork
    .rdoParameters(1).Type = rdTypeDATE
    .rdoParameters(1).Value = mdate
    .rdoParameters(2).Type = rdTypeINTEGER
    .rdoParameters(2).Value = memployeeid
    .rdoParameters(3).Type = rdTypeINTEGER
    .rdoParameters(3).Value = payrulehour
    .rdoParameters(4).Type = rdTypeVARCHAR
    .rdoParameters(4).Value = LogonInfo.Mx_Logon
    .rdoParameters(5).Type = rdTypeVARCHAR
    .rdoParameters(5).Value = mperm
    .rdoParameters(6).Type = rdTypeVARCHAR
    .rdoParameters(6).Value = gchosen_employee
    End With
    rdoqor.Execute

    It bombs out on the rdoqor.execute line...

    any suggestions?

    thanks,
    eye

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width