Posts

Showing posts with the label Mouse Pointer

some notes about vb6 to vb.net conversion based on syntax

Conversion history and architecture will be published later... 1 - fixed sized string with default value VB6 ; Dim sTempPath As String sTempPath = String(255, vbNullChar) VB.NET ; Dim sTempPath As String sTempPath = New String(CChar(vbNullChar), 255) 2- Current Date VB6 ; sLogData = Date & " User : " & PMP_USER_NAME VB.NET; sLogData = Date.Today & " User : " & PMP_USER_NAME 3- Null value VB6; sDate = Null VB.NET; sDate = Nothing 4- Default Property(Attribute) VB6; Tools Menu Procedure Attribute Select "Name" for Property click "Advanced" button set "Procedure ID" combo box and select "(Default)" VB.NET; add "Default" into Property such as : Default Public ReadOnly Property Item (IndexKey As Object) As clsItem 5- Equivalent of Mouse Pointer VB6; Screen.MousePointer = vbHourglas VB.NET; add Windows.Form Reference then Cursor.Current = Cursors.WaitCursor 6- Equivalent of Timer VB6; Tim...