Click here to Skip to main content
16,005,491 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Open/View file in VB.NET Pin
Mekong River10-Oct-04 22:12
Mekong River10-Oct-04 22:12 
GeneralRe: Open/View file in VB.NET Pin
Mekong River10-Oct-04 22:37
Mekong River10-Oct-04 22:37 
GeneralRe: Open/View file in VB.NET Pin
Dave Kreskowiak11-Oct-04 5:08
mveDave Kreskowiak11-Oct-04 5:08 
GeneralRe: Open/View file in VB.NET Pin
Mekong River11-Oct-04 16:00
Mekong River11-Oct-04 16:00 
GeneralRe: Open/View file in VB.NET Pin
Dave Kreskowiak12-Oct-04 0:41
mveDave Kreskowiak12-Oct-04 0:41 
GeneralRe: Open/View file in VB.NET Pin
Mekong River12-Oct-04 4:22
Mekong River12-Oct-04 4:22 
GeneralRe: Open/View file in VB.NET Pin
Dave Kreskowiak12-Oct-04 5:28
mveDave Kreskowiak12-Oct-04 5:28 
GeneralRe: Open/View file in VB.NET Pin
Mekong River12-Oct-04 15:39
Mekong River12-Oct-04 15:39 
Dave Kreskowiak wrote:
It's entirely possible to do. But, since the .RTF format doesn't support alot of the formatting that Word does, the converted .RTF will not look the same as the Word version. Also, Excel doesn't export to an .RTF and neither does Acrobat AFAIK.

Yes, I think so RTF might not support as much as possible like Doc file. But the document that my user will use is type in a simple word document with Bold, Italic, Underline... but no graphic or any special formatted.

Dave Kreskowiak wrote:
Also, if your going to go through the process of having Word convert the doc to RTF, why use a RichTextBox control to display the preview? Why not just use a visible Word control to do the preview?

Because there a lot of document that will display for each topic, my user ask me for an opportunity to preview before they open the document that they want. I also have a sample code that I just check from the internet on how to open Microsoft word or excel from VB.Net. I could do it!!! but what I want is preview the file before my user open it.

I don't know that RichTextBox could support *.htm file or not but I have to try first if it is possible I might consider *.htm instead of *.rtf to preview in the RichTextBox control.

Thank you very much for your comment.



A thousand mile of journey, begin with the first step.

APO-CEDC
Save Children Norway-Cambodia Office

GeneralRe: Open/View file in VB.NET Pin
Dave Kreskowiak12-Oct-04 18:05
mveDave Kreskowiak12-Oct-04 18:05 
GeneralRe: Open/View file in VB.NET Pin
Mekong River13-Oct-04 0:01
Mekong River13-Oct-04 0:01 
GeneralRe: Open/View file in VB.NET Pin
Dave Kreskowiak13-Oct-04 3:11
mveDave Kreskowiak13-Oct-04 3:11 
GeneralRe: Open/View file in VB.NET Pin
Mekong River13-Oct-04 4:03
Mekong River13-Oct-04 4:03 
GeneralSample code for sample database form Pin
Mekong River9-Oct-04 4:17
Mekong River9-Oct-04 4:17 
GeneralRe: Sample code for sample database form Pin
HarryBo9-Oct-04 9:50
HarryBo9-Oct-04 9:50 
GeneralRe: Sample code for sample database form Pin
Mekong River9-Oct-04 15:45
Mekong River9-Oct-04 15:45 
GeneralRe: Sample code for sample database form Pin
gthompson200510-Oct-04 16:54
gthompson200510-Oct-04 16:54 
GeneralRe: Sample code for sample database form Pin
Mekong River10-Oct-04 18:50
Mekong River10-Oct-04 18:50 
GeneralRe: Sample code for sample database form Pin
EdbertP11-Oct-04 21:00
EdbertP11-Oct-04 21:00 
GeneralRe: Sample code for sample database form Pin
Mekong River11-Oct-04 23:49
Mekong River11-Oct-04 23:49 
Generalcheck subnodes of treeview clicking parent node Pin
himubiswas9-Oct-04 3:38
himubiswas9-Oct-04 3:38 
GeneralRe: check subnodes of treeview clicking parent node Pin
Anonymous10-Oct-04 21:33
Anonymous10-Oct-04 21:33 
GeneralLimit user input in a Textbox in VB.NET Pin
Mekong River9-Oct-04 3:23
Mekong River9-Oct-04 3:23 
GeneralRe: Limit user input in a Textbox in VB.NET Pin
MohammadAmiry9-Oct-04 6:33
MohammadAmiry9-Oct-04 6:33 
GeneralRe: Limit user input in a Textbox in VB.NET Pin
Mekong River9-Oct-04 15:42
Mekong River9-Oct-04 15:42 
GeneralRe: Limit user input in a Textbox in VB.NET Pin
Dileep Devapal9-Oct-04 13:06
Dileep Devapal9-Oct-04 13:06 

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.