473,761 Members | 3,542 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WebBrowser FileDownload

I'm trying to hook some simple monitoring functions into an existing
WebBrowser instance on a form... I was hoping to track individual file
downloads, so I looked at the FileDownload event. Unfortunately, this
tells you that something happened, but is only EventHandler/EventArgs,
so doesn't tell you /what/ (which is a bit useless).

I was hoping to track the individual urls for the images, scripts
etc...

Am I missing a trick here?

Marc

Aug 15 '06 #1
1 6603
Actually, ignore the original question, as it appears that this only
fires for the main document; so - is it possible to capture the
download of component files?

Marc

Aug 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1813
by: Jim | last post by:
Reading http://msdn.microsoft.com/workshop/browser/webbrowser/reference/events/filedownload.asp, it seems that the FIleDownload event occurs before showing a File download dialog box. In this event, you can cancel the download. But, where can you find the URI to the file that was trying to be downloaded?
3
1744
by: Robert Skidmore | last post by:
I am trying to figure out a way to get a list of URL that my webbrowser control has accessed, including images, javascript files, and download files. Some of the urls I am trying to capture are obscured in javascript so looping through the documents links is not good enough. I tried the filedownload event but I could not figure out how to get a url from it, and it does not fire on everything. Any ideas?
5
3117
by: SPE - Stani's Python Editor | last post by:
Hi, During optimizing SPE for Ubuntu, I found something strange. I have Ubuntu 5.10 "The Breezy Badger" and unfortunately this code is not working: >>> import webbrowser >>> webbrowser.open("http://www.python.org") It does not throw an exception, but is not able to launch a browser.
2
6366
by: standish22 | last post by:
want to open a word document stored in my database. What I do is save the document locally, and then open a new winform that has the WebBrowser Control on it and navigate to that new file. This allows the user to manipulate the file and save it. When they close the WebBrowser, if the contents has changed I save it back to the db, and delete the local file. My problem is the "File Download" window that comes up. If the user
0
1852
by: Joe | last post by:
Hi Anyone using the WebBrowser with Excel in DotNet 2005??? I have it working with the code below from MS but am trying to eliminate the following behaviors 1)Stop FileDownload Dialog from Opening 2)Stop Open XML Dialog from Opening 3)Stop a separate Instance of Excel from starting
11
2843
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
0
1108
by: prefect | last post by:
I am trying to make a file download functionality similiar to the downloads at www.microsoft.com/downloads/ I have a FileDownload.aspx page. when user clicks download button , i open a popup and the file identifier is sent to FileDownload.aspx . I use Response.WriteFile( ) to send the file to client. But how do i close the Popup after the "Save File" window appears ? Putting a delay to wait for the response to reach the client seems...
4
1742
by: =?Utf-8?B?Q29tcHV0ZXJXZWVuaWU=?= | last post by:
Hello, I'm not sure if this is the right forum to post this question, but I cannot find a more relevant forum. I am using Visual Web Developer and using the FileUpload Control to upload files to the web server just fine. But, why is there not a FileDownload Control? How can I allow users to download files from the web server?
3
9445
by: TedTrippin | last post by:
Hi, Background - I've create a windows application in VS and added a WebBrowser component and all works well. I'm now trying to do this programmatically. My application now listens on a socket and when it receives a request it creates a new Form and adds a new WebBrowser. The problem - All works well without the WebBrowser, the form is visible, but when I do "Controls.Add(webBrowser)" I see nothing, not even something in the windows...
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9377
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9989
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9811
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8814
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.