Click here to Skip to main content
15,890,845 members
Home / Discussions / C#
   

C#

 
QuestionStoring Size&Position of WindowForms Pin
Frygreen17-Aug-06 11:00
Frygreen17-Aug-06 11:00 
AnswerRe: Storing Size&Position of WindowForms Pin
Ennis Ray Lynch, Jr.17-Aug-06 12:19
Ennis Ray Lynch, Jr.17-Aug-06 12:19 
QuestionComboBox/CheckBox background color when disabled. [modified] Pin
sykiemikey17-Aug-06 10:54
sykiemikey17-Aug-06 10:54 
AnswerRe: ComboBox/CheckBox background color when disabled. Pin
Nader Elshehabi17-Aug-06 19:02
Nader Elshehabi17-Aug-06 19:02 
GeneralRe: ComboBox/CheckBox background color when disabled. Pin
sykiemikey17-Aug-06 20:58
sykiemikey17-Aug-06 20:58 
GeneralRe: ComboBox/CheckBox background color when disabled. Pin
sykiemikey17-Aug-06 23:16
sykiemikey17-Aug-06 23:16 
GeneralRe: ComboBox/CheckBox background color when disabled. Pin
Nader Elshehabi18-Aug-06 5:20
Nader Elshehabi18-Aug-06 5:20 
QuestionReading Image from this link Pin
mm31017-Aug-06 10:49
mm31017-Aug-06 10:49 
I am using this Code for reading Image from URL

		private Image getImage(string url)<br />
		{<br />
			Image im = null;<br />
			try<br />
			{				<br />
				HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);<br />
				request.Method = "GET";<br />
				request.Timeout = 15000;<br />
				request.ProtocolVersion = HttpVersion.Version11;<br />
<br />
				using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())<br />
				{<br />
					using (Stream responseStream = response.GetResponseStream())<br />
					{	<br />
						im = Image.FromStream(responseStream);<br />
					}<br />
				}<br />
			}<br />
			catch (Exception ex) <br />
			{<br />
				Debug.WriteLine("Exception in getThumbnail. Url: " + url + ". Info: " + ex.Message + Environment.NewLine + "Stack: " + ex.StackTrace);<br />
			}<br />
			return im;<br />
		}


but if the URL like this

http://mud.mm-a5.yimg.com/image/1942583882[^]

the code will not work correctly.

How I can Fixed it ?
AnswerRe: Reading Image from this link Pin
mm31018-Aug-06 2:17
mm31018-Aug-06 2:17 
Questionwhy multiple class inheritance is not supported in C# .NET Pin
For_IT17-Aug-06 10:23
For_IT17-Aug-06 10:23 
AnswerRe: why multiple class inheritance is not supported in C# .NET Pin
Ravi Bhavnani17-Aug-06 10:48
professionalRavi Bhavnani17-Aug-06 10:48 
AnswerRe: why multiple class inheritance is not supported in C# .NET Pin
Kevin McFarlane17-Aug-06 11:38
Kevin McFarlane17-Aug-06 11:38 
AnswerRe: why multiple class inheritance is not supported in C# .NET Pin
Joe Woodbury17-Aug-06 17:52
professionalJoe Woodbury17-Aug-06 17:52 
QuestionOverriding Webservice Limitation: "one call per second" using a Proxy Server Pin
Javaman2101117-Aug-06 8:44
Javaman2101117-Aug-06 8:44 
AnswerRe: Overriding Webservice Limitation: "one call per second" using a Proxy Server Pin
Jakob Farian Krarup17-Aug-06 9:11
Jakob Farian Krarup17-Aug-06 9:11 
GeneralRe: Overriding Webservice Limitation: "one call per second" using a Proxy Server Pin
Javaman2101117-Aug-06 9:26
Javaman2101117-Aug-06 9:26 
GeneralRe: Overriding Webservice Limitation: "one call per second" using a Proxy Server Pin
Dave Kreskowiak17-Aug-06 9:38
mveDave Kreskowiak17-Aug-06 9:38 
AnswerRe: Overriding Webservice Limitation: "one call per second" using a Proxy Server Pin
Dave Kreskowiak17-Aug-06 9:37
mveDave Kreskowiak17-Aug-06 9:37 
AnswerRe: Overriding Webservice Limitation: &quot;one call per second&quot; using a Proxy Server [modified] Pin
unclepaul17-Aug-06 10:00
unclepaul17-Aug-06 10:00 
QuestionAdding an object to Treeview Pin
Anthony Mushrow17-Aug-06 8:03
professionalAnthony Mushrow17-Aug-06 8:03 
AnswerRe: Adding an object to Treeview Pin
led mike17-Aug-06 8:14
led mike17-Aug-06 8:14 
QuestionRe: Adding an object to Treeview Pin
Anthony Mushrow17-Aug-06 13:50
professionalAnthony Mushrow17-Aug-06 13:50 
AnswerRe: Adding an object to Treeview Pin
Anthony Mushrow17-Aug-06 13:53
professionalAnthony Mushrow17-Aug-06 13:53 
AnswerRe: Adding an object to Treeview Pin
leppie17-Aug-06 9:24
leppie17-Aug-06 9:24 
QuestionHow to identify whether any message box are being displayed or not on the form Pin
engsrini17-Aug-06 7:20
engsrini17-Aug-06 7:20 

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.