473,394 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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
Jul 17 '05 #1
7 18586
On Tue, 05 Jul 2005 18:02:19 GMT, Dave <da****@earthlink.net> wrote:
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


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

Jul 17 '05 #2
On Tue, 05 Jul 2005 18:02:19 GMT, Dave <da****@earthlink.net> wrote:
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


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.

Jul 17 '05 #3
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:
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


Jul 17 '05 #4
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:
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:
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


Jul 17 '05 #5
Thanks for that. Time for more downloading....
Graham AKA argusy

Dikkie Dik wrote:
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:
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:
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



Jul 17 '05 #6
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\system
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:
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:
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:
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



Jul 21 '05 #7
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
Jul 31 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: jimjim | last post by:
Hello, 1. As the subject sugests, are the objects created in the stack guarranted to have been created? 2. How can I verify this? (e.g. for objects created in the heap A *a = new A one can...
3
by: Joerg Toellner | last post by:
Dear Group, i have a self written c++-class that is used in many projects from many programmers. The functionality of this class requests, for some reasons, that any instance (object) of this...
7
by: MariusI | last post by:
Are objects implicitly stored in the TLS of the currently running thread? When creating multithreaded applications i get errors when accessing data from a different thread than the thread used to...
6
by: Pablo | last post by:
Hello, I am writing a windows application using C++ and BorlandBuilder 6 compiler. It is an event driven program and I need to create objects of some classes written by me. One of the classes...
10
by: Jess | last post by:
Hello, If I create a temporary object using a dynamically created object's pointer, then when the temporary object is destroyed, will the dynamically created object be destroyed too? My guess...
0
by: Jim88 | last post by:
Hi, I'm having a problem to show a screen as vbmodal in the environment below. Platform: windows vista Language: VB 6 Currently, I have a executable file called StartShell.exe, that will...
2
by: remya1000 | last post by:
hai i'm using Vb.net. i'm creating 64 dynamic created buttons of 8 rows and 8 columns. And i have 1 Go button, 1 textbox. those were created dynamically. if i enter one number inside textbox and...
4
by: Siv | last post by:
Hi, I have an application that reads information from a database and depending on that information creates controls on a form. Depending on where the user is at in a process there may be one item...
3
by: raghudr | last post by:
Hi all, I have created lot of controls on a form what i want to do is for wait until handles are created. how can we do this?? say rag=new label();
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.