Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Experts*
Posted

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

"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
  • *Experts*
Posted

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

"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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...