Click here to Skip to main content
15,891,375 members
Home / Discussions / C#
   

C#

 
Generaltextbox control with multi colored rows Pin
gmahesh8-Jun-04 2:05
gmahesh8-Jun-04 2:05 
GeneralRe: textbox control with multi colored rows Pin
Aryadip8-Jun-04 2:48
Aryadip8-Jun-04 2:48 
GeneralRe: textbox control with multi colored rows Pin
gmahesh8-Jun-04 2:57
gmahesh8-Jun-04 2:57 
GeneralRe: textbox control with multi colored rows Pin
Aaron Eldreth8-Jun-04 3:47
Aaron Eldreth8-Jun-04 3:47 
GeneralRe: textbox control with multi colored rows Pin
gmahesh9-Jun-04 0:58
gmahesh9-Jun-04 0:58 
QuestionLoad file into string? Pin
Dominik Reichl8-Jun-04 1:43
Dominik Reichl8-Jun-04 1:43 
AnswerRe: Load file into string? Pin
Werdna8-Jun-04 3:27
Werdna8-Jun-04 3:27 
GeneralRe: Load file into string? Pin
Dominik Reichl8-Jun-04 4:14
Dominik Reichl8-Jun-04 4:14 
Hi!

First thanks for your reply. I tried this:

		public static string TextFileToString(string strFilename)<br />
		{<br />
	string str;<br />
<br />
	StreamReader re = File.OpenText(strFilename);<br />
	str = re.ReadToEnd();<br />
	re.Close();<br />
<br />
	return str;<br />
}


This seems to load UTF-8 files very well, but it fails to load Unicode-encoded files (just the first character of the file is loaded)... Using Win98. Any idea?

Best regards and thanks,
Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)
(doesn't work on NT)

AnswerRe: Load file into string? Pin
Heath Stewart8-Jun-04 4:00
protectorHeath Stewart8-Jun-04 4:00 
GeneralRe: Load file into string? Pin
Dominik Reichl8-Jun-04 4:19
Dominik Reichl8-Jun-04 4:19 
GeneralRe: Load file into string? Pin
Heath Stewart8-Jun-04 4:22
protectorHeath Stewart8-Jun-04 4:22 
GeneralRe: Draw Shape To Screen Pin
SJ_Phoenix8-Jun-04 0:24
SJ_Phoenix8-Jun-04 0:24 
GeneralRe: Draw Shape To Screen [EDITED] Pin
Dave Kreskowiak8-Jun-04 3:17
mveDave Kreskowiak8-Jun-04 3:17 
GeneralConverting an array list to double array Pin
_Searcher_8-Jun-04 0:01
_Searcher_8-Jun-04 0:01 
GeneralRe: Converting an array list to double array Pin
Aryadip8-Jun-04 2:08
Aryadip8-Jun-04 2:08 
GeneralRe: Converting an array list to double array Pin
_Searcher_8-Jun-04 3:59
_Searcher_8-Jun-04 3:59 
GeneralRe: Converting an array list to double array Pin
Heath Stewart8-Jun-04 3:56
protectorHeath Stewart8-Jun-04 3:56 
GeneralBanner in Help-Files? (How to?) Pin
Ariadne7-Jun-04 23:44
Ariadne7-Jun-04 23:44 
GeneralRe: Banner in Help-Files? (How to?) Pin
Heath Stewart8-Jun-04 3:52
protectorHeath Stewart8-Jun-04 3:52 
GeneralRe: Banner in Help-Files? (How to?) Pin
Ariadne8-Jun-04 21:14
Ariadne8-Jun-04 21:14 
GeneralRe: Banner in Help-Files? (How to?) Pin
Heath Stewart9-Jun-04 2:08
protectorHeath Stewart9-Jun-04 2:08 
GeneralGraphic drawing with OR transparency Pin
azusakt7-Jun-04 21:53
azusakt7-Jun-04 21:53 
GeneralRe: Graphic drawing with OR transparency Pin
Mazdak7-Jun-04 22:22
Mazdak7-Jun-04 22:22 
GeneralRe: Graphic drawing with OR transparency Pin
azusakt7-Jun-04 22:46
azusakt7-Jun-04 22:46 
GeneralRe: Graphic drawing with OR transparency Pin
Mazdak8-Jun-04 1:22
Mazdak8-Jun-04 1:22 

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.