cgchris99 Posted October 24, 2003 Posted October 24, 2003 I am using the axwebbrowser. I have automated the navigation of a website. The program presses one of the buttons on the website and "Open/Save/Cancel" Dialog appears. How can I programatically press the Save and then fill in the name and click the save button Quote
*Experts* Nerseus Posted October 24, 2003 *Experts* Posted October 24, 2003 Is this to automatically download a file? I wouldn't use the browser control if you can help it. It's probably best to use something that directly downloads the file given the actual address (the full URL to the file, be it HTTP or an FTP address). I would discourage trying to override the default prompting of a Save dialog as it's there not to impede you, but as a security so that you don't download something you don't want. -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
cgchris99 Posted October 24, 2003 Author Posted October 24, 2003 I don't know what else to do. If I could get to the xml data inside the AXwebbrowser, I wouldn't have to try this. But so far I am just spinning my wheels here. Quote
*Experts* Nerseus Posted October 24, 2003 *Experts* Posted October 24, 2003 Are you referring to this thread? Did you ever try the other suggestion by vsnt? Maybe you could show us a sample project? Is the website you're linking to public, so that we might try it? If you use the HTTPRequest object, as suggested by vsnt, you can read the text coming from the website directly. If it's truly just XML, you can probably get it into a string easily. I'm wondering if it's XML or just HTML formatted to look like XML. Have you tried other properties of the web control, like an InnerText (if that exists)? -Ner Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.