I have a program written in VB6. We are still working on it, but we need to move into the .Net environment with it.
The first piece I want to deal with is getting the collected data into some globally accessible system/format.
I have to maintain the current program (in VB6) and...
I'm not even sure my title is correct, so please forgive me.
I have created a class that is used to set properties on controls on Form1 from other forms.
The basic process is that I have essentially created a collection of Public Variables that can be set by any form, and used by any...
I need to set a radioButon to checked and not generate a CheckedChanged event.
Referring to an earlier similar post of mine:
The SendMessageA function...
So, looking thru some of the posts on this forum, I came across one that referred to the use of DllImport.
Upon further investigation, I discovered that I could in fact use the SendMessageByNum function!
Actually, it worked out that it is called by it's alias - SendMessageA.
I'm trying to figure out how set the SelectedIndex to a -1 without generating an event.
In VB6, I would use the function:
Call SendMessageBynum(TargetList.hwnd, LB_SETCURSEL, SetValue, 0)
But, I have not been able to find instruction on how to use the VB6 function in C#.