3-6 Programmer’s Manual
Example VB.NET
Imports Ultra
Dim rPrint As New Print ' Instantiate class
Dim nStat As String
nStat = Convert.ToString(rPrint.nBatteryLevel)
MsgBox("Battery at " + nStat + " %", MsgBoxStyle.Exclamation,
"Battery Check")