Click here to Skip to main content
15,901,373 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Writing the date through registry editor during installation. Pin
tonymathewt19-Jun-07 18:22
professionaltonymathewt19-Jun-07 18:22 
QuestionVB.NET UserControl Click Issue Pin
JB of Three18-Jun-07 9:52
JB of Three18-Jun-07 9:52 
AnswerRe: VB.NET UserControl Click Issue Pin
Dave Kreskowiak18-Jun-07 10:00
mveDave Kreskowiak18-Jun-07 10:00 
QuestionGlobal Data set Usage for multiple SP querries Pin
mrarunks18-Jun-07 7:32
mrarunks18-Jun-07 7:32 
AnswerRe: Global Data set Usage for multiple SP querries Pin
Dave Kreskowiak18-Jun-07 9:56
mveDave Kreskowiak18-Jun-07 9:56 
AnswerRe: Global Data set Usage for multiple SP querries Pin
MidwestLimey18-Jun-07 10:06
professionalMidwestLimey18-Jun-07 10:06 
Questionweb app, opening Word Doc's Pin
kindzieb18-Jun-07 5:35
kindzieb18-Jun-07 5:35 
AnswerRe: web app, opening Word Doc's Pin
Dave Kreskowiak18-Jun-07 6:32
mveDave Kreskowiak18-Jun-07 6:32 
kindzieb wrote:
I have been assigned the task of opening a microsoft word document through an internal corporate website.


What does this mean? Are you trying to open the document on the client side so they can view it? Easy, just supply a link to the *.doc file and Word on the client side will take care of the rest.

If you're trying to open the document on the server side (in your ASP.NET codebehind) to do something to the document, you've got a problem. Word is a very heavy weight object. If your server has lots of users doing this, well, let's just say that using Office on the server side is a great way to bring your server to it knees.


kindzieb wrote:
Is there a way to open Word calling it from a web application? Or is there a way to call the windows application(.exe) from behind the .aspx page to fire off word?


No. The server code (ASP.NET codebehind) has no access to anything on the client side.

This might be done with JavaScript in your web page, but not by any VB.NET or C# code in the code behind. The C# or VB.NET code runs exclusively on the service side and has no access to anything on the client machine.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: web app, opening Word Doc's Pin
kindzieb18-Jun-07 8:22
kindzieb18-Jun-07 8:22 
GeneralRe: web app, opening Word Doc's Pin
Dave Kreskowiak18-Jun-07 8:59
mveDave Kreskowiak18-Jun-07 8:59 
GeneralRe: web app, opening Word Doc's Pin
kindzieb18-Jun-07 10:03
kindzieb18-Jun-07 10:03 
GeneralRe: web app, opening Word Doc's Pin
Dave Kreskowiak18-Jun-07 10:20
mveDave Kreskowiak18-Jun-07 10:20 
QuestionAccess form variables from custom control (bindingsource) Pin
AlexeiXX318-Jun-07 4:56
AlexeiXX318-Jun-07 4:56 
AnswerRe: Access form variables from custom control (bindingsource) Pin
Dave Kreskowiak19-Jun-07 4:43
mveDave Kreskowiak19-Jun-07 4:43 
GeneralRe: Access form variables from custom control (bindingsource) Pin
AlexeiXX319-Jun-07 8:51
AlexeiXX319-Jun-07 8:51 
GeneralRe: Access form variables from custom control (bindingsource) Pin
Dave Kreskowiak19-Jun-07 10:41
mveDave Kreskowiak19-Jun-07 10:41 
QuestionPrint Existing files in the Folder in vb.net Pin
Saivjil18-Jun-07 2:21
Saivjil18-Jun-07 2:21 
AnswerRe: Print Existing files in the Folder in vb.net Pin
originSH18-Jun-07 4:09
originSH18-Jun-07 4:09 
QuestionDropDown problem Pin
matjame18-Jun-07 0:40
matjame18-Jun-07 0:40 
AnswerRe: DropDown problem Pin
Dave Kreskowiak19-Jun-07 4:17
mveDave Kreskowiak19-Jun-07 4:17 
Questiontext-2-speech Pin
Abdul8517-Jun-07 21:56
Abdul8517-Jun-07 21:56 
AnswerRe: text-2-speech Pin
Christian Graus18-Jun-07 13:21
protectorChristian Graus18-Jun-07 13:21 
AnswerRe: text-2-speech Pin
Dave Kreskowiak19-Jun-07 4:08
mveDave Kreskowiak19-Jun-07 4:08 
QuestionTab control Disable/Enable Pin
ozzyrocsdbn17-Jun-07 20:25
ozzyrocsdbn17-Jun-07 20:25 
AnswerRe: Tab control Disable/Enable Pin
Xandip17-Jun-07 20:30
Xandip17-Jun-07 20:30 

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.