Solved

Migrating VB programs from XP

Posted on 2014-03-14
4
208 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 70

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 70

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
has12 challenge 13 70
URL to download Windows 10 Home 7 128
robocopy vs xcopy vs copy 8 110
Safe to delete the DataStore.edb on a Win 7 computer? 4 130
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

777 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