Click here to Skip to main content
15,886,656 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do I get a file's REAL last modified date? Pin
Todd Smith30-Jan-03 14:17
Todd Smith30-Jan-03 14:17 
GeneralPanel Repaint Pin
sv787430-Jan-03 12:25
sv787430-Jan-03 12:25 
GeneralRe: Panel Repaint Pin
Nick Parker30-Jan-03 16:02
protectorNick Parker30-Jan-03 16:02 
QuestionOwnerdraw context menu in traybar? Pin
anewmachine30-Jan-03 12:23
anewmachine30-Jan-03 12:23 
GeneralentryPoint of a PE file Pin
blacksun_damn30-Jan-03 11:52
blacksun_damn30-Jan-03 11:52 
GeneralSystem.Diagnostics Pin
jtmtv1830-Jan-03 11:49
jtmtv1830-Jan-03 11:49 
GeneralRe: System.Diagnostics Pin
Vasudevan Deepak Kumar30-Jan-03 17:29
Vasudevan Deepak Kumar30-Jan-03 17:29 
GeneralRe: System.Diagnostics Pin
jtmtv1830-Jan-03 17:57
jtmtv1830-Jan-03 17:57 
cool thanks alot man... it will help alot !! i got another question that maybe you can help me with.... i wrote a full featured wordpad type program.. with a spell checker and all images embedded with in the program. when its running it takes about 14 megs of memory....but ill load a txt file thats 7 megs in size into the program and all of a sudden it is taken 50+ megs. any ideas on how i can fix this problem.. heres how i open it... is there a better way that i use too conserver memory ?(when notpade opens this file it only takes 8 megs of memory)

*** begin code ***
<br />
FileStream fs = File.OpenRead(LoadFileOnStart);<br />
byte[] b;<br />
if(LoadFileOnStart.ToLower().EndsWith("rtf")|LoadFileOnStart.ToLower().EndsWith("doc")){<br />
	       fs = File.OpenRead(LoadFileOnStart);<br />
	     b = new byte[fs.Length];<br />
            //<br />
	ASCIIEncoding temp = new ASCIIEncoding();<br />
	while (fs.Read(b,0,b.Length) > 0) <br />
		{<br />
		MainTextArea.Rtf = temp.GetString(b);<br />
		}<br />
            }<br />

GeneralTextBox.Clear() Method Pin
Member 14906930-Jan-03 9:06
Member 14906930-Jan-03 9:06 
GeneralRe: TextBox.Clear() Method Pin
leppie30-Jan-03 10:04
leppie30-Jan-03 10:04 
GeneralRe: TextBox.Clear() Method Pin
Member 14906930-Jan-03 10:40
Member 14906930-Jan-03 10:40 
GeneralListView & Scroll Bars (Events) Pin
Andy Hampshire30-Jan-03 8:07
Andy Hampshire30-Jan-03 8:07 
GeneralRe: ListView & Scroll Bars (Events) Pin
Stephane Rodriguez.30-Jan-03 8:49
Stephane Rodriguez.30-Jan-03 8:49 
GeneralDataGrid Column Display Pin
hkl30-Jan-03 7:40
hkl30-Jan-03 7:40 
GeneralRe: DataGrid Column Display Pin
A.Wegierski30-Jan-03 19:19
A.Wegierski30-Jan-03 19:19 
QuestionHow to decide whether control is initialized within IDE form designer? Pin
Vasek30-Jan-03 7:37
Vasek30-Jan-03 7:37 
AnswerRe: How to decide whether control is initialized within IDE form designer? Pin
leppie30-Jan-03 10:08
leppie30-Jan-03 10:08 
GeneralRe: How to decide whether control is initialized within IDE form designer? Pin
Vasek30-Jan-03 22:25
Vasek30-Jan-03 22:25 
Questionhow to convert a jpeg into tiff Pin
coralie30-Jan-03 4:15
coralie30-Jan-03 4:15 
AnswerRe: how to convert a jpeg into tiff Pin
Stephane Rodriguez.30-Jan-03 8:27
Stephane Rodriguez.30-Jan-03 8:27 
QuestionHow to find the location of a control relative to it's containing form? Pin
Furty30-Jan-03 2:53
Furty30-Jan-03 2:53 
AnswerRe: How to find the location of a control relative to it's containing form? Pin
Philip Fitzsimons30-Jan-03 3:04
Philip Fitzsimons30-Jan-03 3:04 
GeneralRe: How to find the location of a control relative to it's containing form? Pin
Furty30-Jan-03 3:21
Furty30-Jan-03 3:21 
GeneralRe: How to find the location of a control relative to it's containing form? Pin
Philip Fitzsimons30-Jan-03 3:28
Philip Fitzsimons30-Jan-03 3:28 
GeneralRe: How to find the location of a control relative to it's containing form? Pin
Furty31-Jan-03 17:08
Furty31-Jan-03 17:08 

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.