Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_webbrowser, Navigate and READ EVENTS
Message
 
 
To
22/09/2009 16:11:32
Howard Brown
Howard J. Brown Consulting Services Inc.
North Kingstown, Rhode Island, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 2000 SP4
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01425655
Message ID:
01425678
Views:
45
>I have placed Microsoft's _webbrowser control on a form. When I DO FORM formname, I successfully reach a URL using thisform._webbrowser41.navigate("http://www.myurl.com/") and perform a file download. Then I click on a command button which has the TerminateRead property = .t. However when I return to the calling program, where the next command is READ EVENTS, the calling program "stalls" or seems to go into limbo, does not execute the code, the menu gives me the choice of Cancel or Suspend. Debugger is pointed to the READ EVENTS line but will not execute it. I have tested the command button and determined that it functions correctly when the webbrowser code isn't a factor. Help? TIA.
>Howie

The TerminateRead property is for old style screens with READ Command. Execute CLEAR EVENTS in the button Click instead.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform