Click here to Skip to main content
15,893,508 members
Home / Discussions / C#
   

C#

 
GeneralThreading safety with windows form Pin
mitreviper5-Oct-04 17:23
mitreviper5-Oct-04 17:23 
GeneralRe: Threading safety with windows form Pin
Alex Korchemniy5-Oct-04 17:45
Alex Korchemniy5-Oct-04 17:45 
GeneralRe: Threading safety with windows form Pin
Stefan Troschuetz5-Oct-04 20:58
Stefan Troschuetz5-Oct-04 20:58 
QuestionCan I pass an arrayList as arguments to MFC dll and return an CArray object from MFC dll to c# as arrayList using P/Invoke? Pin
ting6685-Oct-04 16:17
ting6685-Oct-04 16:17 
GeneralTextBox w/ transparent bg Pin
Anonymous5-Oct-04 14:48
Anonymous5-Oct-04 14:48 
Generalbitmaps Pin
cmarmr5-Oct-04 14:43
cmarmr5-Oct-04 14:43 
QuestionOne Program Controls Another? Pin
BonJoviJones5-Oct-04 12:40
BonJoviJones5-Oct-04 12:40 
AnswerRe: One Program Controls Another? Pin
Alex Korchemniy5-Oct-04 17:54
Alex Korchemniy5-Oct-04 17:54 
Poor you. I really hate the way you're going be using automation, but I guess ur kinda stuck. The ultimate solution is to rewrite the program but that obviously is not feasible.

You're going to have to do some stuff with win32 api. Look into MSDN... you need to know how to

- get a handle to a window (this is used to "identify" what you are sending a message to)
- use SendMessage() - this is used to send a message to the windows/control u want to send a message to
- know what messages to send - there are a lot of messages you can play around with

A good tool to use for messing around is Micorosft Spy++. Also, google is your friend. You can search for "programatically click button" and u will find it in a snap.
GeneralProgress Bar Pin
Lash205-Oct-04 11:56
Lash205-Oct-04 11:56 
GeneralRe: Progress Bar Pin
Alex Korchemniy5-Oct-04 12:53
Alex Korchemniy5-Oct-04 12:53 
GeneralRe: Progress Bar Pin
Dave Kreskowiak5-Oct-04 17:13
mveDave Kreskowiak5-Oct-04 17:13 
GeneralRe: Progress Bar Pin
Lash206-Oct-04 4:02
Lash206-Oct-04 4:02 
GeneralRe: Progress Bar Pin
Dave Kreskowiak6-Oct-04 13:06
mveDave Kreskowiak6-Oct-04 13:06 
General"NO Such interface supported" C# to Excel Pin
Ruchi Gupta5-Oct-04 11:20
Ruchi Gupta5-Oct-04 11:20 
GeneralLog to Access database from C# Pin
hans175-Oct-04 10:15
hans175-Oct-04 10:15 
Generalprinting with c# Pin
Member 12961365-Oct-04 9:01
Member 12961365-Oct-04 9:01 
GeneralRe: printing with c# Pin
Anonymous5-Oct-04 14:28
Anonymous5-Oct-04 14:28 
GeneralRe: printing with c# Pin
Member 12961367-Oct-04 7:06
Member 12961367-Oct-04 7:06 
GeneralUsing ArrayList in C sharp Pin
aussi5-Oct-04 8:59
aussi5-Oct-04 8:59 
GeneralRe: Using ArrayList in C sharp Pin
Christian Graus5-Oct-04 11:48
protectorChristian Graus5-Oct-04 11:48 
GeneralDisabling a TabPage in TabControl Pin
jagan795-Oct-04 5:41
jagan795-Oct-04 5:41 
GeneralRe: Disabling a TabPage in TabControl Pin
sreejith ss nair5-Oct-04 6:03
sreejith ss nair5-Oct-04 6:03 
GeneralRe: Disabling a TabPage in TabControl Pin
jagan795-Oct-04 6:33
jagan795-Oct-04 6:33 
GeneralRe: Disabling a TabPage in TabControl Pin
Ruchi Gupta5-Oct-04 11:30
Ruchi Gupta5-Oct-04 11:30 
GeneralRe: Disabling a TabPage in TabControl Pin
jagan795-Oct-04 12:14
jagan795-Oct-04 12:14 

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.