Project ID:
549041
Project Type:
Fixed
Budget:
$30-$250 USD
Project Description:
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 http://support.microsoft.com/kb/183235 and http://msdn.microsoft.com/en-us/library/aa770041%28VS.85,lightweight%29.aspx
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 (http://msdn.microsoft.com/en-us/library/aa770041%28VS.85%29.aspx) - 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,
DISPPARAMS* pDispParams,
VARIANT* pvarResult,
EXCEPINFO* pExcepInfo,
UINT* puArgErr)
{
switch (dispidMember)
{
case DISPID_AMBIENT_DLCONTROL:
pvarResult->vt = VT_I4;
pvarResult->lVal = DLCTL_DLIMAGES | DLCTL_VIDEOS | DLCTL_NO_SCRIPTS;
break;
default:
return DISP_E_MEMBERNOTFOUND;
}
return S_OK;
}
Additional Project Description:
11/12/2009 at 7:17 EST:
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
11/12/2009 at 7:50 EST:
One more link that may be helpful: http://www.xuexionline.com/onlinehelp/csdn/asp.net/Csharphelp/asp.netCsharp/529.html
Skills required:
C Programming,
Delphi,
Embedded Software,
Javascript,
Visual Basic