Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exploring Internet Explorer with the VFP 7 Debugger
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00654329
Message ID:
00655123
Views:
27
>>Thanks, Paul, that's very helpful to know. Now you've given me a reason to install VB6. Bearing in mind that I know virtually nothing about VB, can you suggest the easiest possible way to replicate the sort of simple IE test I described? Also I wonder if this means I will need to uninstall and reinstall VFP6 + SP5 and VFP 7 + SP1, since I never included VB6 in my original Visual Studio 6.0 installation for VFP6. I'm not looking for any extra hassles, but I have a sneaking suspicion that these additional steps might be required.
>
>Create a new (Standard EXE) project in VB. Go to Project/Components. If there is a "Microsoft Web Browser" in the listing, check it. There wasn't any on my machine, so click on Browse and look for SHDOCVW.DLL (change the filetype from ".OCX" to "All Files". It should be in the Windows\System32 directory. A little "World" symbol should appear in the controls on the left hand side. Double-click on it and it will at it to the form.
>
>Double-click on the form and it will open a code window in the Private Sub Form_Load() section. Just add code like: Me.WebBrowser1.Navigate("http://www.google.com") (the "Me." isn't really necessary). Now click on Debug, Step Into. Click on View and then Locals Window. Step into the code until it has navigated to the website. Now you can click on the "Me" reference in the locals to walk through the WebBrowser object.

Thanks again, Paul. Once I figure out the proper way to go about installing VB6, I'll be all set.

Mike
Montage

"Free at last..."
Previous
Reply
Map
View

Click here to load this message in the networking platform