Latest OxygenBasic.zip at GitHub (Click on the Wizard)
0 Members and 1 Guest are viewing this topic.
vbMHWB, ActiveX control Replacement for VB's Webbrowser controlThis activeX control (Source included) creates and hosts multipleinstances of the same webbrowser control which VB, C++, Delphi, ... use.The difference is that with vbMHWB you have total control over GUI,Context menus, Accelerator keys, Downloads, Security, ... using variousnew events, properties, and methods. This is in addition to most of theproperties, methods, and events that VB's webbrowser control offers.=================================================Here is a list of main features=================================================Allows viewing of all request headers (html, images, css, ...) with theoption of adding additional headers (HTTP+HTTPS).Allows viewing of all response headers (HTTP+HTTPS).Allows GUI customization using DOC_HOST_UI_FLAGS per Webbrowser Controlinstance or globally.Allows behavior customization using DOC_DOWNLOAD_CONTROL_FLAGS perWebbrowser Control instance or globally. DLIMAGES, DLVIDEOS, ...Disallows context menus or raises OnContextMenu event for each contextmenu activated.Disallows accelerator keys or raises OnAcceletorKeys event for eachaccelerator key activated.That, by default, is configured to take over user downloads usingFileDownloadEx and OnFileDLxxxx events.That can be used as a simple download manager using DownloadUrlAsyncmethod and OnFileDLxxx events.Allows fine tuning of security per URL viaSecurityManagerProcessUrlAction event.Allows interception and overriding of HTTP security problemsvia OnHTTPSecurityProblem event.Allows interception and overriding of basic authentication requestsvia OnAuthentication event.It is as easy to use as any other ActiveX control. Register, make areference to it in your project and use.In addition adds a host of new properties, methods and events.NewWindow3, cracking and creating URLs,...===================================================The source is in C++ and included in vbMHWB sub folder. For those whocan not compile the dll and due to the fact that PSC does not allowcompiled dlls, you will need to download the compiled version fromhttp://sourceforge.net/project/showfiles.php?group_id=137627&package_id=151143&release_id=326449===================================================To run the vbDemo project. After unzipping/building the package, copyvbMHWB.dll from binaries/build folder to your system folder andregister the control. (assuming system dir path is 'C:\windows\system32\')regsvr32.exe C:\windows\system32\vbMHWB.dll.===================================================HompePage:http://vbmhwb.sourceforge.net/
Sub LoadHTMLFromString(wbUID As Integer, sContent As String, sBaseUrl As String)Loads sContent into a stream which is then loaded into the document. Unlike document.write, scripts are executed.If content is greater than 256 characters then a base tag must be present to dispaly the entire content.sBaseUrl sample: http://www.google.com.
Data ViewAutomation errorError accessing the OLE registry