Click here to Skip to main content
15,888,142 members
Home / Discussions / C#
   

C#

 
QuestionUsing OLE Object Pin
Sarat Gollapudi4-Oct-05 17:44
Sarat Gollapudi4-Oct-05 17:44 
QuestionOpen Excel Project Pin
azusakt4-Oct-05 17:14
azusakt4-Oct-05 17:14 
AnswerRe: Open Excel Project Pin
sean_mufc5-Oct-05 7:22
sean_mufc5-Oct-05 7:22 
QuestionFile Copy Agent Printer Pin
Member 24613494-Oct-05 16:33
Member 24613494-Oct-05 16:33 
AnswerRe: File Copy Agent Printer Pin
Matthew134569844-Oct-05 17:30
sussMatthew134569844-Oct-05 17:30 
QuestionButton with a drop-down arrow Pin
David Wengier4-Oct-05 14:30
David Wengier4-Oct-05 14:30 
AnswerRe: Button with a drop-down arrow Pin
ehuysamer4-Oct-05 22:46
ehuysamer4-Oct-05 22:46 
AnswerRe: Button with a drop-down arrow Pin
Andy Moore5-Oct-05 6:48
Andy Moore5-Oct-05 6:48 
Here is an example from a button control that I created. The drop-down arrow is represented by the number 6 in the Marlett font.

<br />
System.Drawing.Graphics g = this.CreateGraphics();<br />
System.Drawing.Font font = new System.Drawing.Font("Marlett", this.Font.Size);<br />
System.Drawing.SizeF sizeF = g.MeasureString("6", font);<br />
<br />
Brush brush = Enabled ? SystemBrushes.ControlText : new SolidBrush(SystemColors.GrayText);<br />
					<br />
g.DrawString("6", font, brush, <br />
	  Width - 4 - sizeF.Width, (Height - sizeF.Height) / 2.0f);<br />


Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons
QuestionGenerate subsets from a string Pin
JoaoPe4-Oct-05 12:44
JoaoPe4-Oct-05 12:44 
AnswerRe: Generate subsets from a string Pin
Robert Rohde4-Oct-05 19:37
Robert Rohde4-Oct-05 19:37 
Questionhow handle objects and code of setup forms? Pin
Sasuko4-Oct-05 12:43
Sasuko4-Oct-05 12:43 
Questionhow to display script message? Pin
kani984-Oct-05 11:26
kani984-Oct-05 11:26 
AnswerRe: how to display script message? Pin
enjoycrack5-Oct-05 14:43
enjoycrack5-Oct-05 14:43 
GeneralRe: how to display script message? Pin
kani986-Oct-05 7:49
kani986-Oct-05 7:49 
GeneralRe: how to display script message? Pin
enjoycrack6-Oct-05 10:48
enjoycrack6-Oct-05 10:48 
GeneralRe: how to display script message? Pin
kani986-Oct-05 10:56
kani986-Oct-05 10:56 
GeneralRe: how to display script message? Pin
enjoycrack6-Oct-05 15:03
enjoycrack6-Oct-05 15:03 
Questionloop Problem with method Pin
james3774-Oct-05 11:01
james3774-Oct-05 11:01 
AnswerRe: loop Problem with method Pin
Heath Stewart4-Oct-05 11:23
protectorHeath Stewart4-Oct-05 11:23 
Questionantivirus and antivirus API Pin
Mridang Agarwalla4-Oct-05 10:02
Mridang Agarwalla4-Oct-05 10:02 
AnswerRe: antivirus and antivirus API Pin
Dan Neely4-Oct-05 10:26
Dan Neely4-Oct-05 10:26 
Questionexecuting a dos command Pin
Mridang Agarwalla4-Oct-05 9:56
Mridang Agarwalla4-Oct-05 9:56 
AnswerRe: executing a dos command Pin
Heath Stewart4-Oct-05 11:00
protectorHeath Stewart4-Oct-05 11:00 
Questionusing remote SMTP Pin
evgenyus4-Oct-05 9:16
evgenyus4-Oct-05 9:16 
AnswerRe: using remote SMTP Pin
Heath Stewart4-Oct-05 11:19
protectorHeath Stewart4-Oct-05 11:19 

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.