i'm still trying...was able to find this link
http://en.allexperts.com/q/Visual-Basic-1048/Call-dll-procedure-MS-1.htm
so, this is what my code looks like right now, but still not working...
the error i get reads: the expression on click you entered as the event prop...following error: constants, fixed-length strings, arrays, user-defined types and declare statments not allowed as public members of object modules...
...what does that mean?
http://en.allexperts.com/q/Visual-Basic-1048/Call-dll-procedure-MS-1.htm
so, this is what my code looks like right now, but still not working...
Code:
Public Declare Function OpenUSBcr Lib "usbcr.dll" () As Long
Public Declare Function DrawerOpen Lib "usbcr.dll" (ByVal ID As Long) As Long
Public Declare Function CloseUSBcr Lib "usbcr.dll" () As Long
Public Declare Function DrawerState Lib "usbcr.dll" (ByVal ID As Long) As Long
Public Declare Function RetrieveStatistics Lib "usbcr.dll" (ByVal ID As Long, ByVal idx As Long, ByRef buf As Any, ByVal size As Long) As Long
Public Declare Function OpenUSB Lib "usbcr.dll" () As Long
Public Declare Function CloseUSB Lib "usbcr.dll" () As Long
Private Sub Image0_Click()
Dim trythis As Long
trythis = OpenUSB
trythis = DrawOpen(7)
trythis = CloseUSB
End Sub
...what does that mean?