vb.net examples
- From: "Paulo Soares" <psoares (at) consiste.pt>
- Date: Sun, 29 Jan 2006 17:08:18 -0000
----- Original Message -----
Sent: Sunday, January 29, 2006 2:07 PM
Subject: [iText-questions] vb.net examples
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")
Those examples were a contribution and they pertain to
the old examples. You are advised to look at the Java examples at www.lowagie.com/iText.
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...)?
No idea.
Thanks for another excellent tool.
Cheers
Antoine
--
This
is where I should put some witty comment.