Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a unique filename
Message
From
02/01/2004 13:18:35
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
02/01/2004 10:52:18
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00863432
Message ID:
00863488
Views:
10
Thanks, that works great!

Jerry


>>Is there a function that will return a unique name? I am looking for something like VFP's SYS(2015) function. I want to generate a unique/random name so I can use it for creating a temporary file used to capture some output.
>
>Try this:
>
>
>   ' Return a random file name
>   Public Shared Function GenerateFileName() As String
>      Dim lcGuid As String
>      lcGuid = Guid.NewGuid.ToString()
>      Return lcGuid
>   End Function
>
Previous
Reply
Map
View

Click here to load this message in the networking platform