Click here to Skip to main content
15,908,626 members
Home / Discussions / C#
   

C#

 
Questionhow to move a word document with c# Pin
fady_sayegh12-Mar-06 23:32
fady_sayegh12-Mar-06 23:32 
AnswerRe: how to move a word document with c# Pin
gnjunge13-Mar-06 0:29
gnjunge13-Mar-06 0:29 
Questioncan we use private static field Pin
shashank veerkar12-Mar-06 23:30
shashank veerkar12-Mar-06 23:30 
AnswerRe: can we use private static field Pin
hpetriffer12-Mar-06 23:40
hpetriffer12-Mar-06 23:40 
Questionapplying ccs to email sent using C# Pin
pride and no12-Mar-06 22:06
pride and no12-Mar-06 22:06 
AnswerRe: applying ccs to email sent using C# Pin
Vasudevan Deepak Kumar12-Mar-06 22:48
Vasudevan Deepak Kumar12-Mar-06 22:48 
QuestionArticle Usage Notification Pin
Prasadrn12-Mar-06 22:02
Prasadrn12-Mar-06 22:02 
QuestionImage not displaying with combobox Pin
Dave McCool12-Mar-06 22:00
Dave McCool12-Mar-06 22:00 
I need help. I have a combobox with this code in it:

case 0: MessageBox.Show("Windows Longhorn 1 (1024x768)","Windows Longhorn Cool (1024x768)"); pictureBox1.Image = System.Drawing.Image.FromFile("Themes\\Wallpapers\\Windows Longhorn\\windows longhorn (1024x768).jpg"); break;<br />
				case 1: MessageBox.Show("Windows Longhorn 1 (420x336)","Windows Longhorn Cool (420x336)"); pictureBox1.Image = System.Drawing.Image.FromFile("Themes\\Wallpapers\\Windows Longhorn\\windows longhorn (420x336).jpg"); break;<br />
				case 2: MessageBox.Show("Windows Longhorn Define the digital decade (1024x768)","Longhorn Define the digital decade"); pictureBox1.Image = System.Drawing.Image.FromFile("Themes\\Wallpapers\\Windows Longhorn\\Windows Longhorn Define the Decade (1280x1024).jpg"); break;<br />
				case 3: MessageBox.Show("Windows Longhorn M6 Build Orange (800x600)"); pictureBox1.Image = System.Drawing.Image.FromFile("Themes\\Wallpapers\\Windows Longhorn\\New Longhorn orange M6 (800x600).jpg"); break;<br />
				case 4: MessageBox.Show("Windows Longhorn M6 Build Orange (1024x768)"); pictureBox1.Image = System.Drawing.Image.FromFile("Themes\\Wallpapers\\Windows Longhorn\\New Longhorn orange M6 (1024x768).jpg"); break;<br />
				case 5: MessageBox.Show("Windows Longhorn Home Edition (1600x1200)","Longhorn Home Edition Wallpaper"); System.Drawing.Image.FromFile("Themes\\Wallpapers\\Windows Longhorn\\Windows Longhorn Home (1280x1024).jpg"); break;<br />
				case 6: MessageBox.Show("Windows Longhorn Green Glow (420x336)", "Windows Longhorn Green Glow"); System.Drawing.Image.FromFile("Themes\\Wallpapers\\Windows Longhorn\\Windows Longhorn Green Glow (420x336).jpg"); break;<br />
				<br />
			}

WHen I choose an case up to case 4, the image displays in the pictureBox1. But if I choose case 5 or case 6, the image does not show. Why? Mad | :mad: Could you help me?


In the end we're all just the same
AnswerRe: Image not displaying with combobox Pin
gnjunge13-Mar-06 0:31
gnjunge13-Mar-06 0:31 
GeneralRe: Image not displaying with combobox Pin
Dave McCool13-Mar-06 21:49
Dave McCool13-Mar-06 21:49 
Questioninitialize panel Pin
hpetriffer12-Mar-06 21:59
hpetriffer12-Mar-06 21:59 
AnswerRe: initialize panel Pin
gnjunge13-Mar-06 0:34
gnjunge13-Mar-06 0:34 
GeneralRe: initialize panel Pin
hpetriffer13-Mar-06 1:53
hpetriffer13-Mar-06 1:53 
GeneralRe: initialize panel Pin
gnjunge13-Mar-06 2:01
gnjunge13-Mar-06 2:01 
GeneralRe: initialize panel Pin
hpetriffer13-Mar-06 2:07
hpetriffer13-Mar-06 2:07 
QuestionNo display in picturebox Pin
Dave McCool12-Mar-06 21:58
Dave McCool12-Mar-06 21:58 
AnswerRe: No display in picturebox Pin
albCode12-Mar-06 23:20
albCode12-Mar-06 23:20 
QuestionArticle Usage Notification Pin
Prasadrn12-Mar-06 21:57
Prasadrn12-Mar-06 21:57 
QuestionHow to get element (tag) in AxWebBrowser Pin
Dima Filipiuk12-Mar-06 21:36
Dima Filipiuk12-Mar-06 21:36 
Questionhow to use drawing on word using C# Pin
sam_g112-Mar-06 21:18
sam_g112-Mar-06 21:18 
QuestionVideo Streaming Pin
ArunAntony12-Mar-06 21:07
ArunAntony12-Mar-06 21:07 
AnswerRe: Video Streaming Pin
mcljava13-Mar-06 8:20
mcljava13-Mar-06 8:20 
QuestionNeed Help regarding RTTI Pin
Taimoor Mirza12-Mar-06 20:43
Taimoor Mirza12-Mar-06 20:43 
AnswerRe: Need Help regarding RTTI Pin
Colin Angus Mackay12-Mar-06 21:45
Colin Angus Mackay12-Mar-06 21:45 
QuestionHow to open an internet connection Pin
ventomito12-Mar-06 20:22
ventomito12-Mar-06 20:22 

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.