Prev: The line endings in the following file are not consistent. Do you want to normalize the line endings?
Next: How to open a .CSV file ?
From: John Wright on 20 Sep 2006 16:57 I have the following code that was converted from C# Machine.Shift.Left(data(63), 24) Or Machine.Shift.Left(data(62), 16) Or Machine.Shift.Left(data(61), 8) Or data(60) Of course this doesn't work so how would this line be converted to VB John
From: GhostInAK on 20 Sep 2006 17:38 Hello John, That line already looks like VB syntax. You'd have to post the oringinal C# code to get a meaningful response. -Boo > I have the following code that was converted from C# > > Machine.Shift.Left(data(63), 24) Or Machine.Shift.Left(data(62), 16) > Or Machine.Shift.Left(data(61), 8) Or data(60) > > Of course this doesn't work so how would this line be converted to VB > > John >
From: Herfried K. Wagner [MVP] on 20 Sep 2006 17:58
"John Wright" <riley_wright(a)notmail.com> schrieb: >I have the following code that was converted from C# > > Machine.Shift.Left(data(63), 24) Or Machine.Shift.Left(data(62), 16) Or > Machine.Shift.Left(data(61), 8) Or data(60) > > Of course this doesn't work so how would this line be converted to VB Just a guess: The converter only supports VB.NET 2002 and thus it does not emit VB.NET 2003's bit-shifting operators ('>>', '<<'). -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> |