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

C#

 
GeneralRe: MessageBoxIcon Pin
dynamic25-Jul-03 9:50
dynamic25-Jul-03 9:50 
GeneralRe: MessageBoxIcon Pin
Kastro25-Jul-03 9:52
Kastro25-Jul-03 9:52 
QuestionGet/set method for an array? Pin
frogb0x25-Jul-03 9:35
frogb0x25-Jul-03 9:35 
AnswerRe: Get/set method for an array? Pin
Alex Korchemniy25-Jul-03 9:54
Alex Korchemniy25-Jul-03 9:54 
GeneralRe: Get/set method for an array? Pin
frogb0x25-Jul-03 10:00
frogb0x25-Jul-03 10:00 
AnswerRe: Get/set method for an array? Pin
Kastro25-Jul-03 10:00
Kastro25-Jul-03 10:00 
GeneralSystem.Drawing from web Pin
Steve McLenithan25-Jul-03 9:19
Steve McLenithan25-Jul-03 9:19 
GeneralRe: System.Drawing from web Pin
dynamic25-Jul-03 9:28
dynamic25-Jul-03 9:28 
here ya go , by chance i built this a few days ago to help someone on another forum Smile | :)
C#:
<font color="blue">private</font> <font color="blue">void</font> button1_Click(<font color="blue">object</font> sender, System.EventArgs e) <br> { <br>        System.Net.WebClient web=<font color="#0000FF">new</font> System.Net.WebClient(); <br> 	System.IO.StreamReader sr=<font color="#0000FF">new</font> System.IO.StreamReader(web.OpenRead("http://www.codeguru.com/forum/images/icons/icon8.gif")); <br>        System.Drawing.Image i=System.Drawing.Image.FromStream(sr.BaseStream); <br>        <font color="DarkGreen">//////////////////////////////////////// </font><br>        i.Save("D:\\myImage.gif"); <font color="#008000">// save the image ( in this case a gif )</font><br> 	<font color="#008000">//////////////////////////////////////// </font><br> 	sr.DiscardBufferedData(); <br> 	sr.Close(); <br> 	web.Dispose(); <br> } <br> 



hope it helps


Vb:
<font color="blue">Public Function</font> TwinsOnWay(<font color="blue">ByVal</font> twins <font color="blue">As String</font>) <font color="blue">As String <br>     Select Case</font> twins<br>         <font color="blue">Case</font> "Gender" <br>             <font color="blue">Return</font> "Two Girls" <br>     <font color="blue">End Select <br> End Function</font> <br> 


GeneralRe: System.Drawing from web Pin
Steve McLenithan25-Jul-03 10:05
Steve McLenithan25-Jul-03 10:05 
GeneralRe: System.Drawing from web Pin
Alex Korchemniy25-Jul-03 10:02
Alex Korchemniy25-Jul-03 10:02 
GeneralRe: System.Drawing from web Pin
Steve McLenithan25-Jul-03 10:04
Steve McLenithan25-Jul-03 10:04 
GeneralReadXML to dataset has problem with &quot;&amp;&quot; inside the xml file Pin
johnxt25-Jul-03 8:52
johnxt25-Jul-03 8:52 
GeneralRe: ReadXML to dataset has problem with &quot;&amp;&quot; inside the xml file Pin
Alex Korchemniy25-Jul-03 9:08
Alex Korchemniy25-Jul-03 9:08 
GeneralRe: ReadXML to dataset has problem with &quot;&amp;&quot; inside the xml file Pin
Radoslav Bielik27-Jul-03 11:15
Radoslav Bielik27-Jul-03 11:15 
GeneralRe: ReadXML to dataset has problem with &quot;&amp;&quot; inside the xml file Pin
Radoslav Bielik27-Jul-03 11:21
Radoslav Bielik27-Jul-03 11:21 
GeneralRe: ReadXML to dataset has problem with &quot;&amp;&quot; inside the xml file Pin
johnxt27-Jul-03 17:38
johnxt27-Jul-03 17:38 
GeneralThread communication Pin
Alex Korchemniy25-Jul-03 8:48
Alex Korchemniy25-Jul-03 8:48 
GeneralRe: Thread communication Pin
albean25-Jul-03 9:31
albean25-Jul-03 9:31 
GeneralRe: Thread communication Pin
Alex Korchemniy25-Jul-03 9:44
Alex Korchemniy25-Jul-03 9:44 
GeneralRe: Thread communication Pin
Arun Bhalla25-Jul-03 10:47
Arun Bhalla25-Jul-03 10:47 
GeneralRe: Thread communication Pin
albean25-Jul-03 10:59
albean25-Jul-03 10:59 
GeneralRe: Thread communication Pin
Arun Bhalla25-Jul-03 11:17
Arun Bhalla25-Jul-03 11:17 
GeneralRe: Thread communication Pin
albean25-Jul-03 11:32
albean25-Jul-03 11:32 
GeneralRe: Thread communication Pin
Alex Korchemniy25-Jul-03 15:10
Alex Korchemniy25-Jul-03 15:10 
GeneralRe: Thread communication Pin
Arun Bhalla28-Jul-03 8:55
Arun Bhalla28-Jul-03 8:55 

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.