Click here to Skip to main content
15,921,660 members
Home / Discussions / C#
   

C#

 
AnswerRe: Global variables in windows forms??? Pin
Carl Mercier25-Oct-04 17:44
Carl Mercier25-Oct-04 17:44 
AnswerRe: Global variables in windows forms??? Pin
Alex Korchemniy25-Oct-04 19:31
Alex Korchemniy25-Oct-04 19:31 
AnswerRe: Global variables in windows forms??? Pin
Dave Kreskowiak26-Oct-04 0:36
mveDave Kreskowiak26-Oct-04 0:36 
GeneralRe: Global variables in windows forms??? Pin
oakcool27-Oct-04 13:28
oakcool27-Oct-04 13:28 
AnswerRe: Global variables in windows forms??? Pin
Gary Thom26-Oct-04 4:40
Gary Thom26-Oct-04 4:40 
Generalneed help with optical character recognition Pin
tom_dx25-Oct-04 14:20
tom_dx25-Oct-04 14:20 
GeneralRe: need help with optical character recognition Pin
Christian Graus25-Oct-04 14:33
protectorChristian Graus25-Oct-04 14:33 
GeneralSendInput Pin
Keith La Force25-Oct-04 13:06
Keith La Force25-Oct-04 13:06 
Hi, I have a question about the function SendInput from the Win32 API. Does it send the input to the active application? The documentation states that it puts it serially into the keyboard and mouse streams, but I am calling it as follows: with Notepad or Microsoft Word open

SendInput(1, ref input, Marshal.SizeOf(input));

where input is define as follows:

public struct INPUT
{
public int type;
public MOUSEINPUT mi;
public KEYBOARDINPUT ki;
}

I am getting the information to fill in the structs from another computer, and they are the same, but it does not actually send a keystroke. For example, if I type 'a' on computer 1, then it should SendInput 'a' on the second computer.

Thanks for your help.

Keith La Force
GeneralRe: SendInput [EDITED] Pin
Dave Kreskowiak25-Oct-04 15:05
mveDave Kreskowiak25-Oct-04 15:05 
GeneralRe: SendInput [EDITED] Pin
Keith La Force25-Oct-04 15:55
Keith La Force25-Oct-04 15:55 
GeneralRe: SendInput Pin
Heath Stewart25-Oct-04 21:59
protectorHeath Stewart25-Oct-04 21:59 
GeneralRe: SendInput Pin
Keith La Force26-Oct-04 12:44
Keith La Force26-Oct-04 12:44 
GeneralRe: SendInput Pin
Heath Stewart27-Oct-04 13:32
protectorHeath Stewart27-Oct-04 13:32 
GeneralOverride string toString() --HELP Pin
Member 138504925-Oct-04 12:24
Member 138504925-Oct-04 12:24 
GeneralRe: Override string toString() --HELP Pin
Christian Graus25-Oct-04 12:48
protectorChristian Graus25-Oct-04 12:48 
GeneralRe: Override string toString() --HELP Pin
leppie25-Oct-04 23:02
leppie25-Oct-04 23:02 
GeneralRe: Override string toString() --HELP Pin
Christian Graus26-Oct-04 9:13
protectorChristian Graus26-Oct-04 9:13 
GeneralRe: Override string toString() --HELP Pin
Nick Parker25-Oct-04 13:18
protectorNick Parker25-Oct-04 13:18 
Questionwhat can keep a C# form app from closing down properly? Pin
vista2725-Oct-04 11:08
vista2725-Oct-04 11:08 
AnswerRe: what can keep a C# form app from closing down properly? Pin
vista2725-Oct-04 11:17
vista2725-Oct-04 11:17 
GeneralRe: what can keep a C# form app from closing down properly? Pin
Stefan Troschuetz25-Oct-04 20:58
Stefan Troschuetz25-Oct-04 20:58 
AnswerRe: what can keep a C# form app from closing down properly? Pin
Colin Angus Mackay25-Oct-04 11:19
Colin Angus Mackay25-Oct-04 11:19 
Questiondelete row in datagrid? Pin
xiaowenjie25-Oct-04 10:36
xiaowenjie25-Oct-04 10:36 
AnswerRe: delete row in datagrid? Pin
Stanciu Vlad25-Oct-04 19:53
Stanciu Vlad25-Oct-04 19:53 
GeneralSave database password with crystal report Pin
tomc25-Oct-04 8:56
tomc25-Oct-04 8:56 

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.