Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Block Popups from Web Browser Control
Message
From
30/08/2006 11:16:00
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01149451
Message ID:
01149791
Views:
12
>That looks like a great attempt to remove popups.
>
>Unfortunately, my situation is a bit different. Let me explain: I am trying to automate the aquisition of documents from courts (legal I assure you) and they recently updated to a new version that has a bug that when the IE popup blocker is not enabled, a 'logoff' popup window is launched that consequently kills their session. This is a recognized bug on their software and they are aware of the workaround of having "Internet Option/Privacy/Popup Blocker" enabled. Unfortunately, this does fix the problem in IE, but not the hosted IE control. Removing the popups is not adequate - I need to prevent them from happening since these popups kill the session.

I understand now.

>
>Also, thanks for the feedback on the locals.prg - you are the 1st person I have received any feedback from - I assumed it was unused by anyone...
>

When I found it, I figured to try it just to see what variables I may have forgotten to declare. I tend to get ahead of myself sometimes when coding, and forget to jump to the declaration section of my code, and declare my variables. When I typed the LOCALS a few times, I found I was not as clean about declaring as I thought.

As I mentioned to Bhavbhuti, I modified the code to recognize PRIVATE, PUBLIC, and DEMINSION declaration also. The code was redeclaring them as LOCAL. This would cause an error when it would hit the original declaration.

Would you like me to send the modified code?
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform