Hello again,
In Visual Basic 6.0 I'm including an OCX file by the name "LOWUSB.OCX" in the components and I execute the following code in a Sub / Function. USB9A is the name of the control that I place on the form
USB9A.USB9AClose
Now My Question is how do I write the code for the same in PowerBasic. How do I include the OCX to PB??? I'm using PB 8.0. Please provide me with some example code. I started learning PB and I'm trying to implement something as I do in VB
Thanks for your time.
In Visual Basic 6.0 I'm including an OCX file by the name "LOWUSB.OCX" in the components and I execute the following code in a Sub / Function. USB9A is the name of the control that I place on the form
Code:
Dim IsOk as Integer USB9A.USB9AClose IsOk=USB9A.USB9AOpen("abcd") If IsOk=True Then If USB9A.USB9AMEM="1234" Then MsgBox "Ok" Else MsgBox "No" End If Else MsgBox "No" End If
Now My Question is how do I write the code for the same in PowerBasic. How do I include the OCX to PB??? I'm using PB 8.0. Please provide me with some example code. I started learning PB and I'm trying to implement something as I do in VB
Thanks for your time.
Comment