Click here to Skip to main content
15,898,036 members
Home / Discussions / C#
   

C#

 
GeneralRe: activex .ocx with c# and visual studio .net Pin
Dave Kreskowiak10-Feb-06 7:32
mveDave Kreskowiak10-Feb-06 7:32 
GeneralRe: activex .ocx with c# and visual studio .net Pin
Judah Gabriel Himango10-Feb-06 8:39
sponsorJudah Gabriel Himango10-Feb-06 8:39 
GeneralRe: activex .ocx with c# and visual studio .net Pin
Dave Kreskowiak10-Feb-06 8:41
mveDave Kreskowiak10-Feb-06 8:41 
GeneralRe: activex .ocx with c# and visual studio .net Pin
Judah Gabriel Himango10-Feb-06 9:08
sponsorJudah Gabriel Himango10-Feb-06 9:08 
QuestionNot accept numbers or string in textbox? Pin
WayKlaro!10-Feb-06 3:08
WayKlaro!10-Feb-06 3:08 
AnswerRe: Not accept numbers or string in textbox? Pin
Judah Gabriel Himango10-Feb-06 4:05
sponsorJudah Gabriel Himango10-Feb-06 4:05 
Questionapp.config Pin
fmardani10-Feb-06 2:48
fmardani10-Feb-06 2:48 
AnswerRe: app.config Pin
Judah Gabriel Himango10-Feb-06 4:06
sponsorJudah Gabriel Himango10-Feb-06 4:06 
AnswerRe: app.config Pin
SimonS10-Feb-06 6:14
SimonS10-Feb-06 6:14 
QuestionHow to insert a new column in anywhere of DataSet? Pin
bengoan10-Feb-06 2:25
bengoan10-Feb-06 2:25 
AnswerRe: How to insert a new column in anywhere of DataSet? Pin
Maqsood Ahmed10-Feb-06 4:37
Maqsood Ahmed10-Feb-06 4:37 
GeneralRe: How to insert a new column in anywhere of DataSet? Pin
bengoan10-Feb-06 23:18
bengoan10-Feb-06 23:18 
GeneralRe: How to insert a new column in anywhere of DataSet? Pin
Maqsood Ahmed12-Feb-06 19:37
Maqsood Ahmed12-Feb-06 19:37 
GeneralRe: How to insert a new column in anywhere of DataSet? Pin
bengoan15-Feb-06 18:06
bengoan15-Feb-06 18:06 
QuestionRead mouse buttons when opening form Pin
John Reinhold10-Feb-06 2:22
John Reinhold10-Feb-06 2:22 
Hi there.

I'm pretty new in using C# and VS2005. I've made a little program that opens a calender in a windows form. Here's the trouble:

How can I read the mouse buttons so that I can know if the program is startet by a click (then the left button will still be pressed down when my program starts) or by key press on the keyboard? I can not get the information before the program startes, so I can not open it with this information as a parameter.

I need it to set the position to either the pointers position (when started by mouseclick) or center on the screen (when started by keyboard).

I know that a windows form contains the possibility to call a method upon mouseclick. But in this case, the left mousebutton is pressed down before the program executes and the form opens. But of course, in the beginning of the program, the left button will still be pressed down. So I think that it will be possible to detect, I just don't know how Frown | :-(

I hope that somebody can help me, thanks in advance.


__________________
John Reinhold - DK
AnswerRe: Read mouse buttons when opening form Pin
Judah Gabriel Himango10-Feb-06 4:22
sponsorJudah Gabriel Himango10-Feb-06 4:22 
QuestionCheck to see if VS 2005 is installed? Pin
daktmacfan10-Feb-06 2:15
daktmacfan10-Feb-06 2:15 
AnswerRe: Check to see if VS 2005 is installed? Pin
Judah Gabriel Himango10-Feb-06 5:10
sponsorJudah Gabriel Himango10-Feb-06 5:10 
QuestionXSL Display Problem!!! Pin
Support12310-Feb-06 2:11
Support12310-Feb-06 2:11 
AnswerRe: XSL Display Problem!!! Pin
JacquesDP10-Feb-06 3:09
JacquesDP10-Feb-06 3:09 
GeneralRe: XSL Display Problem!!! Pin
Support12310-Feb-06 3:57
Support12310-Feb-06 3:57 
GeneralRe: XSL Display Problem!!! Pin
JacquesDP10-Feb-06 4:01
JacquesDP10-Feb-06 4:01 
AnswerRe: XSL Display Problem!!! Pin
leppie10-Feb-06 3:09
leppie10-Feb-06 3:09 
GeneralRe: XSL Display Problem!!! Pin
Support12310-Feb-06 4:01
Support12310-Feb-06 4:01 
GeneralRe: XSL Display Problem!!! Pin
leppie10-Feb-06 5:49
leppie10-Feb-06 5:49 

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.