Click here to Skip to main content
15,920,468 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Opening links in specific frame with default program using Web Control Pin
rwestgraham31-Jan-05 8:17
rwestgraham31-Jan-05 8:17 
GeneralWindows Service App starting other apps Pin
leezardd25-Jan-05 9:22
leezardd25-Jan-05 9:22 
GeneralRe: Windows Service App starting other apps Pin
Dave Kreskowiak25-Jan-05 11:25
mveDave Kreskowiak25-Jan-05 11:25 
GeneralRe: Windows Service App starting other apps Pin
leezardd26-Jan-05 2:24
leezardd26-Jan-05 2:24 
GeneralRe: Windows Service App starting other apps Pin
Dave Kreskowiak26-Jan-05 5:32
mveDave Kreskowiak26-Jan-05 5:32 
GeneralRe: Windows Service App starting other apps Pin
leezardd27-Jan-05 4:50
leezardd27-Jan-05 4:50 
Generaloopening word document from vb.net webforms Pin
Anonymous25-Jan-05 8:42
Anonymous25-Jan-05 8:42 
GeneralRe: oopening word document from vb.net webforms Pin
Dave Kreskowiak25-Jan-05 10:03
mveDave Kreskowiak25-Jan-05 10:03 
Keep in mind that a webform is really just a template for ASP.NET to generate client side HTML. ASP.NET ONLY GENERATES HTML ON THE SERVER SIDE! It doesn't execute any VB.NET code client side.

Now, the code you supplied in your post is executing on the server, not the client. Your code just hangs because it opened the document on the server and since the web server doesn't have a desktop and UI, it just hangs.

Word can open files from an HTTP address, but by default, the users don't have Write permissions to the server. It's not a matter of coding this, but just giving the proper permissions to the ASPNET user account and making sure that IIS is properly configured to allow client to write to the folder where the website is stored.

But, keep in mind, you'll run into concurrency issues if two or more people decide to open the same document at the same time. Ye who saves last overwrites everything everyone else has done.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Question.inf file??? Pin
25-Jan-05 4:22
suss25-Jan-05 4:22 
AnswerRe: .inf file??? Pin
Dave Kreskowiak25-Jan-05 5:03
mveDave Kreskowiak25-Jan-05 5:03 
GeneralReading the form names form the project Pin
Thirumalaraj25-Jan-05 3:00
Thirumalaraj25-Jan-05 3:00 
GeneralRichTextBox Print Pin
Just Greeky Creek25-Jan-05 2:01
Just Greeky Creek25-Jan-05 2:01 
GeneralRe: RichTextBox Print Pin
Dave Kreskowiak25-Jan-05 5:06
mveDave Kreskowiak25-Jan-05 5:06 
Generalemail save help Pin
Mohammad Daba'an25-Jan-05 0:30
Mohammad Daba'an25-Jan-05 0:30 
GeneralControl needed Pin
Member 166542124-Jan-05 21:43
Member 166542124-Jan-05 21:43 
GeneralRe: Control needed Pin
Ritesh123424-Jan-05 22:40
Ritesh123424-Jan-05 22:40 
GeneralRe: Control needed Pin
GuruPandian24-Jan-05 23:46
GuruPandian24-Jan-05 23:46 
GeneralAutomatic SMS Response System with VB.Net Pin
xponentbd24-Jan-05 20:16
xponentbd24-Jan-05 20:16 
GeneralSystem time Pin
a_david12324-Jan-05 20:06
a_david12324-Jan-05 20:06 
GeneralRe: System time Pin
Dave Kreskowiak25-Jan-05 3:40
mveDave Kreskowiak25-Jan-05 3:40 
GeneralExport Into Multiple File PDF/EXCEL/WORD Pin
bluechip_asia24-Jan-05 17:29
bluechip_asia24-Jan-05 17:29 
QuestionHow To Download then Save As Any Registered File Name Pin
bluechip_asia24-Jan-05 17:05
bluechip_asia24-Jan-05 17:05 
GeneralVB 2 VB.net Pin
cliffton24-Jan-05 15:24
cliffton24-Jan-05 15:24 
GeneralRe: VB 2 VB.net Pin
GuruPandian24-Jan-05 16:15
GuruPandian24-Jan-05 16:15 
QuestionHow to add data to combox box? Pin
viettho24-Jan-05 12:13
viettho24-Jan-05 12:13 

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.