Groups | Blog | Home
all groups > vb.net upgrade > november 2006 >

vb.net upgrade : VB6 control in VB.NET



bz
11/8/2006 5:18:15 PM
Hi,

I ran the Upgrade Wizard to upgrade my VB6 project to VB2005 Express
Edition.
I got 140 errors and 170 warnings.

One of the error was that it wouldn't load a VB6 control.

(In VB6, if it can't load a control, VB6 will replace it with a PictureBox.)

But VB2005 didn't do that. It wouldn't even let me display the form at all
to delete that control.

Any idea how to display the design view to replace that control?

Thanks!



--
[quoted text, click to view]

http://spaces.msn.com/bzDaCat

Dick Grier
11/9/2006 11:19:46 AM
Hi,

I don't know of any way to do this, except to edit it in VB6, either to
delete the problem control, or to replace it with another control (like a
picturebox), the to save the edited project.

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.

bz
11/9/2006 1:14:59 PM
Hi,

Guys from the vb group told me that there was a file Form1.Designer.vb.
I could open that file and change the control there.
It works!!!



[quoted text, click to view]

AddThis Social Bookmark Button