Click here to Skip to main content
15,924,935 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unable to comile Spart Parser C# in .NET Pin
odsby26-Dec-04 10:56
odsby26-Dec-04 10:56 
QuestionJoystick control? Pin
TyronX26-Dec-04 0:38
TyronX26-Dec-04 0:38 
AnswerRe: Joystick control? Pin
Pyro Joe26-Dec-04 4:54
Pyro Joe26-Dec-04 4:54 
GeneralDetecting Media Insertion Pin
delemur26-Dec-04 0:26
delemur26-Dec-04 0:26 
GeneralRe: Detecting Media Insertion Pin
Dennis C. Dietrich26-Dec-04 7:13
Dennis C. Dietrich26-Dec-04 7:13 
Generalweb service call Pin
ABBASI_RA25-Dec-04 20:31
ABBASI_RA25-Dec-04 20:31 
GeneralwFind a window's x y location and x y size Pin
eggie525-Dec-04 18:37
eggie525-Dec-04 18:37 
GeneralRe: wFind a window's x y location and x y size Pin
Pyro Joe26-Dec-04 5:14
Pyro Joe26-Dec-04 5:14 
I don't know what you mean by "If I have the handle to it," but use this code (examine the comments!!!). place this code in the Form1_Load event( yes, all of it)

string x = this.Location.X.ToString();<br />
			string y = this.Location.Y.ToString();<br />
			string height = this.Height.ToString();<br />
			string width = this.Width.ToString();<br />
			//On the resize and move events of the form, you'll want them both to point to the Form1_Load event.<br />
			//This way it will show the updated x-position, y-position, height, and width as you resize and move the form.<br />
			//now send the string information to their appropriate text boxes<br />
			//In this example, I used 4 textBoxes (textBox1, textBox2, etc.)<br />
			textBox1.Text = x;<br />
			textBox2.Text = y;<br />
			textBox3.Text = height;<br />
			textBox4.Text = width;<br />
			//in order to show the form contents while dragging, you have to change a setting (if its not already set this way) in the control panel<br />
			//go to, control panel > performance and maintenance > adjust visual effects > then check the "show window contents while dragging" and press ok or apply<br />
			//I hope this is what you were looking for

GeneralRe: wFind a window's x y location and x y size Pin
eggie526-Dec-04 8:00
eggie526-Dec-04 8:00 
GeneralRe: wFind a window's x y location and x y size Pin
Stefan Troschuetz26-Dec-04 6:10
Stefan Troschuetz26-Dec-04 6:10 
GeneralRe: wFind a window's x y location and x y size Pin
Dennis C. Dietrich26-Dec-04 6:40
Dennis C. Dietrich26-Dec-04 6:40 
QuestionHow to play .mp3 in c# Pin
bruno_inacio25-Dec-04 15:10
bruno_inacio25-Dec-04 15:10 
AnswerRe: How to play .mp3 in c# Pin
Pyro Joe25-Dec-04 16:55
Pyro Joe25-Dec-04 16:55 
GeneralC# Properties Pin
IceFear25-Dec-04 13:29
IceFear25-Dec-04 13:29 
GeneralRe: C# Properties Pin
Alex Korchemniy25-Dec-04 20:36
Alex Korchemniy25-Dec-04 20:36 
GeneralRe: C# Properties Pin
ChesterPoindexter26-Dec-04 0:42
professionalChesterPoindexter26-Dec-04 0:42 
QuestionHow To Merge DataGrid Cells ? Pin
IceFear25-Dec-04 13:25
IceFear25-Dec-04 13:25 
Generalsyntax coloring richtexbox Pin
Tyrus18225-Dec-04 13:03
Tyrus18225-Dec-04 13:03 
GeneralRe: syntax coloring richtexbox Pin
Pyro Joe25-Dec-04 16:50
Pyro Joe25-Dec-04 16:50 
GeneralRe: syntax coloring richtexbox Pin
Tyrus18226-Dec-04 9:40
Tyrus18226-Dec-04 9:40 
GeneralCreating virtual desktop with restricted access... Pin
msmriyaz25-Dec-04 7:12
msmriyaz25-Dec-04 7:12 
GeneralRe: Creating virtual desktop with restricted access... Pin
Dennis C. Dietrich25-Dec-04 8:20
Dennis C. Dietrich25-Dec-04 8:20 
GeneralRe: Creating virtual desktop with restricted access... Pin
msmriyaz25-Dec-04 10:14
msmriyaz25-Dec-04 10:14 
GeneralRe: Creating virtual desktop with restricted access... Pin
Dennis C. Dietrich25-Dec-04 10:39
Dennis C. Dietrich25-Dec-04 10:39 
GeneralRe: Creating virtual desktop with restricted access... Pin
msmriyaz25-Dec-04 11:21
msmriyaz25-Dec-04 11:21 

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.