VB6 created program will not run in XP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave

    #1

    VB6 created program will not run in XP

    I created a program using VB6 under WIN 98. The program uses an ado
    database.
    When I use the package and deployment program in VB6 on this program
    and then install it on a machine with XP Pro on it, I get the Provider
    can not be found error..

    Any Ideas....I Hope
  • David Rice, Esq.

    #2
    Re: VB6 created program will not run in XP

    On Tue, 05 Jul 2005 18:02:19 GMT, Dave <dawich@earthli nk.net> wrote:
    [color=blue]
    >I created a program using VB6 under WIN 98. The program uses an ado
    >database.
    >When I use the package and deployment program in VB6 on this program
    >and then install it on a machine with XP Pro on it, I get the Provider
    >can not be found error..
    >
    >Any Ideas....I Hope[/color]

    You must download and install from the Microsoft web site the ado
    (Microsoft ActiveX Data Objects) package.
    http://www.microsoft.com/data/ado

    Comment

    • David Rice, Esq.

      #3
      Re: VB6 created program will not run in XP

      On Tue, 05 Jul 2005 18:02:19 GMT, Dave <dawich@earthli nk.net> wrote:
      [color=blue]
      >I created a program using VB6 under WIN 98. The program uses an ado
      >database.
      >When I use the package and deployment program in VB6 on this program
      >and then install it on a machine with XP Pro on it, I get the Provider
      >can not be found error..
      >
      >Any Ideas....I Hope[/color]

      P.S. Which provider is the program using? If the program is using a
      ODBC Data Service Name, you will have to install the ODBC driver and
      make a DSN entry under Windows XP's control panel, ODBC applet.

      Comment

      • argusy

        #4
        Re: VB6 created program will not run in XP

        I've already had that problem. changing my code to use Jet4.0 instead of Jet3.1
        when accessing an access database fixed that.

        If that fixes your problem, then you may get another if you're using datareports

        Now, if I could only find which visual basic .dll that's NOT installed with XP,
        I might fix the datareport problem....... (which, btw, appears as error 713)

        The microsoft MSDN fix? .... doesn't....
        BUT, VB installed over XP - problem disappears.
        SO... install VB on 26 XP computers?
        don't think so - I've only the one licence

        Argusy


        Dave wrote:[color=blue]
        > I created a program using VB6 under WIN 98. The program uses an ado
        > database.
        > When I use the package and deployment program in VB6 on this program
        > and then install it on a machine with XP Pro on it, I get the Provider
        > can not be found error..
        >
        > Any Ideas....I Hope[/color]

        Comment

        • Dikkie Dik

          #5
          Re: VB6 created program will not run in XP

          Dependency walker is part of visual studio (and can be downloaded as
          well). That utility shows which DLLs your compiled application uses.

          Best regards

          argusy wrote:[color=blue]
          > I've already had that problem. changing my code to use Jet4.0 instead of
          > Jet3.1 when accessing an access database fixed that.
          >
          > If that fixes your problem, then you may get another if you're using
          > datareports
          >
          > Now, if I could only find which visual basic .dll that's NOT installed
          > with XP, I might fix the datareport problem....... (which, btw, appears
          > as error 713)
          >
          > The microsoft MSDN fix? .... doesn't....
          > BUT, VB installed over XP - problem disappears.
          > SO... install VB on 26 XP computers?
          > don't think so - I've only the one licence
          >
          > Argusy
          >
          >
          > Dave wrote:
          >[color=green]
          >> I created a program using VB6 under WIN 98. The program uses an ado
          >> database.
          >> When I use the package and deployment program in VB6 on this program
          >> and then install it on a machine with XP Pro on it, I get the Provider
          >> can not be found error..
          >>
          >> Any Ideas....I Hope[/color]
          >
          >[/color]

          Comment

          • argusy

            #6
            Re: VB6 created program will not run in XP

            Thanks for that. Time for more downloading....
            Graham AKA argusy

            Dikkie Dik wrote:[color=blue]
            > Dependency walker is part of visual studio (and can be downloaded as
            > well). That utility shows which DLLs your compiled application uses.
            >
            > Best regards
            >
            > argusy wrote:
            >[color=green]
            >> I've already had that problem. changing my code to use Jet4.0 instead
            >> of Jet3.1 when accessing an access database fixed that.
            >>
            >> If that fixes your problem, then you may get another if you're using
            >> datareports
            >>
            >> Now, if I could only find which visual basic .dll that's NOT installed
            >> with XP, I might fix the datareport problem....... (which, btw,
            >> appears as error 713)
            >>
            >> The microsoft MSDN fix? .... doesn't....
            >> BUT, VB installed over XP - problem disappears.
            >> SO... install VB on 26 XP computers?
            >> don't think so - I've only the one licence
            >>
            >> Argusy
            >>
            >>
            >> Dave wrote:
            >>[color=darkred]
            >>> I created a program using VB6 under WIN 98. The program uses an ado
            >>> database.
            >>> When I use the package and deployment program in VB6 on this program
            >>> and then install it on a machine with XP Pro on it, I get the Provider
            >>> can not be found error..
            >>>
            >>> Any Ideas....I Hope[/color]
            >>
            >>
            >>[/color][/color]

            Comment

            • argusy

              #7
              Re: VB6 created program will not run in XP

              FOUND IT!!

              MSDERUN.DLL

              When I originally used the Package and Deployment wizard, MSDERUN.DLL wasn't
              included (it SHOULD have been). W95, W98 and W2000 in succession in the last
              couple of years, didn't give a damn, and I didn't know it was missing -
              everything worked!!

              First installation on an XP machine about three months ago - no DE reports.
              (error 713).

              Find out about it on Google. Lots of others reporting this error as well.

              Microsoft had the error on ID248055, but their fixes didn't fix it. It did
              mention the MSDERUN.DLL, though.

              I checked the "support" files on both deployment packages and it showed
              MSDERUN.DLL was not included in the support files.

              P&D again, and I manually included MSDERUN.DLL (but from the C:\windows\syst em
              folder). Bells should have gone off then, because it responded with a "no
              dependancies" message, and I added it with no dependancy info.
              (Then forgot about it)

              No, still not working

              After several weeks of trying other fixes, one of the long-shot fixes I tried
              was to register MSDERUN.DLL. Nup!!

              It wasn't until I re-packaged another program today (which DID include the
              MSDERUN.DLL) and installed it on my XP, that the "Run time error 713" went away.

              OK - back to problem child. Run the P&D and re-install. Nup!!

              I re-ran the P&D on the working package and noted where it was sourcing
              MSDERUN.DLL.
              When I re-ran the P&D on the faulty package, I manually added it, using that
              (Correct?) source..
              This time I didn't get a "No dependancies" message.

              After installation on the XP, the program was working properly!!!

              Bugger!!

              That will teach me not to pick files out of the system folder in future
              (But why didn't the P&D automatically grab it from the right folder in the first
              place, five years ago?)

              Argusy



              Dikkie Dik wrote:[color=blue]
              > Dependency walker is part of visual studio (and can be downloaded as
              > well). That utility shows which DLLs your compiled application uses.
              >
              > Best regards
              >
              > argusy wrote:
              >[color=green]
              >> I've already had that problem. changing my code to use Jet4.0 instead
              >> of Jet3.1 when accessing an access database fixed that.
              >>
              >> If that fixes your problem, then you may get another if you're using
              >> datareports
              >>
              >> Now, if I could only find which visual basic .dll that's NOT installed
              >> with XP, I might fix the datareport problem....... (which, btw,
              >> appears as error 713)
              >>
              >> The microsoft MSDN fix? .... doesn't....
              >> BUT, VB installed over XP - problem disappears.
              >> SO... install VB on 26 XP computers?
              >> don't think so - I've only the one licence
              >>
              >> Argusy
              >>
              >>
              >> Dave wrote:
              >>[color=darkred]
              >>> I created a program using VB6 under WIN 98. The program uses an ado
              >>> database.
              >>> When I use the package and deployment program in VB6 on this program
              >>> and then install it on a machine with XP Pro on it, I get the Provider
              >>> can not be found error..
              >>>
              >>> Any Ideas....I Hope[/color]
              >>
              >>
              >>[/color][/color]

              Comment

              • ishtangli
                New Member
                • Jul 2005
                • 1

                #8
                Created in XP and distributed on 2k

                I created a VB6 data report on a WinXP Pro system. I created the package and tried to deploy it on a Win2K system.

                "ERROR 713"

                I tried re-packaging it with MSDERUN.DLL

                "ERROR 713"

                I tried manually installing MSDERUN.DLL at "Program Files\Common Files\Developer \"

                "ERROR 713"

                I have run out of options. I think I've done everything but install VB6 on the machine (i know it would work then but that's cheating).

                HELP ME OUT PLEASE

                ~ishtangli

                Comment

                Working...