Click here to Skip to main content
15,920,468 members
Home / Discussions / C#
   

C#

 
QuestionDynamic Row Insert Pin
neerajsaini198217-May-06 0:55
neerajsaini198217-May-06 0:55 
AnswerRe: Dynamic Row Insert Pin
Jim Conigliaro17-May-06 1:13
Jim Conigliaro17-May-06 1:13 
QuestionFile as a hyperlink Pin
neerajsaini198217-May-06 0:52
neerajsaini198217-May-06 0:52 
QuestionData Base problem Pin
Ashraj198217-May-06 0:21
Ashraj198217-May-06 0:21 
AnswerRe: Data Base problem Pin
Naveed Kamboh17-May-06 1:30
Naveed Kamboh17-May-06 1:30 
GeneralRe: Data Base problem Pin
Ashraj198217-May-06 1:40
Ashraj198217-May-06 1:40 
AnswerRe: Data Base problem Pin
Saqib Mehmood17-May-06 18:36
Saqib Mehmood17-May-06 18:36 
Questionextracting frame from video files Pin
Raùl16-May-06 23:10
Raùl16-May-06 23:10 
AnswerRe: extracting frame from video files Pin
Robert Rohde16-May-06 23:44
Robert Rohde16-May-06 23:44 
QuestionHow can i add scroll bar to form Pin
cshivaprasad16-May-06 23:10
cshivaprasad16-May-06 23:10 
AnswerRe: How can i add scroll bar to form Pin
Stefan Troschuetz16-May-06 23:54
Stefan Troschuetz16-May-06 23:54 
Questionhowto do x wait 10 ms then do y wait 100 ms then do z ? Pin
cmpeng3416-May-06 22:56
cmpeng3416-May-06 22:56 
AnswerRe: howto do x wait 10 ms then do y wait 100 ms then do z ? Pin
Robert Rohde16-May-06 23:00
Robert Rohde16-May-06 23:00 
AnswerRe: howto do x wait 10 ms then do y wait 100 ms then do z ? Pin
sathish s16-May-06 23:02
sathish s16-May-06 23:02 
Questiona question about parsing using C# ? Pin
cmpeng3416-May-06 22:16
cmpeng3416-May-06 22:16 
AnswerRe: a question about parsing using C# ? Pin
Nader Elshehabi16-May-06 23:05
Nader Elshehabi16-May-06 23:05 
QuestionHow to load image "name.ico" to Bitmap Stream? Pin
Dima Filipiuk16-May-06 21:57
Dima Filipiuk16-May-06 21:57 
AnswerRe: How to load image "name.ico" to Bitmap Stream? Pin
Robert Rohde16-May-06 23:07
Robert Rohde16-May-06 23:07 
GeneralRe: How to load image "name.ico" to Bitmap Stream? Pin
Dima Filipiuk17-May-06 0:55
Dima Filipiuk17-May-06 0:55 
I write next code:
System.Net.WebRequest request = System.Net.WebRequest.Create("http://microsoft.com/favicon.ico"); this image is Ok!
System.Net.WebResponse response = request.GetResponse();
System.IO.Stream responseStream = response.GetResponseStream();
Icon icon = new Icon(responseStream, 16, 16);
Bitmap bitmap2 = icon.ToBitmap();
TabPage1.Image = bitmap2;
it is don't work
in this line error
Icon icon = new Icon(responseStream, 16, 16); ->This stream does not support seek operations.

but:
Icon icon3 = new Icon("D:/Program Files/EasyPHP1-8/www/e107n/favicon.ico", 16, 16);
Bitmap bitmap3 = icon3.ToBitmap();
TabPage2.Image = bitmap3;
is work (16, 16: Ok)

how to fix this problem?
I need load image from Internet.
GeneralRe: How to load image "name.ico" to Bitmap Stream? Pin
Robert Rohde17-May-06 1:43
Robert Rohde17-May-06 1:43 
QuestionGDI+ GraphicsPath HitTest Question...desperate! Pin
b33rdy16-May-06 21:55
b33rdy16-May-06 21:55 
AnswerRe: GDI+ GraphicsPath HitTest Question...desperate! Pin
leppie17-May-06 19:45
leppie17-May-06 19:45 
QuestionUrgent help pleaseeeeeeee..... Pin
manusharma16-May-06 21:43
manusharma16-May-06 21:43 
AnswerRe: Urgent help pleaseeeeeeee..... Pin
papa198016-May-06 22:15
papa198016-May-06 22:15 
AnswerRe: Urgent help pleaseeeeeeee..... Pin
stancrm18-May-06 3:47
stancrm18-May-06 3:47 

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.