|
-
Feb 10th, 2003, 03:55 PM
#1
Thread Starter
Fanatic Member
ActiveX
I have created an ActiveX control in VB 6 which has an event as below
Public Event evtTone(ByVal vstrTone As String)
The name of the ActiveX control is DTMFDecoder
In the windows form I reference the DTMFDecoder ActiveX and rename it to DTMF
The procedure below becomes available
Is there anything wrong with these parameter? i.e should there be the underscores?
In the below procedure can I use something like console.writeline(AxDTMFDecoder.__ctlDTMFDecoder_evtToneEvent) so that I can see what vstrTone is being passed?
Private Sub DTMF_evtTone(ByVal sender As Object, ByVal e As AxDTMFDecoder.__ctlDTMFDecoder_evtToneEvent) Handles DTMF.evtTone
End Sub
-
Feb 10th, 2003, 04:26 PM
#2
Sleep mode
You can use this Convension (dim __myvar as string) just like
(dim myvar as string)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|