Groups | Blog | Home
all groups > vb.net upgrade > october 2003 >

vb.net upgrade : VP6 forms saved as VB5. - .NET Upgrade not possible


MarcT
10/23/2003 4:40:16 PM
Hello,

I am trying to upgrade a VP6 project to .NET.
When I upgrade to .NET, the forms as not upgraded.
..NET says that it is a VB5 form. When I open the FRM file with notepad I see
VB5 in the header.

But I never had VB5 on my computer.
I start a new VB6 project from scrach and it is still save the form as VB5.

..NET upgrade continue to tell me that it is a VB5 form. !!!!!


Any Idea how I can convert this VB5 from to VB6 ?

Thank you

Howard Kaikow
10/24/2003 10:24:42 AM
My recollection is that VB .NET does not officially support upgrading from
VB 5, so it might not be converting some things.

If you have lots of VB 5 stuff to convert, then I'd suggest getting a VB 6
upgrade edition to first upgrade the VB 5 stuff to VB 6.

--
http://www.standards.com/; See Howard Kaikow's web site.
[quoted text, click to view]

hirf-spam-me-here NO[at]SPAM gmx.at
10/24/2003 8:22:07 PM
* "MarcT" <mtrudel337@hotmail.com> scripsit:
[quoted text, click to view]

My VB6 saves forms in VB5 format too because the format hasn't changed.
Nevertheless, the upgrade wizard works with these files.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
JohnHart NO[at]SPAM Online.Microsoft.com.
10/24/2003 11:50:03 PM
Marc,

Open the form file (.frm) in notepad and make sure that these attributes
are at the bottom of the file:

Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

If they are not there the Upgrade tool things that these are VB5 forms and
fails to upgrade them.

--
John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view]
vJn^g[Lkg9YfJ,Oj#{Y[')WBo<1kS#Rc3Vb!D;jf$;OZ%<"'z+DX"K/m)h\Gi;e-AYsc%'CmL~Ix
@YEq$}A>^]KbF1.Z|=/'*CcB[f+8(m&vP.u4+P.q$n]?[s>nnFu/8EuC?h[c\#wR{ok_um~57to=
P=1"{qO1e%A2~nS?<[o`jn?C/-}7Mbz~L)WI=5VL!*xU#^d
[quoted text, click to view]
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.
phx.gbl
[quoted text, click to view]
AddThis Social Bookmark Button