MS Grid from VB4 to VB6 ?

Posted on 1999-11-16
Medium Priority
Last Modified: 2008-03-06
I have a VB4 application that is using MSGrid (grid16.ocx). Now I can't find the equivalent control in VB6 that will allow me to Import these forms  w/o an error.

Any ideas, solutions?
Question by:szx248
  • 2

Author Comment

ID: 2212423
Adjusted points to 100

Expert Comment

ID: 2213156
Unfortunately, you can't do it so easily.
What you must do is as follow:
1. Run the project with VB4 32 bit. This will convert your application and controls to 32 bit.
2. Run the application using vb6. This will upgrade your application to vb6.

A problem that may happen that you'll have problem upgrading the grid itself. I suggest you keep vb4 installed on the computer where you are upgrading your application.

Accepted Solution

sun365 earned 400 total points
ID: 2216828
Open the .frm file in notepad and look for something like the example below, except it will be somthing.Grid instead of
MSFlexGridLib.MSFlexGrid.  Change the name to MSHierarchicalFlexGridLib.MSHFlexGrid.  Load it up and see if it works.

Author Comment

ID: 2216842
This simple solution worked!

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month3 days, 17 hours left to enroll

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question