Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping events from ActiveX on winform
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Controls activeX
Titre:
Trapping events from ActiveX on winform
Divers
Thread ID:
00767312
Message ID:
00767312
Vues:
52
I have an activex control (ctSchedule.ocx from dbi-tech). I currently use this activex in vfp for displaying and interacting with schedule and it works great. I have it populating now in vb.net. But I can't figure out how to capture/trap the activex events.

For example, it has an event called scheduleOver that fires when the user moves a mouse over the schedule.

In my code for the form, somehow the system created this:
    Private Sub AxctSchedule1_CtrlError(ByVal sender As System.Object, ByVal e As AxCTSCHEDULELib._DctScheduleEvents_CtrlErrorEvent) Handles AxctSchedule1.CtrlError

    End Sub
This looks like an event to me. I so created:
   Private Sub axctSchedule1_ScheduleOver(ByVal sender As System.Object, ByVal e As AxCTSCHEDULELib._DctScheduleEvents_ScheduleOver) Handles AxctSchedule1.ScheduleOver

    End Sub
But this has the sqiggly line under: ByVal e As AxCTSCHEDULELib._DctScheduleEvents_ScheduleOver portion, and intellisense say: AxCTSCHEDULELib._DctScheduleEvents_ScheduleOver is not defined. It doesn't help me while I type in that portion either.



any help or links appreciated.

Thanks
Kirk
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform