Differences between VB 6 and VB.NET

 

See Also: What's not supported

Because of Visual Basic 6 case insensitivity, ALIAS class names are used.

.NET Class Name

VB 6 Class Name ALIAS

Description

INGEAR.NET.ABLINK.Controller

NETABLINK.Device

Target PLC and underlying communication

INGEAR.NET.ABLINK.Tag

NETABLINK.Item

PLC Data Item and Value

INGEAR.NET.ABLINK.TagGroup

NETABLINK.Group

Optimized collection of PLC items.

 

With the few exceptions listed below, NETABLINK behaves exactly as INGEAR.NET.ABLINK.

 

INGEAR.NET.ABLINK vs NETABLINK

INGEAR.NET.ABLINK

NETABLINK for VB6

VB 6 Difference

Class Controller

Class Device

 

Controller.MyObject

Device.MyObjectSet

Device.MyObjectGet

.MyObject property replaced with methods

.MyObject is VARIANT data type

Controller.ReadTag (Single or Tag Array operation)

Device.ReadTag

Device.ReadTagArray

Single Tag operation

Tag Array operation

Controller.WriteTag (Single or Tag Array operation)

Device.WriteTag

Device.WriteTagArray

Single Tag operation

Tag Array operation

Controller.GroupRead (Single or Group Array operation)

Device.GroupRead

Device.GroupReadArray

Single Group operation

Group Array operation

Controller.GroupWrite (Single or Group Array operation)

Device.GroupWrite

Device.GroupWriteArray

Single Group operation

Group Array operation

Controller.Action

Device.Action

Sender passed as only parameter

Class TagGroup

Class Group

 

TagGroup.AddTag (Single or Tag Array operation)

Group.AddTag

Group.AddTagArray

Single Group operation

Group Array operation

TagGroup.RemoveTag (Single or Tag Array operation)

Group.RemoveTag

Group.RemoveTagArray

Single Group operation

Group Array operation

TagGroup.MyGroup

Group.MyObjectSet

Device.MyObjectGet

.MyObject property replaced with methods

.MyObject is VARIANT data type

TagGroup.Update

Group.Update

Sender passed as only parameter

Class Tag

Class Item

 

Tag.Value

Item.ValueGet

Item.ValueSet

.Value property replaced with methods

.Value is VARIANT data type

Tag.MyObject

Item.MyObjectGet

Item.MyObjectGet

.MyObject property replaced with methods

MyObject is VARIANT data type

Tag.Now

Item.GetNow

Item.SetNow

.Now property replaced with methods

.Now is VARIANT data type

Tag.Changed

Item.Changed

Sender passed as only parameter