Web Browser embedded in my application


John Clarke
Is it possible to have a web browser embedded in my application? The idea is that I would have a panel on the application that would be the web browser and A text box for entering a URL.

When I enter a URL into the text box and press enter the website will be displayed on the web browser on the panel

I would appreciate all advice offered regarding this


DecSoft

Hello John,

I think that what you can may use is an IFrame HTML control. Since you can change the IFrame's source / URL, you can create something similar to a browser. Of course, we can find some possible limitations, and, the most important, can be that not all the websites are allowed to be shown inside an IFrame, so, depend on the website that you want to visit, you can enter in troubles that cannot be solved, since do not depend on you nor the IFrame control, but on the website's server itself. There are a couple of IFrame sample apps included with DecSoft App Builder, so, you can take a look at it.



John Clarke
Thanks...I will definitely check out those sample applications.

DecSoft

Hello John,

Yes; certainly the IFrame control can be interesting. One of the sample app that you can see shown this website in particular, and, as you can see, there is no problem (or not too much problems) with it. The second sample app is maybe more interesting, because show how we can communicate between the IFrame and the website (or HTML file) which is shown in the IFrame, and, this can be interesting if we need something like that. So the IFrame control can be very good, even when probably cannot be considered something like an entire browser embedded in our app.


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.