Event in VBA
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, im new to VB. I like to interact with an registered activex control. F2 shows the analogous event ScanReady(occurs when datafile from scanner is at the clippboard) The tree is like:
Event ScanReady(pDobj As IDataObject)
|_
Class IDataObject:
Sub QueryGetData(pformatetc As tagFORMATETC)
|_
Type tagFORMATETCHow to implement a message shown in my form when data is avaible?? My idea is like this:
_________________________________________
Private Sub ScanReady()Dim pDobj As IDataObject
pDobj.QueryGetData (pformatec)
Label1.Caption = "Scandata avaible"
End Sub
_________________________________________Private Sub QueryGetData()
Dim pformatec As tagFORMATETC
End Sub
_________________________________________Can somebody help me? happy coding, -mark