Solved

Migrating VB programs from XP

Posted on 2014-03-14
4
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

738 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