|
Rank: Newbie Groups: Member
Joined: 7/20/2015 Posts: 2
|
Hiya, I am new to using the EO WebBrowser and I know it is based on Chrome but im wondering if there is a way to open files?
I know this is a security issue and the fact that IE allows it doesn't mean others should, but there is a requirement that i have that i need this functionality for.
Is it possible to do in EO?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
|
|
Rank: Newbie Groups: Member
Joined: 7/20/2015 Posts: 2
|
Thanks for that.
This does work but prompts the user to save the file with a dialogue box.
Is there anyway to just simply open the file without this?
For example the Local Links module for Chrome allows this. Is there a way to add modules to EO as it is chrome based, or might there be another setting I can change that will allow this functionality?
Pete
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, You can pass a file path directly to WebView.LoadUrl. However whether EO.WebBrowser can open it successfully depends on what kind of files you want to open. If it is a file format that the browser engine natively understand (for example, a HTML file), then it will open. If it is a file that requires a plug-in, then that plug-in must exists on your system. Note a plug-in is registered with Chrome does not mean it is registered with EO.WebBrowser. See here for more information on how EO.WebBrowser loads plug-ins: http://www.essentialobjects.com/doc/webbrowser/advanced/plugin.aspxAdditionally, Chrome supports Chrome extension. EO.WebBrowser does not support Chrome extension. So if the file you are trying to open requires a Chrome extension, then EO.WebBrowser will not be able to open it. Thanks!
|
|