Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HELP-Web Browser in VFP
Message
From
20/04/2006 16:29:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01114961
Message ID:
01115141
Views:
18
>Hello,
>
>I have a MS Web Browser control in a VFP form, and when the file is located on my local hard disk (typically a PDF file) it properly loads the Adobe viewer in the browser control and displayes it.
>
>When I use the same EXE and try to put it into production on the network, using the same computer, I get the little broken window icon in the web browser.
>
>The file does exist, I have a button that does a ShellExecute of the same file reference and it displays correctly in Adobe in a separate window.
>
>I have the NODEFAULT in the Refresh event of the web browser control.
>
>I've tried to delay the use of the browser after the initial .Navigate("about:blank") web page by checking until .ReadyState = 4.
>
>To recap, same EXE, same computer, different file location (of an existing file) generates a broken window icon in the web browser control.
>
>It's driving me nuts!!!
>
>Thanks,
>
>Kevin

Kevin,
My guess is that you don't pass the fullpath to navigate2 method.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform