Getting MAPI entryID’s From Outlook Folders
This tip is useful if you do Outlook automation with user created Outlook folders. These folders cannot be accessed by the GetDefaultFolder method usually employed in automation techniques. This snippet
This tip is useful if you do Outlook automation with user created Outlook folders. These folders cannot be accessed by the GetDefaultFolder method usually employed in automation techniques. This snippet
If from an ASP page you try to use Response.Redirect after having written anything to the browser, you’ll get an error saying that the page’s headers have already been written.
The VBIDE object model doesn’t offer any native property or method to determine whether the IDE is in design-time mode, run-time mode, or debug (break) mode. However, it’s easy to
The DoEvent statement should be used only to give other portions of your program to be reactive to the end user’s actions. Instead, many VB developers use it to force
Consider the usual way of swapping two strings: Dim s1 As String, s2 As StringDim tmp As String’ initialize the strings s1 = String$(1000, “-“)s2 = String$(1500, “+”)’ do the
The RmDir command can delete a directory only if it doesn’t contain files or sub-directories. If the directory you want to delete does contain other files or, worse, subdirectories it
Suppose you want to store the movements of a chess game in a file so that when the program terminates, the users can resume it later from the same point.
Often, it is helpful to find the current classpath. This can be done from within a Java program by using the following code: System.out.println(System.getProperty(
The term thunk dates back to the days of the antediluvian Algol programming language and has stuck since then. A thunk is an invisible and parameter-less function or procedure that