Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Migrating VB programs from XP

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
NormaPosy
Asked:
NormaPosy
  • 2
  • 2
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
>>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
 
NormaPosyAuthor Commented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
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
 
NormaPosyAuthor Commented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now