Solved

Migrating VB programs from XP

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

623 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