Tip Bank

DevX - Software Development Resource

Clearing the Clipboard

VB6’s Clipboard object has methods such as GetData, GetText, SetData, and SetText, which allow the developer to store to and retrieve data from the clipboard. VB.NET’s System.Windows.Forms.Clipboard class also has

DevX - Software Development Resource

StartComPlusApplication – Starting a COM+ application

‘ Start the COM+ application with the input name’ Note: requires a reference to the COM+ Admin Type Library” Example: StartComPlusApplication(“MyComPlusApp”, “”)Sub StartComPlusApplication(ByVal applicationName As String, _ ByVal serverName As

DevX - Software Development Resource

ShutDownComPlusApplication – Shutting-down a COM+ application

‘ Shut-down the COM+ application with the input name’ Note: requires a reference to the COM+ Admin Type Library” Example: ShutDownComPlusApplication(“MyComPlusApp”, “”)Sub ShutDownComPlusApplication(ByVal applicationName As String, _ ByVal serverName As

DevX - Software Development Resource

Avoid a Common Debugging Mistake

Normally most of designers do this: if(someVariable == someValue){ doSomeActions;} If you type ‘=’ instead of ‘==’, it will not be detected during the compilation. This means you could spend