...
This document describes the procedures and utilities for building real time Web based graphic screens under Visual Basic .NET 2003. These screens may be animated using real time data from a control system. Screens may be displayed on any workstation using a browser such as Microsoft Internet Explorer 5.5.
...
Upgrade TPRI VB6 Screens to VB.NET
Expand |
---|
title | Starting VB.NET Development |
---|
|
Click Start Select Programs Select Microsoft Visual Studio .NET 2003 Click Microsoft Visual Studio .NET 2003 to start .NET 2003 development environment
|
...
Expand |
---|
title | Other Common Upgrade Problems |
---|
|
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)
|
...