Click here to Skip to main content
15,901,205 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to create a fake file Pin
Ennis Ray Lynch, Jr.5-Feb-07 6:01
Ennis Ray Lynch, Jr.5-Feb-07 6:01 
GeneralSorry Pin
Ennis Ray Lynch, Jr.5-Feb-07 8:17
Ennis Ray Lynch, Jr.5-Feb-07 8:17 
AnswerSparse Files Pin
Luc Pattyn5-Feb-07 9:27
sitebuilderLuc Pattyn5-Feb-07 9:27 
Questionrichtextbox Pin
sahelearamesh5-Feb-07 2:22
sahelearamesh5-Feb-07 2:22 
AnswerRe: richtextbox Pin
quiteSmart5-Feb-07 2:56
quiteSmart5-Feb-07 2:56 
GeneralRe: richtextbox Pin
netJP12L5-Feb-07 5:58
netJP12L5-Feb-07 5:58 
AnswerRe: richtextbox Pin
Ravi Bhavnani5-Feb-07 7:33
professionalRavi Bhavnani5-Feb-07 7:33 
AnswerRe: richtextbox Pin
Pratik Vasant Shah5-Feb-07 20:11
Pratik Vasant Shah5-Feb-07 20:11 
Hi,

If its just the file you need to open and view the contents into a RichTextBox, you can use the OVERLOADED LoadFile() function which accepts a filename (filepath) as a string and a RichTextBoxStreamType as an another parameter

Eg.

this.richtextBox.LoadFile("c:\\temp.xxx", RichTextBoxStreamType.RichText).


The RichTextBoxStreamType.RichText should be used , if the cile to be opened in the RichtextBox is of RichTextType.

Refer MSDN for other flavors of RichTextBoxStreamType ENUM.


Thanking you in Advance
Regards
Pratik Shah

AnswerRe: richtextbox Pin
VirtualVoid.NET6-Feb-07 3:39
VirtualVoid.NET6-Feb-07 3:39 
QuestionHow does this FileSystemWatcher code work? Pin
Matthew Cuba5-Feb-07 2:13
Matthew Cuba5-Feb-07 2:13 
AnswerRe: How does this FileSystemWatcher code work? Pin
Stefan Troschuetz5-Feb-07 3:16
Stefan Troschuetz5-Feb-07 3:16 
GeneralRe: How does this FileSystemWatcher code work? Pin
Matthew Cuba5-Feb-07 4:04
Matthew Cuba5-Feb-07 4:04 
AnswerRe: How does this FileSystemWatcher code work? Pin
ShermansLagoon5-Feb-07 3:49
ShermansLagoon5-Feb-07 3:49 
GeneralRe: How does this FileSystemWatcher code work? Pin
Matthew Cuba5-Feb-07 4:04
Matthew Cuba5-Feb-07 4:04 
GeneralRe: How does this FileSystemWatcher code work? Pin
Dan Neely5-Feb-07 4:19
Dan Neely5-Feb-07 4:19 
QuestionRichTextBox Pin
Jeeva Jose5-Feb-07 1:52
Jeeva Jose5-Feb-07 1:52 
AnswerRe: RichTextBox Pin
quiteSmart5-Feb-07 2:03
quiteSmart5-Feb-07 2:03 
QuestionDataGrid Pin
Siva Myneni5-Feb-07 1:01
Siva Myneni5-Feb-07 1:01 
AnswerRe: DataGrid Pin
VirtualVoid.NET6-Feb-07 3:40
VirtualVoid.NET6-Feb-07 3:40 
GeneralRe: DataGrid Pin
Siva Myneni6-Feb-07 19:36
Siva Myneni6-Feb-07 19:36 
GeneralRe: DataGrid Pin
VirtualVoid.NET7-Feb-07 1:44
VirtualVoid.NET7-Feb-07 1:44 
GeneralRe: DataGrid Pin
Siva Myneni7-Feb-07 17:58
Siva Myneni7-Feb-07 17:58 
Questiontable control paging Pin
acodman5-Feb-07 0:53
acodman5-Feb-07 0:53 
AnswerRe: table control paging Pin
Stefan Troschuetz5-Feb-07 1:48
Stefan Troschuetz5-Feb-07 1:48 
Questionopen MenuItem of MainMenu by code Pin
nadapublicidad4-Feb-07 23:55
nadapublicidad4-Feb-07 23: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.