Notes, Tricks and Tips on VB.NET
Here's a short function that will generate a random filename
Private Function GetRandomFileName() As String
Dim r As New Random()
Dim i As Integer
Dim strTemp As String = ""
For i = 0 To 8
strTemp = strTemp & Chr(Int((26 * r.NextDouble()) + 65))
Next
Return "c:\\" & strTemp & ".bmp"
End Function
About Steve Gray
Steve is a seasoned (translate: old) developer in VB and ASP.NET. He spends most of his time in Dynamics GP, writing custom mods for consulting firms. Crystal reports, eConnect, VS Tools for Dynamics... anything that comes along.