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
Solved

Upgrading Visual basic user control project into VB.NET user control project

Posted on 2004-08-05
5
227 Views
Last Modified: 2010-04-23
Hi,

We would like to migrate our VB application (which is a project group contains 10 user control projects and a standard exe project). We cannot able to migrate the project group as a whole (or a usercontrol project) into vb.net.

While opening a vb user control (.ocx) project in VS.NET environment, we got the following error
"User control projects created in previous versions of Visual basic cannot opened in Visual Basic.NET."

How do we achieve this?
(or)
Is there any third party tool available to perform the migration?

Appreciate if you help us...

Thanks in advance

Jaba


0
Comment
Question by:jaabaa
  • 2
  • 2
5 Comments
 
LVL 25

Expert Comment

by:RonaldBiemans
ID: 11724214
I am sorry, but the Upgrade wizard can't upgrade the User control project
of VB6. Because of the lack of design-time support for UserControl projects
in VS .NET, the Upgrade Wizard will not be able to upgrade them. You can
still use them in your .NET applications, but you would need to maintain
them in VB6.

Although I would not recommend upgrading any Vb6 project to .Net  in any case.
Just rewrite them from scrach in .net it will produce better code than any upgrade could ever do.

I know this will probably be a lot of work but it will be worth it
 
0
 
LVL 27

Expert Comment

by:planocz
ID: 11725091
I agree with you RonaldBiemans.
0
 

Author Comment

by:jaabaa
ID: 11733126
Hi Ronald,

I've already got the same reply from David Yuan (http://www.dotnet247.com/247reference/msgs/12/62696.aspx)

May i get any Microsoft reference which has explained about this issue...?

Thanks.

Jaba
0
 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 125 total points
ID: 11733380
Just a question what version of visual studio are you using. Because in version 2003 it should be possible to upgrade according to MS.

look here

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconwhatsnewinupgrading.asp

PS. I would still recommend rebuilding them yourselve in .NET
0
 

Author Comment

by:jaabaa
ID: 11750307
Thank u very much.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 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