Results 1 to 2 of 2

Thread: ActiveX

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    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

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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
  •  



Click Here to Expand Forum to Full Width