12/21/2012 1:38 PM | |
Posts: 5 Rating:
|
Hello I have a problem with .Net control events . To my WinCC project I have to write custom .Net controls. I used Visual Studio 2010 Proffesional. My controls have events to return specific informations to WinCC. First I tested my controls in WinCC 7.0 Proffesional with this system: Windows XP 32bit SP3. When I placed control on screen I select Properties->Events->Object Events. Next I select control's event -> WystapilBlad. I choose VBS action and WinCC generates this code: Next it turns out that we won't use this version (WinCC 7.0) but this one: Tia Portal V11 SP2 . As before I place my control on screen. I selectt Events tab and on the list I see my event: WystapilBlad. Next I select VB function and this code is generated: [code] Sub OnWystapilBlad(ByVal item) End Sub[/code] I included source code of control (in VS 2010) and dll control itself. I'll be appreciated for any advice with my problem. AttachmentTest.zip (354 Downloads) |
7/11/2017 11:46 AM | |
Joined: 2/12/2015 Last visit: 2/24/2025 Posts: 4 Rating:
|
hey cwiru, did you solve this finally? regards! |
3/21/2022 5:41 AM | |
Joined: 2/28/2017 Last visit: 11/12/2024 Posts: 5 Rating:
|
I have this problem too ,argument in event missing ,but not have solution for .net control event and function |
Follow us on