I dont know much about C++ and I need some small modifications done to my program
Microsoft has released some source code that allows VB coders (such as myself) to take advantage of hidden C++ functionality in the WebBrowser control.
This is available here [url removed, login to view] and [url removed, login to view],lightweight%[url removed, login to view]
The demo shows how (using c++) you can modify the webbrowser control giving you more control over how it operates.
I need someone to add some more functionality to this code - the demo shows basically exactly how to do it, and with the help of MSDN this should be no problem.
Part 1) First thing I need to be able to disable images, controls and scripts with the webbrowser control - here is how to do it ([url removed, login to view]) - look for DLCTL_DLIMAGES, DLCTL_VIDEOS, and DLCTL_BGSOUNDS
Part 2) Finally, I need some cookie functionality - to be able to add and remove cookies with ease. Most importantly this adding/removing cookies should only apply to the webbrowser - not internet explorer globally.
This should not be difficult if you know C++.
Please only bid if you can understand the below code.. because this should be the answer to Part 1 :)
STDMETHODIMP CAtlBrCon::Invoke(DISPID dispidMember, REFIID riid,
LCID lcid, WORD wFlags,
pvarResult->vt = VT_I4;
pvarResult->lVal = DLCTL_DLIMAGES | DLCTL_VIDEOS | DLCTL_NO_SCRIPTS;
Sorry one last thing also.. I need to disable the 'click' sounds when the browser navigates somewhere. Solution is at http://stackoverflow.com/questions/393166/how-to-disable-click-sound-in-webbrowser-control
One more link that may be helpful: http://www.xuexionline.com/onlinehelp/csdn/asp.net/Csharphelp/asp.netCsharp/529.html