The language DLL 'VB6FR.DLL' could not be found - dll

I have developed a VB6 application with Microsoft Visual Basic 6.0 Enterprise Edition SP6.
I have copied the executable file to a computer C where VB6 is not installed.
I have installed on computer C the VB6 SP6 run-time redistribution pack available on this page : http://www.microsoft.com/fr-fr/download/details.aspx?id=24417
The following error message is displayed when I launch my application from computer C : The language DLL 'VB6FR.DLL' could not be found.
Why the VB6 SP6 run-time redistribution pack does not contain VB6FR.DLL ?
What pack contains VB6FR.DLL ?
Any help will be greatly appreciated.

You might have a better chance with the English/US version:
https://www.microsoft.com/en-us/download/details.aspx?id=24417
But to be clear, you cannot just copy VB6 from one system to another and expect the IDE itself to work fine, which is what I think you might be trying to do. Your best bet is to find the original CD and re-install it on the new system, or consider switching to VB.NET, which I honestly would personally avoid if it's a big project.

Related

VB.NET Application can't be installed - BouncyCastle.Crypto has to be installed in GAC

I'm kind of unexperienced in programming. I built a small software, that enables the user to store data, that are manually entered in my software, into a MySQL database. So far so good - during debugging and after release and installation on my computer it works just fine.
But as soon as it is installed on another computer, it can't be installed due to an error that says (translated from german):
The application can't be installed and startet. The application requires, that the Assembly BouncyCastle.Crypto Version 1.8.3.0 has to be installed in the global Assemblycache (GAC) first. Please contact the system administrator.
I have just no idea, what the problem is. As I said, on my computer it works perfectly fine. I did some research, but I wasn't able to find sources that I understand to solve the problem.
Here are some details:
Language: VB.NET
Environment: Visual Studio 2013
Framework: .NET Framework 4.5.2
I would really appreciate, if you could help me with this problem!
Thanks in advance!
Jonas
This appears to be an issue with MySql.Data v8.0.27 for me. Try installing v8.0.25 which seems to not require these extra unneeded bouncycastle .dll's

Losing database connection when changing project target framework

As in title I'm having problem with my VB project when I change its .NET Framework from 4.5.1 in which I have application written to v4 which is supported on windowsXP. When I make the change and try to compile my program database could not be found. Should I make any extra changes in project properties or why database could not be found?
Thank you for help!
The Jet engine is not supported on 64bit machines. I know it is crazy but it's true. Not sure what MS Access uses on 64Bit, must be something else.
Jet on 64Bit
Some places say it's not going to be supported, others say it is part of Office 2010 install and you can download a seperate driver.
I ran into this when deploying a web app to our 64Bit server and just found a way around using MS Access for our report server. Got luck.

vb6 dll in .net REGDB_E_CLASSNOTREG

Hope someone could help me..
I created a vb6 dll which suppose to use the printer.print method since i want an easier printer functions.. it runs smoothly in same computer using vb.net 2012 , the problem is after publishing it in newly installed OS with prerequisite installed computers
p.s. already tried installing vb6 IDE and tried the actual printer.print without a problem
Be sure your installer properly registers the DLL. Given your Title, this is probably the first culprit. But there will also be some (many?) VB6 runtimes which need to be installed as well. I am not sure if the standard .NET setup maker knows how to determine what they are and newer machines you install on may not already have them.
When you installed the VB6 IDE you probably fixed the runtimes issue for THAT machine, so it probably has to do with the DLL being registerd. For more installs, you may have to create a mini VB6 installer for the project to install the runtimes.
What is the target OS?

Do VB .net Apps absolutely require .net framework to run? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Is the .Net framework required for even a single line of VB.Net?
I'm getting my programming feet wet by designing a simple vb .net program to run utilities and installations from a flash drive. I'm making good progress with the coding and design but I was surprised when I went to show off my work on a system with a fresh XP installation and got a "Not valid win32 application" error when I started the exe. Pretty embarrassing actually.
Is having the .net framework installed essential to loading a .exe coded in vb .net? If this is the case, is the only alternative to try and adapt the code to vbs script or something similar? Are there any other reasonable workarounds short of installing .net on the target system? Thanks in advance.
Yes.
It's named VB.Net for just that reason. :)
Adapting the code to VB6 (which needs a different series of DLLs installed on the target machine) or to VBScript will likely be quickest.
Yes, VB.Net does require the .Net Framework. However, Windows XP is getting pretty old now, and recently dropped below a 25% installed base on some indexes. Windows 7 ships with .Net 2.0 out of the box, and Windows 7 sp1 also has .Net 3.5 at least available on the machine.

How do I resolve "Run-time error '429': ActiveX component can't create object"?

My company has a VB6 application using Crystal Reports 7 which a client has asked to be installed on Windows 7 32 bit. It is currently installed on Windows XP 32bit SP2 machines at the client. Connection to the DB is done via ODBC to SQL Server 2000 instance on another server.
On Windows 7, the installation works fine, however when you try to open the application, the error is given.
I have looked at the following:
Registering all the dll's and ocx files using regsvr32. Some will not register as they either are registered already or the following message is given "Make sure that "[name].dll" is valid DLL or OCX file and then try again." I read this forum thread regarding this: http://social.msdn.microsoft.com/forums/en-US/vblanguage/thread/0653f685-4526-45d9-89f3-8c479a6b4c62
Monitored the opening of the application using a ProcessMonitor application to try and spot if there is a missing dll or ocx file - this does not seem to be the case.
Reviewed the application according to this list and nothing seems to be against these guidelines
I've noticed two items in the knowledge base that relate to this
http://support.microsoft.com/kb/281848 - the comdlg32.ocx bundled with the application is version 6.0.81.69 and the one in the system32 folder on the dev machine (WinXP 32 bit) is 6.1.97.82. However if this was the issue then surely it would not work currently?
http://support.microsoft.com/kb/184898 - I'm not sure how to confirm that this is the issue
Finally, due to complexities, I am not allowed to make code changes to this application. Even if I was, I'm not a VB6 programmer, just the guy who got the terribly support project! If code changes are required, then I'll have to investigate using WinXP mode.
Update: I get the same error in XP Mode. That's a Win XP with SP3 VM. This runs on a Win XP SP2 VM, is there potentially something in SP3 that would have caused this to occur? Or is it just a fact of it being XP Mode?
I got the same error but I solved by using regsvr32.exe in C:\Windows\SysWOW64.
Because we use x64 system. So if your machine is also x64, the ocx/dll must registered also with regsvr32 x64 version
The file msrdo20.dll is missing from the installation.
According to the Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008 and Windows 7 this file should be distributed with the application.
I'm not sure why it isn't, but my solution is to place the file somewhere on the machine, and register it using regsvr32 in the command line, eg:
regsvr32 c:\windows\system32\msrdo20.dll
In an ideal world you would package this up with the redistributable.
This download fixed my VB6 EXE and Access 2016 (using ACEDAO.DLL) run-time error 429. Took me 2 long days to get it resolved because there are so many causes of 429.
http://www.microsoft.com/en-ca/download/details.aspx?id=13255
QUOTE from link:
"This download will install a set of components that can be used to facilitate transfer of data between 2010 Microsoft Office System files and non-Microsoft Office applications"
You say it works once you install the VB6 IDE so the problem is likely to be that the components you are trying to use depend on the VB6 runtime being installed.
The VB6 runtime isn't installed on Windows by default.
Installing the IDE is one way to get the runtime. For non-developer machines, a "redistributable" installer package from Microsoft should be used instead.
Here is one VB6 runtime installer from Microsoft. I'm not sure if it will be the right version for your components:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c