Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Russell Hill
  Where is Russell Hill?
 Sydney
 Australia
 Russell Hill
 To: Marco Plaza
  Where is Marco Plaza?
 Caracas
 Venezuela
 Marco Plaza
 Tags
Subject: RE: Web Browser
Thread ID: 373724 Message ID: 373778 # Views: 45 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: General VFP Topics
Date: Tuesday, March 26, 2013 10:53:32 PM         
   


> > Hi all,
> >
> > I am using a Web Browser object to navigate to a web page based on user input.
> >
> >
thisUrl = 'http://www.risa.com.au/FreeFields/' + userDefn
> > ThisForm.webBrowserObject.Navigate2(thisUrl)

> > This has been working ok for a couple of years but now I'm getting the following prompt on myButton.Click().
> >
> >
> >
> > I can click past this prompt and the navigation and display still both work.
> >
> > That said, the prompt coming up is annoying and I would like to find a work around if possible.
> >
> > Does anyone have any ideas as to (a) why this would have happened and (b) if and how I can lose it?
> >
> > TIA.
> >
> > Russell.
>
>
> Try setting:
>
> WebBrowser.Silent = true
>
> Marco

Hi Marco,

Just an update FYI.

This works fine when there are no dialog boxes but when there are they don't function properly when I use .Silent = .T.

For example, I added .Silent = .T. to a Web Browser control where there is some user interaction with a Select a Date dialog box. This doesn't work unless I roll it back to .Silent = .F. and put up with the prompts again.

Cheers,

Russell.

ENTIRE THREAD

Web Browser Posted by Russell Hill @ 3/26/2013 3:30:28 AM
RE: Web Browser Posted by Jun Tangunan @ 3/26/2013 4:12:02 AM
RE: Web Browser Posted by Russell Hill @ 3/26/2013 4:17:49 AM
RE: Web Browser Posted by Marco Plaza @ 3/26/2013 4:39:11 AM
RE: Web Browser Posted by Russell Hill @ 3/26/2013 5:22:33 AM
RE: Web Browser Posted by Dan Baker @ 3/26/2013 5:45:09 PM
RE: Web Browser Posted by Russell Hill @ 3/26/2013 10:53:32 PM
RE: Web Browser Posted by Marco Plaza @ 3/26/2013 11:27:48 PM
RE: Web Browser Posted by Russell Hill @ 3/26/2013 11:35:04 PM
RE: Web Browser Posted by Bernard Bout @ 3/27/2013 5:25:29 AM
RE: Web Browser Posted by Russell Hill @ 3/27/2013 5:34:37 AM