From: Kevin Provance on 25 Sep 2009 22:38 | Is the alternative going back to VB6? I'm OK with that since at this | time | only a few minor changes are needed. I thought that the Express VB | product | would do the job but I have spent a ton of time in trying to get this | converted. | | Since the VB6 environment is gone also, cd's, books, etc. I will need | to | find a copy somewhere on the used market if it exists. | Yes, going back to VB6 would be your best bet. It's still a very viable language without all the silly .Nxt BS that is really irrelevant. I could probably hook you up with a free copy.
From: Alex Clark on 26 Sep 2009 03:01 Wow, So let's see - we've had racism, sexism, inappropriate language, jealousy at others' superior knowledge to your own, and now you're advocating software piracy of a Microsoft product on a Microsoft newsgroup? "Kevin Provance" <fu_bm(a)localhost.com> wrote in message news:edj96JlPKHA.1796(a)TK2MSFTNGP02.phx.gbl... > Yes, going back to VB6 would be your best bet. It's still a very viable > language without all the silly .Nxt BS that is really irrelevant. I could > probably hook you up with a free copy. > >
From: Mike Williams on 26 Sep 2009 03:33 "George W. Barrowcliff" <george.barrowcliff(a)flash.net> wrote in message news:ek6QuVjPKHA.1232(a)TK2MSFTNGP05.phx.gbl... > Last guy is gone, so is VB6 environment. I downloaded > and installed 2008 Express, then converted application. I have lots of > errors (95) and 102 Warnings. You've been conned, George. Micro$oft have conned you by deliberately leading you to believe that VB.Net is the next version of Visual Basic, when it is not. It is a lie, George. A deliberate Micro$oft lie. VB6 is the last and final version of Visual Basic. You'll need to rewrite your application so you might as well rewrite it in something that is not from such an untrustworthy company as Micro$oft. Try Delphi. Mike
From: Armin Zingler on 26 Sep 2009 06:48 Armin Zingler schrieb: > George W. Barrowcliff schrieb: >> I have an application developed by someone else using VB6 that needs a few >> changes. Last guy is gone, so is VB6 environment. >> I downloaded and installed 2008 Express, then converted application. >> >> I have lots of errors (95) and 102 Warnings. I have cleared some of the >> errors (down to 74) but some conversions I just don't get and need some help >> in understanding the conversion. > > In addition to Scott (I agree with him): The application must be > compilable in VB6 on the machine that you use to convert it. Otherwise > the preconditions to convert it are not met. (if it wouldn't even run in > VB6, how could it in VB.Net?) > IMO, one should know both languages well to do the conversion. BTW, some trolls are visitting this group from time to time, frustrated about not being able or willing to understand and keep up with the brilliant achievements of newer versions of a product. You can safely ignore them. :-) -- Armin
From: Cor Ligthert[MVP] on 26 Sep 2009 07:36
George, Despite what others say, if you want at the end a program that is 10 times faster then VB6 (what is possible with VB for Net), then converting is no option. However, If you have a straight written program, that not as most VB6 programs, because the lack of all the new classes now available in Net, is written with all kind of calls to Win32 Apis or other from today's scope seen obscure methods. Then you can try a convert. Have a look at this page for your current problem. http://support.microsoft.com/kb/315974 Be aware that it is not an easy job and if you are ready, you will ask yourself why you did not do it all new like the others wrote, but in my idea is it worth to try, all was it only because the experience you get from that about VB for Net. (You can do it also direct in Net, but you are than not gone through that learning path which others here who write so easily to start direct with Net). 95 errors is not much for an converting job because it is not impossible that most are all the same and are just telling that a DLL is not available. Just my idea, Cor "George W. Barrowcliff" <george.barrowcliff(a)flash.net> wrote in message news:ek6QuVjPKHA.1232(a)TK2MSFTNGP05.phx.gbl... > I have an application developed by someone else using VB6 that needs a few > changes. Last guy is gone, so is VB6 environment. > I downloaded and installed 2008 Express, then converted application. > > I have lots of errors (95) and 102 Warnings. I have cleared some of the > errors (down to 74) but some conversions I just don't get and need some > help in understanding the conversion. > > Thanks to anyone that takes a look and points me somewhere. > > GWB > > > i.e. > 'Recordset' is not a member of 'System.Windows.Forms.Label' > 'DataBaseName' is not a member of 'System.Windows.Forms.Label' > 'ctlRefresh' is not a member of 'AxMSGBGrid.AxDBGrid' > > These are repeated often and I cannot see why the wizard thinks that > Recordset should be a member of System.Windows.Forms.Label > > Original > > Private Sub pgrid_size() > Dim T_RS As Recordset > Set T_RS = db.OpenRecordset(tn, dbOpenDynaset) > Set pData.Recordset = T_RS > pgrid.Refresh > pgrid.Columns(0).Width = 700 > pgrid.Columns(1).Width = 3500 > pgrid.Columns(2).Width = 1500 > pgrid.Columns(3).Width = 1500 > pgrid.Columns(0).Caption = "Dr/Cr" > pgrid.Columns(1).Caption = "Account Name " > pgrid.Columns(2).Caption = "Debit(Rs.)" > pgrid.Columns(3).Caption = "Credit(Rs.)" > pgrid.RowHeight = 250 > End Sub > > After Conversion > Private Sub pgrid_size() > > 'UPGRADE_WARNING: Arrays in structure T_RS may need to be initialized > before they can be used. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="814DF224-76BD-4BB4-BFFB-EA359CB9FC48"' > > Dim T_RS As dao.Recordset > > T_RS = db.OpenRecordset(tn, dao.RecordsetTypeEnum.dbOpenDynaset) > > 'UPGRADE_ISSUE: Data property pData.Recordset was not upgraded. Click for > more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="076C26E5-B7A9-4E77-B69C-B4448DF39E58"' > > pData.Recordset = T_RS > > 'UPGRADE_NOTE: Refresh was upgraded to CtlRefresh. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' > > pgrid.CtlRefresh() > > 'UPGRADE_WARNING: Couldn't resolve default property of object > pgrid.Columns().Width. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' > > pgrid.get_Columns(0).Width = 700 > > 'UPGRADE_WARNING: Couldn't resolve default property of object > pgrid.Columns().Width. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' > > pgrid.get_Columns(1).Width = 3500 > > 'UPGRADE_WARNING: Couldn't resolve default property of object > pgrid.Columns().Width. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' > > pgrid.get_Columns(2).Width = 1500 > > 'UPGRADE_WARNING: Couldn't resolve default property of object > pgrid.Columns().Width. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' > > pgrid.get_Columns(3).Width = 1500 > > 'UPGRADE_WARNING: Couldn't resolve default property of object > pgrid.Columns().Caption. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' > > pgrid.get_Columns(0).Caption = "Dr/Cr" > > 'UPGRADE_WARNING: Couldn't resolve default property of object > pgrid.Columns().Caption. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' > > pgrid.get_Columns(1).Caption = "Account Name " > > 'UPGRADE_WARNING: Couldn't resolve default property of object > pgrid.Columns().Caption. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' > > pgrid.get_Columns(2).Caption = "Debit(Rs.)" > > 'UPGRADE_WARNING: Couldn't resolve default property of object > pgrid.Columns().Caption. Click for more: > 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' > > pgrid.get_Columns(3).Caption = "Credit(Rs.)" > > pgrid.RowHeight = 250 > > End Sub > > > > |