I have dded a VisM control into vb.net via adding a reference to VisM.ocx and adding it in my toolbox as an activeX control.
I added the following code in a button:
Try
'open the connection
AxVisM1.Connect("CN_IPTCP:127.0.0.1[1972]")
'set namespace to livedata (for formal namespaces, use the @ symbol)
AxVisM1.NameSpace = "LIVEDATA"
'do stuff.
MsgBox("Cache is now active")
'close the connection
AxVisM1.DeleteConnection()
Catch ex As Exception
'close the connection
AxVisM1.DeleteConnection()
MsgBox(ex.ToString)
End Try
From here, I need to output variables from GLOBALs named ^BACKTR("INDX","COMPANY",
how do I output all/some variables from this GLOBALs into a list, a datatable, or a single variable even? All I need is to access it in VB.net and from there I can work with the said GLOBALs for my project. I will accept even if the output is raw (not in columns or anything ie: ^BACKTR("INDX","COMPANY",1,63572,9792) = ""
as from it I can already use the data in my application