Click here to Skip to main content
15,920,828 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Raising Events in .Net Pin
f*** YOU27-Sep-06 18:39
f*** YOU27-Sep-06 18:39 
QuestionTest vs. Production databases Pin
joe/jobo27-Sep-06 6:33
joe/jobo27-Sep-06 6:33 
AnswerRe: Test vs. Production databases Pin
Dave Kreskowiak27-Sep-06 13:06
mveDave Kreskowiak27-Sep-06 13:06 
AnswerRe: Test vs. Production databases Pin
sujith3127-Sep-06 21:09
sujith3127-Sep-06 21:09 
QuestionGeneral Question about Dundas Charts Pin
Jethro6327-Sep-06 2:15
Jethro6327-Sep-06 2:15 
AnswerRe: General Question about Dundas Charts Pin
Christian Graus27-Sep-06 15:23
protectorChristian Graus27-Sep-06 15:23 
QuestionHow to retrieve control's "Name" and "Value" in another program using Win32 API? Pin
niranjanshaiwale26-Sep-06 20:41
niranjanshaiwale26-Sep-06 20:41 
AnswerRe: How to retrieve control's "Name" and "Value" in another program using Win32 API? Pin
Dave Kreskowiak27-Sep-06 12:03
mveDave Kreskowiak27-Sep-06 12:03 
There are no names in the sense you're thinking of. You'd be looking for the class name of the window you want to get. GetClassName[^]

As for value, not every control responds to WM_GETTEXT and there is no Value property that you can get either. If WM_GETTEXT doesn't work, you'd have to investigate other possibilities, like doing some serious debugging of the target app and digging around to get at the location where the control stores its data and try and grab it by directly reading memory. No, I don't have any example code.

Basically, there is no one method that is going to work for every control. What you want to do is problematic and not very reliable.


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: How to retrieve control's "Name" and "Value" in another program using Win32 API? Pin
niranjanshaiwale27-Sep-06 19:13
niranjanshaiwale27-Sep-06 19:13 
GeneralRe: How to retrieve control's "Name" and "Value" in another program using Win32 API? Pin
Dave Kreskowiak28-Sep-06 2:12
mveDave Kreskowiak28-Sep-06 2:12 
QuestionPrevent from being minimised Pin
K edar V26-Sep-06 3:33
K edar V26-Sep-06 3:33 
QuestionSerial Registration Software Code Pin
Stormz25-Sep-06 5:40
Stormz25-Sep-06 5:40 
QuestionListView Click Event Pin
vijayaramaraju25-Sep-06 0:06
vijayaramaraju25-Sep-06 0:06 
QuestionAvoid pasting any content in textbox Pin
Vipul Mehta22-Sep-06 19:34
Vipul Mehta22-Sep-06 19:34 
AnswerRe: Avoid pasting any content in textbox Pin
Tad McClellan23-Sep-06 4:46
professionalTad McClellan23-Sep-06 4:46 
AnswerRe: Avoid pasting any content in textbox Pin
Guffa23-Sep-06 4:54
Guffa23-Sep-06 4:54 
GeneralRe: Avoid pasting any content in textbox Pin
Vipul Mehta24-Sep-06 18:29
Vipul Mehta24-Sep-06 18:29 
AnswerRe: Avoid pasting any content in textbox Pin
Guffa24-Sep-06 21:02
Guffa24-Sep-06 21:02 
GeneralRe: Avoid pasting any content in textbox Pin
Vipul Mehta24-Sep-06 23:57
Vipul Mehta24-Sep-06 23:57 
AnswerRe: Avoid pasting any content in textbox Pin
Guffa25-Sep-06 9:16
Guffa25-Sep-06 9:16 
QuestionAdd-in For SourceSafe Pin
Tad McClellan22-Sep-06 11:35
professionalTad McClellan22-Sep-06 11:35 
QuestionCollection Change notification [modified] Pin
nicknotyet22-Sep-06 7:44
nicknotyet22-Sep-06 7:44 
QuestionPassing a Form handle to a constructor. Pin
JayThomas200622-Sep-06 4:48
JayThomas200622-Sep-06 4:48 
Questionneed a trick [modified] Pin
milleusi22-Sep-06 4:20
milleusi22-Sep-06 4:20 
AnswerRe: need a trick Pin
leckey23-Sep-06 18:51
leckey23-Sep-06 18:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.