.NET caused problem with VB6 application?

k_jynx37

New member
Joined
Mar 19, 2003
Messages
1
I have an extensive VB6 application using ADO and Crystal Reports 8.5. I currently have no plans to migrate it to .NET.

When I was first working on it, I could carry it from computer to computer without any problems. A limited version of this application had been in production on my assistants computer. (He has Windows 2K and does not have .NET installed.) I have recently begun working on a copy of it again on my office computer to streamline it and make it more robust. My office computer has Windows 2K, VB6 and .NET. The application runs there without any problems.

The problem is that I now cannot take it anywhere else to work on it. I am getting different error messages. On my home computer (XP, VB6, and .NET) and on the computer where I teach (Windows 2K, VB6, and .NET - which was installed by imaging?) I receive a message stating "library or dll not found", highlighting the CHR function, and the application is not loaded into memory. On my assistants computer, I receive an error message (forgot the wording), and the code highlights my adStudents.Recordset.AddNew statement, but the form gets loaded into memory. (Remember that it loads and runs accurately on my office computer.)

The first error message makes me think that the problem is due to the service pack, but VB6 on all computers have SP5.

The reason I am posting to this forum is that I would like to know if there is anything that happens when .NET is installed that would cause a VB6 application not to run? Where should I go to look for a solution to this problem? This is an application that I need to be able to use in my workplace. Time at work to code my project is limited, and I need to be able to work on it at home.

Your assistance is much appreciated.
 
Im not sure what the problem is, but whenever Ive seen VB6 highlight something "core" VB, such as Chr$ or Left$ function, its usually a missing library. Check your project references and see if anything is listed as "MISSING: ...".

Cant think of anything else - I run VB6 and .NET at work and at home and havent seen any problems with project or EXE compatability. At work I use Both Win2000 Server and WinXP Pro. At home I use Win2000 Pro and sometimes Win2000 Server (a second build used for testing).

-Nerseus
 
Back
Top