









Automate MSMQ Object Creation
By taking advantage of the functionality of two Microsoft Message Queuing libraries, you can minimize the time it takes to create MSMQ objects during testing or deployment of your messaging
By taking advantage of the functionality of two Microsoft Message Queuing libraries, you can minimize the time it takes to create MSMQ objects during testing or deployment of your messaging
Private Type RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Declare Function IsWindow Lib “user32” (ByVal hWnd As Long) As LongPrivate Declare Function GetClientRect
‘ Returns a collection with the names of all the files’ that match a file specification” The file specification can include wildcards; multiple’ specifications can be provided, using a semicolon-delimited’
‘ list all the files in a directory’ if NESTEDDIRS = True it lists a whole directory tree” returns a 1-based array containing all the listed filesFunction ListFiles(ByVal Path As
‘ create a nested directory” it’s similar to MkDir, but it also creates’ all intermediary sub-directoriesSub MakePath(ByVal path As String) Dim i As Integer, ercode As Long On Error Resume
‘ Returns a collection holding all the subdirectories in a path’ that match search attributes (optionally it returns the entire path).Function GetDirectories(path As String, Optional Attributes As VbFileAttribute, _ Optional
‘ compare two files’ return True if they’re equalFunction CompareFiles(ByVal file1 As String, ByVal file2 As String) As Boolean Dim fnum1 As Integer, isOpen1 As Boolean Dim fnum2 As Integer,
Private Type SHELLEXECUTEINFO cbSize As Long fMask As Long hwnd As Long lpVerb As String lpFile As String lpParameters As String lpDirectory As String nShow As Long hInstApp As Long
‘ Returns a collection holding all the filenames that’ match a given filespec and search attributes.Function GetFiles(filespec As String, Optional Attributes As VbFileAttribute) _ As Collection Dim filename As String