Hi,
I was most frustrated (and then happy) to find the vb.net examples after having slogged through converting a few from c#/java. I just wanted to know how the conversion was done, and to point out that there are still a few remnants in from the original java code - many (if not all) of the parameter checks give lines like:
Console.Error.WriteLine("This tools needs 3 parameters:" & Microsoft.VisualBasic.Chr(10) & "java Encrypt srcfile destfile password")

And though I know it was probably done with an automatic tool (sharpdevelop?), is
System.Math.Min(System.Threading.Interlocked.Increment(i),i-1)
really the best way in vb.net to do an increment (this is a genuine question... there is i+=1 but this might be less secure or whatever...)?
Thanks for another excellent tool.
Cheers
Antoine
--
This is where I should put some witty comment.

Reply via email to