External WebBrowser control browsing? - c++

I have idea, i want to code some very specific browser.
That browser gonna run with 2 processes, the first process will have the GUI for the user to navigate and to view the page and the second process will be the one that is doing all the http requests and handling the page clicks events.
I am planning on using MFC WebBrowser control for the job.
I think Internet Explorer version 8/9 has this feature....
Someone can give me hints how to implement this ?
Pipes with classes serialization ?
Any links,resources,hints are welcome :)
Thanks in advance :)

IE already does this. What is your question? How to use the IE web browser as a control? Please google and ask more specific questions.

Related

How to change code of a live page without bringing down the service?

After more than sufficient googling and hitting dead-ends, i want to ask community if some one can point me to correct direction
My Question is :
I have some new features which i need to implement on one of my existing site.Due to some constraint i can not stop the web-service, so how can i implement the changes that i have done on my page from localhost to live-server?
Site is coded in PHP (if this info helps!! :) )
Its similar to what Google, LinkedIn and facebook does on their social network - implementing new chats windows or making a jquery box pop-up for a tour on page refresh (experienced this many times)
Any help / pointers is appreciated.
thanks!
PS : feel free to re-tag the question! :)

Using a web site button control via C/++

I use www.jango.com as PC music player and want to steer it remotly via my smartphone. I have a server program for controling the PC and an app as client.
I want to use the server program for example to press the play/pause or fast forward button in jango.com running inside the chrome webbrowser.
A simple way would be to simulate a windows mouse click at a specified position within the chrome window. But it would have the disadvantage that it would only work if the jango tab is active and will of course fail if the site changes it's layout and probably due to a lot other reasons.
So I'm thinking about generating kind of the same http request as the browser does if one clicks the button for real. Or somehow accessing the html elemnt
Please consider thatm while having a C/++ background, I lack any web/JS programming skills and would be in favor keeping it this way as much as possible.
Thank you for any suggestions!
The solution is to use an user script for the musik player web site which is able to trigger the buttons in question. Than websockets can be used to communicate between the user script and the c++ server program.

What if you put a manifest="cache.manfest" in a .cfm page?

We're developing a tablet app, and my coworker had a rogue thought:
What if you put a manifest attribute on the html tag of a ColdFusion page? Would it
still work if the user couldn't get to the server?
I think it's lunacy, but I wanted to hear what you guys had to say.
The client side is not aware of how is generated the page. He didn't even know if the page is generated. So, the page is cached like another page.
If you are not connected, the could handle this case with some javascript and alert the user you can't communicate with the server.
You could simply disable the application or work with localStorage etc...

Facebook communication to Application

The start-up i currently work for is oriented around restaurant wait times. For our v1.25 specifications our clients -restaurants- that have Facebook pages want to be able to communicate to their app profile from their Facebook page.
The closest i have came to answering this question is the Graph API. However, the Graph API only allows us to read and write data to FB pages. So, is there a way for a restaurants FB page to write to its app profile? Secondly, Loso, whom we have modeled some of our designs from has this ability, does anyone have an idea as to how they have done it?
--Boris M.
Here is an option that you can consider...
When you are designing the app you can also develop a page tab to go with it...
You will find this option in the basic settings of the app.
You can make it to install for all first time users of your app, by getting a list of all his pages he created using that profile then install it on the one he selects.
This page tab when installed on a page will appears just where other tabs on the page appers(e.g. events, notes etc. occurs)
You can provide your required functionality on this tab as you like.
Thus the user can just select that tab on the page and use its functionality to post on the profile page of the app.
Hope this works for you... and also u can check out the jobcaster app it does something like that!

A solution for integrating ads in (Qt) applications

I'm working on a software that I would like to offer for free in charge with advertisement banners inside the application. Something like the banners in Spotify or the banner in the MS Live Messenger Contact List. Something like the iAd system that integrates in iOS-applications.
Are there any solution for this? I'm programming a multi platform C++ Qt-application. Of course I can have a web browser frame and use a web-based advertising system, but that would be very easy to block for the user. Therefore I would prefer a system that also would work offline in some way.
As you all have pointed on; it's very difficult to imagine a system that will run even without a network connection. As I mentioned in the question, the best solution would be to have a WebView and depend on the network. And I think so too, but I was interested IF there was something geneous solution out there that I couldn't find.
In addition I think I can display a banner for the company or something like that when there are no connection. My application does not need Internet connection for any other functions, so it would be very easy to click "no" when the windows firewall asks for permissions for the program.
But I still want the advertisement to be annoying enough to give the paying users a good advantage. (I personally hates other programs doing so, and the alternative for me is to release the software Open Source, but I think I have a good idea, and if I ever finish and release something, I would like to see if it is possible to get any money out of it.)
Doesn't QT have something like a KHTML webbrowser control ?
Then you could simply embedd a web-page with a google add in a HTML page.
I suggest offline banners as well. Just you should organize a smart mechanizm in order to have your banners in a safe place, because user can just find the banner folder, and delete all banners and put there just a blank image with a fixed color and your ads are done :).
Also you should update the banner folder content whenewer the user has an internet connection and you should do that in background! This is the main idea.
If there are improvements of this idea, I would like to discuss with great pleasure as this question interrests me too!