Click here to Skip to main content
15,908,013 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: image button Pin
Lisana14-Apr-05 6:19
Lisana14-Apr-05 6:19 
GeneralRe: image button Pin
rwestgraham14-Apr-05 9:47
rwestgraham14-Apr-05 9:47 
GeneralUsing Wavelet in VB Pin
Anonymous14-Apr-05 2:25
Anonymous14-Apr-05 2:25 
GeneralRe: Using Wavelet in VB Pin
Dave Kreskowiak14-Apr-05 3:49
mveDave Kreskowiak14-Apr-05 3:49 
GeneralHighlighting Datagrid specific items Pin
bibipopopopo14-Apr-05 1:26
bibipopopopo14-Apr-05 1:26 
GeneralRe: Highlighting Datagrid specific items Pin
Dave Kreskowiak14-Apr-05 3:45
mveDave Kreskowiak14-Apr-05 3:45 
GeneralMS chart control Pin
Mr Dabbah13-Apr-05 22:57
Mr Dabbah13-Apr-05 22:57 
GeneralMS Office document preview in windows form. Pin
satano66613-Apr-05 20:39
satano66613-Apr-05 20:39 
Hello

I want to preview MS office documents (word and excel) on windows form using VB.NET (example how to do this can be in any language, but VB id preffered Smile | :) ). Somewhere I have found, that this is done using Microsoft Web Browser component (SHDocVw.dll). Well, this seems to almost work, but...


Problem #1:

When I try to open an office document caling webBrowser.navigate("file:///some_document.doc"), it pop-ups a dialog offering me to open or download this document. There is a check box, so next time I try to open this kind of documents, it will not ask me, but display it.



Problem #2:

Vhen a document is opened in a web browser, it is editable. Well, this is normal, because there is an instance of MS word opened in the web browser.


What I need:

I need to show (preview) an office document in a windows form. The "preview" meens, it must be read only and not bothering users with some dialog if they want to download or open it.


Thanks a lot for any help.

Satano.
Questionhow to do this in windows service Pin
MagicGirL8313-Apr-05 14:52
MagicGirL8313-Apr-05 14:52 
Generalmailing + smtp Pin
_tasleem13-Apr-05 12:43
_tasleem13-Apr-05 12:43 
GeneralVB.NET Display Month in Text Not Number Format Pin
Anonymous13-Apr-05 11:24
Anonymous13-Apr-05 11:24 
GeneralRe: VB.NET Display Month in Text Not Number Format Pin
dpagka14-Apr-05 5:20
dpagka14-Apr-05 5:20 
GeneralWindows.Forms.DataGrid and NumericUpDown and/or DateTimePicker controls Pin
dprima13-Apr-05 10:31
dprima13-Apr-05 10:31 
QuestionWhat's the best way to do? Pin
Lisana13-Apr-05 9:42
Lisana13-Apr-05 9:42 
AnswerRe: What's the best way to do? Pin
Dave Kreskowiak14-Apr-05 5:21
mveDave Kreskowiak14-Apr-05 5:21 
GeneralVb 6.0 Pin
Bahadir Cambel13-Apr-05 7:39
Bahadir Cambel13-Apr-05 7:39 
GeneralRe: Vb 6.0 Pin
Dave Kreskowiak13-Apr-05 8:24
mveDave Kreskowiak13-Apr-05 8:24 
GeneralRe: Vb 6.0 Pin
Bahadir Cambel13-Apr-05 11:31
Bahadir Cambel13-Apr-05 11:31 
GeneralRe: Vb 6.0 Pin
Bahadir Cambel13-Apr-05 11:57
Bahadir Cambel13-Apr-05 11:57 
GeneralRe: Vb 6.0 Pin
rwestgraham13-Apr-05 12:58
rwestgraham13-Apr-05 12:58 
GeneralRe: Vb 6.0 Pin
Bahadir Cambel13-Apr-05 14:15
Bahadir Cambel13-Apr-05 14:15 
GeneralRe: Vb 6.0 Pin
Christian Graus13-Apr-05 15:12
protectorChristian Graus13-Apr-05 15:12 
GeneralRe: Vb 6.0 Pin
rwestgraham13-Apr-05 19:15
rwestgraham13-Apr-05 19:15 
GeneralRe: Vb 6.0 Pin
Christian Graus13-Apr-05 19:28
protectorChristian Graus13-Apr-05 19:28 
GeneralRe: Vb 6.0 Pin
rwestgraham13-Apr-05 21:05
rwestgraham13-Apr-05 21:05 

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.