Solved

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

Posted on 2004-08-05
5
228 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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