The following function will generate a random string of the supplied length. The function uses the Random object to generate random integer values that correspond to ASCII values within a specific range (a-z, 0-9). Once a random string has been generated that is the required length, it is then returned.
Web Development & Programming in PHP, ASP.NET, XML, VB, .NET Framework, JavaScript and HTML/CSS for Web Applications, Internet Marketing and SEO
Showing posts with label Security. Show all posts
Showing posts with label Security. Show all posts
Tuesday, August 31, 2010
C# Generate Random String of a Specific Length
Posted by
DanielS
at
6:35 PM
Labels:
C#,
Security,
String Manipulation
4
comments
Tuesday, March 24, 2009
Microsoft Outlook: Calling VBA Class Module function using VBScript
Although it is not recommended by Microsoft (see below), a procedure can be created in VBA (Visual Basic for Applications) and called using VBScript (Visual Basic Scripting Edition). By default, VBA is not initialised disabled when Outlook is started for performance reasons. If Outlook is started and an item opened (containing VBScript which calls a VBA procedure in the ThisOutlookSession Class Module), an error will occur as the required VBA procedure/function will not be available. For procedures to be called from the ThisOutlookSession module, security settings need to be adjusted to allow the macros to run.
Posted by
DanielS
at
8:00 PM
Labels:
Macro,
Microsoft Outlook,
Security,
VBA,
VBScript
1 comments
Understood
This website is using cookies. More details