Connecting Tech Pros Worldwide Help | Site Map

Upgrade From VB6 to VB.net giving errors

Newbie
 
Join Date: Aug 2007
Posts: 1
#1: Aug 13 '07
Hi i am extremely new to this and i have been given a task to upgrade vb6 code to vb.net.Is it necessary to change data connections to the datasets and bindings in .net . Also there are just a lot of errors like

MyPicture.Line((SubData.Recordset.Fields("Pic_X"). Value * 10), SubData.Recordset.Fields("Pic_Y").Value * 10)- (SubData.Recordset.Fields("Pic_X").Value * 10, ))((SubData.Recordset.Fields("Pic_X").Value * 10))

the above syntax sends an end of statement expected error message

and some say expresion is not a method.

clearly i am new to programming , so please help , i am stuck.
also how do i retrieve information from text files, softcoding, i dont want to reference the location of the file.

Thank you , any asistance is appreciated , greatly.
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,745
#2: Aug 13 '07

re: Upgrade From VB6 to VB.net giving errors


Are you using VS 2003? There is an upgrade wizard:
VB6.0 to VB.NET Migration Command Line Arguments Issue
Reply