Deprecate Old APIs
When you write a new version of an API, you want to deprecate the old API. If you deprecate old API’s, the compiler will tell you wherever that deprecated API
When you write a new version of an API, you want to deprecate the old API. If you deprecate old API’s, the compiler will tell you wherever that deprecated API
‘ Creates a IIS virtual directory with the specified name,’ and that points to the specified physical path’ Note: requires a reference to the System.DirectoryServices.dll assembly’ Note: exception handling (for
‘ This macro routine makes VS.NET switch to the previously selected code editor ‘ / designer window, if it is still open. It is equal to opening the Windows ‘
‘ Returns an array of controls of the specified type,’ found within the specified parent control (or the form itself).’ Note: the search is optionally done recursively, by checking also
‘ Resets the value for the input array of controls, and thier child controls’ Example:’ – reset all the controls on the form: ResetControls(Me)’ – reset specific controls: ResetControls(TextBox1, CheckBox1,
‘ Removes the IIS virtual directory with the specified name’ Note: requires a reference to the System.DirectoryServices.dll assembly’ Note: exception handling (for example to catch an invalid virtual directory ‘
Shared Function _ SHAddToRecentDocs(ByVal uFlags As Integer, ByVal filePath As String) As _ IntegerEnd Function’ Add a file to the list of recent documents’ If the parameter is an empty
Shared Function _ GetDesktopWindow() As IntegerEnd Function Shared Function GetDC _ (ByVal hWnd As Integer) As IntegerEnd Function Shared Function _ GetDeviceCaps(ByVal hDC As Integer, ByVal nIndex As Integer) As
‘ Destroy a file associationSub DeleteFileAssociation(ByVal extension As String) Const SHCNE_ASSOCCHANGED = &H8000000 Const SHCNF_IDLIST = 0 ‘ ensure that there is a leading dot If extension.Substring(0, 1) “.” Then