Variant Replace with object when array data type is involved Replace with string when both numeric and non-numeric data types are involved
Color type > System.Drawing.Color > System.Drawing.SystemColor Windows API Any Type > Specify the data type > Overload the function if necessary Shape Control > Use TPRI.Shape control instead Line Control > Draw a line in code: Imports System.Drawing Imports System.Drawing.Drawing2D > Dim lobjGraphics as Graphics LobjGraphics.DrawLine(Pens.Red, X1, Y1, X2, Y2) LobjGraphics.Dispose() File and Directory > Use .NET File class Imports System.IO Dim lobjFile As File lobjFile.Copy(SourceName, DestinationName, True) lobjFile.Delete(SourceName) > Use .NET Directory class Imports System.IO Directory.Exists(Name) Directory.CreateDirectory(Name)
|