Solved

Migrating VB programs from XP

Posted on 2014-03-14
4
205 Views
Last Modified: 2014-03-15
With the coming end of support for XP, I need some advice.

I’ve written several programs in VB6 under XP that don’t work with newer versions of Windows. As I understand it, the OCX files and API functions are incompatible.

I’ve successfully used “inno” installer-builder to create an installation that runs on Vista, but customer says it runs very slowly. Probably due to all the translating going on.

I am thinking of installing a separate hard drive in my tower running one of the new windows versons. And installing VB.net there. Then re-doing my VB6 programs in VB.net. And or course using the new OCX’s.

Question: Are Vista, Win 7, Win 8, etc, all compatible, or will I have to generate a lot of versions of my programs? Will I have to go through all this again in the future?

Question: Does it matter which of the new Windows versions I install? Any recommendations?

Question: Years ago, I spent big bucks on a full suite of VB6. What’s the easiest (cheapest??) way for me to get may hands on VB.net?
0
Comment
Question by:NormaPosy
  • 2
  • 2
4 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 39930302
>>I’ve written several programs in VB6 under XP that don’t work with newer versions of Windows. As I understand it, the OCX files and API functions are incompatible.

I had a couple of VB6 apps running on Vista and Windows 7 no problem. What are your exact issues?

>>And or course using the new OCX’s.

In the .Net world, there are no files with .ocx extensions. They are just .dll but they offer visual components like .ocx used to offer.

>>Then re-doing my VB6 programs in VB.net.

Are you aware that VB.Net is very different beast?

>>Question: Does it matter which of the new Windows versions I install? Any recommendations?

If you repave your computer, go with the latest (8.1).

>> Years ago, I spent big bucks on a full suite of VB6. What’s the easiest (cheapest??) way for me to get may hands on VB.net?

The Express edition is free.
0
 

Author Comment

by:NormaPosy
ID: 39930386
MSFLXGRD.OCX was not recognized.
Also: Third party OCX from "Vsspell". (Spell checker)
I can buy the correct version from Vsspell, but the flex grid ocx is the real problem.

I have some exposure to VB.net and yes, I understand that I will have to do some work to make the transition. It needs to be done. I have people that really depend on my programs, and I have put this off too long.

Any limitations to the express edition that I should know about?
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 39930427
usually, all the ocx can be installed on Winodws 7/8. If you have created a setup package that was running on XP, it should run on later version.

check http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/run-time-error-339-component-msflxgrdocx-is-not/50615498-cddd-4153-8477-5fa2f7d81000

>>Any limitations to the express edition that I should know about?

It always depends on your requirement. I haven't found the latest one but check http://www.microsoft.com/en-us/download/confirmation.aspx?id=7940
0
 

Author Closing Comment

by:NormaPosy
ID: 39931390
Thank you.

The link to the discussion about msflxgrd.ocx  was quite informative.

"usually, all the ocx can be installed on Winodws 7/8. If you have created a setup package that was running on XP, it should run on later version."

See: I didn't know that. My issue now becomes one of correcting the script in my "inno" setup application.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
dog bark java program 15 82
fizzArray3  challenge 1 67
object oriented javascript web form 8 74
Not needed 13 57
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now