Click here to Skip to main content
15,897,704 members
Home / Discussions / C#
   

C#

 
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 
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 any 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? Could you help me?


In the end we're all just the same
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 
AnswerRe: How to open an internet connection Pin
Divyang Mithaiwala13-Mar-06 4:42
Divyang Mithaiwala13-Mar-06 4:42 
QuestionPasswing a control as parameter Pin
Brendan Vogt12-Mar-06 19:47
Brendan Vogt12-Mar-06 19:47 
QuestionHow to handle attachment in web Pin
dabuskol12-Mar-06 19:13
dabuskol12-Mar-06 19:13 
QuestionShowing HTML table in Winform Control Pin
Mukesh Kumar Gupta12-Mar-06 17:54
Mukesh Kumar Gupta12-Mar-06 17:54 
AnswerRe: Showing HTML table in Winform Control Pin
J. Dunlap12-Mar-06 18:05
J. Dunlap12-Mar-06 18:05 
GeneralRe: Showing HTML table in Winform Control Pin
Mukesh Kumar Gupta12-Mar-06 19:13
Mukesh Kumar Gupta12-Mar-06 19:13 
QuestionLoad report failed Pin
abja12-Mar-06 17:48
abja12-Mar-06 17:48 
QuestionAnnoying new code folding feature in Sharpdevelop 2.0 Pin
Allah On Acid12-Mar-06 15:42
Allah On Acid12-Mar-06 15:42 

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.