Method capable of calling different browser objects
A browser and application object technology, applied in the browser field, can solve the problems of huge workload, inconvenience, limited expansion ability, etc., achieve the effect of calling each other conveniently, saving steps and time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Now Microsoft Internet Explorer is used as the browser, and Microsoft VisualBasic 6.0 is used as the development language. However, the present invention is not limited to this browser and development language. The present invention is also applicable to other browsers and development languages.
[0031] 1. Create an object:
[0032] a) Create an ActiveX control project and name the project Rtime; write a user control and name the user control KDT;
[0033] The method of writing user controls is described as follows:
[0034] Private Declare Sub OutputDebugString Lib″kernel32″Alias
[0035] ”OutputDebugStringA”(ByVal lpOutputString As String)
[0036] sub OutputPrint(Message as string)
[0037] OutputDebugString "Debug:" & Message
[0038] end sub
[0039] b) Compile the ActiveX control into Rtime.ocx; use Rtime.ocx as an object for the page to call.
[0040] 2. The browser calls the standard method to load the webpage:
[0041] a) Create a new project with VB6.0 and name i...
Embodiment 2
[0075] Now Microsoft Internet Explorer is used as the browser, and Microsoft VisualBasic 6.0 is used as the development language. However, the present invention is not limited to this browser and development language. The present invention is also applicable to other browsers and development languages.
[0076] 1. Create a function:
[0077] a) Use a text editor to write the following script:
[0078]
[0079] function KDT()
[0080] {
[0081] this.debug=function(strtxt)
[0082] {alert(strtxt); return;}
[0083] }
[0084]
[0085] b) Save the above script as KDT.js for the page to call.
[0086] 2. The browser calls the standard method to load the webpage:
[0087] a) Create a new project with VB6.0 and name it InsObj;
[0088] b) Reference components Microsoft HTML Object Library and Microsoft Internet Controls.
[0089] c) Draw the WebBrowser control in the form;
[0090] d) Call the Navigate or Navigate2 method of the WebBrowser control to load the web page; for ex...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com