Need help with an error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stobenhaf
    New Member
    • Jan 2007
    • 2

    Need help with an error

    I'm getting the famous error 91, but in a way I've never seen. I built a form to handle our work order system via SQL and included it in a project I had already started. The compiled project works fine on my development machine and the laptop with VB6 enterprise on it, but when I attempt to use it on a machine that doesn't have VB6 installed, it doesn't work. Everything else works except for the SQL form. Am I missing a DLL or some necessary file?

    When the form comes up it's supposed to display the first record, but on the other machines the fields are just blank. As soon as I hit the new record, save record, or delete record button, I get the ERR 91 message. Like I said, no such problems on the machines with VB6.

    I need to get this added soon.

    Thanks
  • iburyak
    Recognized Expert Top Contributor
    • Nov 2006
    • 1016

    #2
    You are missing DLLs.
    To know which DLLs you go to:
    1. Project - References and click on checked items you will see which DLLs are referenced.
    2. Project - Components do the same as above.

    DLLs must be registered on other machine.

    Good Luck.

    Comment

    • willakawill
      Top Contributor
      • Oct 2006
      • 1646

      #3
      Originally posted by stobenhaf
      I'm getting the famous error 91, but in a way I've never seen. I built a form to handle our work order system via SQL and included it in a project I had already started. The compiled project works fine on my development machine and the laptop with VB6 enterprise on it, but when I attempt to use it on a machine that doesn't have VB6 installed, it doesn't work. Everything else works except for the SQL form. Am I missing a DLL or some necessary file?

      When the form comes up it's supposed to display the first record, but on the other machines the fields are just blank. As soon as I hit the new record, save record, or delete record button, I get the ERR 91 message. Like I said, no such problems on the machines with VB6.

      I need to get this added soon.

      Thanks
      Is the SQL referencing a DSN?

      Comment

      • diSangro
        New Member
        • Jan 2007
        • 69

        #4
        Sure you included reference to :
        Microsoft ActiveX Data Objects 2.x Library
        I hope it's just this!
        Bye ...

        Originally posted by stobenhaf
        I'm getting the famous error 91, but in a way I've never seen. I built a form to handle our work order system via SQL and included it in a project I had already started. The compiled project works fine on my development machine and the laptop with VB6 enterprise on it, but when I attempt to use it on a machine that doesn't have VB6 installed, it doesn't work. Everything else works except for the SQL form. Am I missing a DLL or some necessary file?

        When the form comes up it's supposed to display the first record, but on the other machines the fields are just blank. As soon as I hit the new record, save record, or delete record button, I get the ERR 91 message. Like I said, no such problems on the machines with VB6.

        I need to get this added soon.

        Thanks

        Comment

        Working...