in Education by
I have a VB6 app which references and invokes a .NET GUI component. The .NET GUI component has a datagrid. I want a double-click on a row in the data-grid to cause a form in the VB6 app to show? How could I go about doing this? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I assume you're accessing the .NET objects via COM interop, in which case you just create a normal event in the control and you can pick up on that in the consumer (VB6) as you do any other control events. public MyNetClass { public delegate void RowDoubleClickedDelegate(int Row); public event RowDoubleClickedDelegate RowDoubleClicked; protected void OnRowDoubleClicked(int row) { if (RowDoubleClicked != null) { RowDoubleClicked(row); } } } And in VB6: Dim WithEvents NetObect As MyNetClass Private Sub MyNetClass_RowDoubleClicked(ByVal Row As Long) MsgBox CStr(Row) & " clicked" End Sub

Related questions

0 votes
    I have been developing a webpage which uses n number of dropdownlists which are binding dynamically inside a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 18, 2022 in Education by JackTerrance
0 votes
0 votes
    I'm making a program that has a login. Is there any way to encrypt the normal password so that ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    I want to delete some certain characters that used wrongly in a string. "........I.wanna.delete. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    We're able to install our VB6 application on Windows 7 64-bit, but it won't display any reports ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    How to get callback in our app when user delete song from music app. Is there any solution? Thanks ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
0 votes
    I am running aspnet_compiler as a post-build event, using the following command: aspnet_compiler.exe -v / - ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    I have a custom input validation component that I use in a form. Something like 15 instances of this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 17, 2022 in Education by JackTerrance
0 votes
    Which of these interfaces handles the event when a component is added to a container? (a) ComponentListener (b) ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these interfaces handles the event when a component is added to a container? (a) ComponentListener ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    I want to automate the launch of a set of Linux EC2 instances. Basically, I want to write a script/program that ... in Amazon AWS/EC2? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I have an attribute and I'd like to make the coercion fire on every input value. Prior to 0.72 ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 7, 2022 in Education by JackTerrance
0 votes
    I have an attribute and I'd like to make the coercion fire on every input value. Prior to 0.72 ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    I'm working on an extension (BHO) for Internet Explorer, and having trouble attaching a .NET delegate to ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    I'm using SafetyNet API for checking if device is rooted or not and using the below helpful code but ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 19, 2022 in Education by JackTerrance
...