Click here to Skip to main content
15,898,134 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsteppermotor Pin
nisharkinoo16-Sep-10 6:59
nisharkinoo16-Sep-10 6:59 
QuestionInserting a default item at the start of a combobox Pin
Jay Royall16-Sep-10 5:14
Jay Royall16-Sep-10 5:14 
AnswerRe: Inserting a default item at the start of a combobox Pin
Ian Shlasko16-Sep-10 5:42
Ian Shlasko16-Sep-10 5:42 
GeneralRe: Inserting a default item at the start of a combobox Pin
Jay Royall16-Sep-10 12:09
Jay Royall16-Sep-10 12:09 
QuestionRead .rtf file and save as .txt Pin
Anoop Brijmohun16-Sep-10 5:11
Anoop Brijmohun16-Sep-10 5:11 
AnswerRe: Read .rtf file and save as .txt Pin
Jay Royall16-Sep-10 5:26
Jay Royall16-Sep-10 5:26 
GeneralRe: Read .rtf file and save as .txt Pin
Anoop Brijmohun16-Sep-10 8:59
Anoop Brijmohun16-Sep-10 8:59 
AnswerRe: Read .rtf file and save as .txt Pin
Luc Pattyn16-Sep-10 6:22
sitebuilderLuc Pattyn16-Sep-10 6:22 
I suggest you forget about Word and experiment with a RichTextBox. You could set its Rtf property to load the RTF file content; then get its Text property. I haven't done this at any length, however the doc seems to suggest it would return the document content without any markup.

BTW: IMO the RTB does not have to be visible, nor part of any Form for this.

PS: As there are different levels of the RTF specification, it could happen that Word is more capable than an RTB, so complex documents might fail. I just don't know, I wish I did.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


AnswerRe: Read .rtf file and save as .txt Pin
Prerak Patel20-Sep-10 20:32
professionalPrerak Patel20-Sep-10 20:32 
AnswerRe: Read .rtf file and save as .txt Pin
Anoop Brijmohun20-Sep-10 21:14
Anoop Brijmohun20-Sep-10 21:14 
QuestionSome getting started questions Pin
RodClark16-Sep-10 0:35
RodClark16-Sep-10 0:35 
AnswerRe: Some getting started questions Pin
Dave Kreskowiak16-Sep-10 5:55
mveDave Kreskowiak16-Sep-10 5:55 
AnswerRe: Some getting started questions Pin
Eddy Vluggen16-Sep-10 10:47
professionalEddy Vluggen16-Sep-10 10:47 
GeneralRe: Some getting started questions Pin
RodClark16-Sep-10 12:33
RodClark16-Sep-10 12:33 
GeneralRe: Some getting started questions Pin
Eddy Vluggen17-Sep-10 6:48
professionalEddy Vluggen17-Sep-10 6:48 
GeneralRe: Some getting started questions Pin
RodClark18-Sep-10 21:12
RodClark18-Sep-10 21:12 
QuestionHow to finish the pendign input remaining last time? Pin
sanyexian15-Sep-10 16:29
sanyexian15-Sep-10 16:29 
AnswerRe: How to finish the pendign input remaining last time? Pin
Luc Pattyn15-Sep-10 16:54
sitebuilderLuc Pattyn15-Sep-10 16:54 
GeneralRe: How to finish the pendign input remaining last time? Pin
sanyexian15-Sep-10 17:35
sanyexian15-Sep-10 17:35 
GeneralRe: How to finish the pendign input remaining last time? Pin
Luc Pattyn15-Sep-10 18:01
sitebuilderLuc Pattyn15-Sep-10 18:01 
Questioninsert multiple rows between two rows in datagridview Pin
C#Coudou15-Sep-10 16:22
C#Coudou15-Sep-10 16:22 
AnswerRe: insert multiple rows between two rows in datagridview Pin
Luc Pattyn15-Sep-10 16:50
sitebuilderLuc Pattyn15-Sep-10 16:50 
AnswerRe: insert multiple rows between two rows in datagridview Pin
Prerak Patel20-Sep-10 20:43
professionalPrerak Patel20-Sep-10 20:43 
QuestionCheckboxes not selectable in DataGrid column Pin
oakrun15-Sep-10 7:08
oakrun15-Sep-10 7:08 
AnswerRe: Checkboxes not selectable in DataGrid column [modified] Pin
William Winner15-Sep-10 12:15
William Winner15-Sep-10 12:15 

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.