Click here to Skip to main content
15,914,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: vb.net script to delete contence of temp internet folder Pin
Dave Kreskowiak5-Mar-05 4:10
mveDave Kreskowiak5-Mar-05 4:10 
GeneralRe: vb.net script to delete contence of temp internet folder Pin
chris89625-Mar-05 5:07
chris89625-Mar-05 5:07 
Questionread any sector in VB6? Pin
a_yosef4-Mar-05 22:12
a_yosef4-Mar-05 22:12 
AnswerRe: read any sector in VB6? Pin
Dave Kreskowiak5-Mar-05 9:43
mveDave Kreskowiak5-Mar-05 9:43 
GeneralDisable file download dialog box in IE Pin
mecracked4-Mar-05 18:01
sussmecracked4-Mar-05 18:01 
GeneralRe: Disable file download dialog box in IE Pin
Dave Kreskowiak5-Mar-05 4:03
mveDave Kreskowiak5-Mar-05 4:03 
GeneralRe: Disable file download dialog box in IE Pin
mecracked5-Mar-05 21:19
sussmecracked5-Mar-05 21:19 
GeneralRe: Disable file download dialog box in IE Pin
rwestgraham6-Mar-05 0:38
rwestgraham6-Mar-05 0:38 
Since you are using the WebBrowser control, you have a fair amount of control over what happens, particular if you are also authoring the web pages that provide the download links.

Basically what you would do is when the user clicks on a download link, you must catch that event and then you can substitute your own download procedure. After the download completes you could automatically spawn the oFfice app, i.e. Word, Powerpoint, with the file you downloaded being opened.

It is doable, but not trivial. If you are going to substitute your own download process, you will have to write the code that determines a download is required, and then write all the appropriate code to handle the FTP transfer. You will also have to interface with the Office app Automation interface of interest to open the document.

There are a lot of steps involved because you have to control the entire process - from detecting that a user has requested a download, to implemmeting the download transfer itself, and then ultimately interfacing with the Office app that opens the downloaded file.

It is pretty much an all or noting deal. You can either live with the built-in downlaod functionality provided by IE - the nothing option. Or you can write your own download process, in which case it becomes an all propsition - you have to write code to handle evberything from start to finish. It can certainly be done, but you have to correctly put together all the pieces of the puzzle to make it work. It would represent a pretty substantial amount of code. I weould estimate several thousand lines of code to seamlessly integrate the entire process with enough error handling to make it reliable.

Good Luck,

Robert
GeneralRe: Disable file download dialog box in IE Pin
Dave Kreskowiak6-Mar-05 13:22
mveDave Kreskowiak6-Mar-05 13:22 
GeneralRe: Disable file download dialog box in IE Pin
mecracked6-Mar-05 18:54
sussmecracked6-Mar-05 18:54 
GeneralRe: Disable file download dialog box in IE Pin
Dave Kreskowiak7-Mar-05 0:55
mveDave Kreskowiak7-Mar-05 0:55 
GeneralGlobal Variables Pin
Melvin_MCW4-Mar-05 17:28
Melvin_MCW4-Mar-05 17:28 
GeneralRe: Global Variables Pin
Dave Kreskowiak5-Mar-05 4:01
mveDave Kreskowiak5-Mar-05 4:01 
GeneralFiles and folders Pin
nitin_ion4-Mar-05 16:55
nitin_ion4-Mar-05 16:55 
GeneralRe: Files and folders Pin
Dave Kreskowiak5-Mar-05 3:49
mveDave Kreskowiak5-Mar-05 3:49 
GeneralRe: Files and folders Pin
nitin_ion6-Mar-05 16:17
nitin_ion6-Mar-05 16:17 
GeneralRe: Files and folders Pin
Dave Kreskowiak7-Mar-05 1:01
mveDave Kreskowiak7-Mar-05 1:01 
GeneralRe: Files and folders Pin
nitin_ion7-Mar-05 1:08
nitin_ion7-Mar-05 1:08 
GeneralRe: Files and folders Pin
Dave Kreskowiak7-Mar-05 11:13
mveDave Kreskowiak7-Mar-05 11:13 
GeneralRe: Files and folders Pin
nitin_ion8-Mar-05 16:53
nitin_ion8-Mar-05 16:53 
GeneralError: Web.Config File Pin
VB.NET Newbie4-Mar-05 10:19
sussVB.NET Newbie4-Mar-05 10:19 
GeneralRe: Error: Web.Config File Pin
Dave Kreskowiak5-Mar-05 9:44
mveDave Kreskowiak5-Mar-05 9:44 
GeneralRe: Error: Web.Config File Pin
VB.NET newbie7-Mar-05 9:36
sussVB.NET newbie7-Mar-05 9:36 
GeneralRe: Error: Web.Config File Pin
Dave Kreskowiak7-Mar-05 11:07
mveDave Kreskowiak7-Mar-05 11:07 
Generalinvisible group box Pin
tinybunny_84-Mar-05 8:54
tinybunny_84-Mar-05 8:54 

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.