Grid Control & Crystal Report

Greetings of peace and happiness ...
1st Question.
I didn't do programming for some time. I did one program using VB 4. Now, when i open in VB 5, the Grid Control automatically become Picture box control. Is there any ways so that i can directly convert to MS-Flex grid. Or can i maintain with Grid Control in VB5.

2nd Question.
  One field name in the table is called flag. Flag will have 0,1,2. But when i print in the crystal report, i want to replace with other text (e.g. in, out, return) instead of 0,1,2.
How can i do that?

Thank you.
Who is Participating?
watyConnect With a Mentor Commented:
The reason is that the grid32.ocx is not installed and registered. Install it and register it, you will be able to load your project under VB5.
For the upgrade to MSFlexGrid, you could do, but you have to change the code in consequences.

Write a formula, (this is an example)

 if {flag} = 0 then
    "Flag 0"
 if {flag} = 1 then
    "Flag 1"
 if {flag} = 2 then
    "Flag 2";

I have not check the formula, but it is like that that I do in my projects
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.