Disclaimer: This code is based on CodeProject's article, "A Complete ActiveX Web control Tutorial," and therefore also follows code Project Open License (Cpol).
In the previous article, COM Component Development Practice (VII)---Multithreaded ActiveX controls and automatic resizing of ActiveX controls (top) describes
Disclaimer: This code is based on CodeProject's article, "A Complete ActiveX Web control Tutorial," and therefore also follows code Project Open License (Cpol).
Recently encountered two requirements: 1 use worker threads in an ActiveX control to complete the underlying hardware Device scan task, and to callback the JavaScript function of the external Web page in the worker thread based on the result of the
active|activex| resolution csharp Tips: Strong name When referencing activex/com components select from Mittermeyer Blog Problem Dotnet platform provides a relatively complete class library, but the first version is never exhaustive, and due to historical problems, often with Com/activex components interoperability. The problem with the author is to call an obje
It is always necessary to upgrade some old ASP systems to ASP. NET. Currently, ASP and ASP. NET must be integrated into a project for various reasons. Since the Development machine is 64-bit Windows 7, it is naturally equipped with 64-bit IIS. After registering the COM component of the old system, run ASP on IISCodeWhen the COM component object is created, the following error occurs:
Microsoft VBScript run
Active|activex| programming
From today onwards we will formally learn the ASP's--activex components. In fact, when you use ASP to write server-side applications, you have to rely on ActiveX components to power Web applications, such as: you need to connect to the database, do online operations on the database or operate on the Web server's file system, or you nee
From today onwards we will formally learn the ASP's--activex components. In fact, when you use ASP to write server-side applications, you have to rely on ActiveX components to power Web applications, such as: you need to connect to the database, do online operations on the database or operate on the Web server's file system, or you need a Web advertising exchange program, All of this you have to do by invok
When you use ASP to write server-side applications, you must rely on ActiveX components to powerful WEB application functions, such as: you need to connect the database, the database online operation, etc., this article will begin to introduce the ASP ActiveX components to use the method.
From today onwards we will formally learn the ASP's--activex components. In
ActiveX Control Concept (Application of COM components)
1. What is ActiveX Control?Based on the COM component technology, it is as convenient to use as a general control. The difference from a general control is that it can be used by any computer program that supports the com standard.2. What is a COM component?Compon
By mikel
Address: http://www.mikel.cn
Recently, you need to print the bill of lading. Previously, you used the report machine control of delphi to make reports. It is very powerful. You can design reports and separate report files from programs, this time I needed to print on paper, so I thought of using activex components to develop printing components.
In this way, this tutorial is divided into two parts: one is Delphi
Active|activex
test.asp
The following is the program code
'---------------------------------------------------------
' ActiveX component application Example One
' Read the authors table in SQL Server 7 pubs database and page to display
' ASP file is responsible for calling and foreground data validation, where the page parameter is mainly
' This example complet
COM component development can use vb c # VC ++ and other individuals to be familiar with C #, but C # controls have a huge disadvantage, requiring customers to install the framework, which is quite difficult, of course, VB also needs to install the Runtime Library. VC ++ can be installed or not installed. It depends on your compilation. In other words, the VC Runtime Library is relatively lightweight and acceptable. So I plan to spend some time organi
"System. Exception: ActiveX components cannot be created"Http://tb.blog.csdn.net/TrackBack.aspx? Postid = 855272A new win2k3 machine, iis6.0. When running a page that uses Excel automation, the following error occurs.
Select distinct WSN from vbapplication. DBO. wf_lifactview where Ws = 'access08family-D161-4DD7-A166-6DA76630600F '; select * From vbapplication. DBO. wf_lifactview where Ws = 'acc08family-D161-4DD7-A166-6DA76630600F 'and Li =' % 'and [
Example of window ActiveX development using the Win32com module: (If you have not yet installed the Win32com module, please go to http://python.net/crew/skippy/win32/Downloads.html download).
Copy the Code code as follows:
# simplecomserver.py Class Pythonutilities:_public_methods_ = [' splitstring ']_reg_progid_ = "Python.utilities"_reg_clsid_ = "{a6688635-62f5-41cb-af54-cba84c2f0f86}" def splitstring (Self, Val):Return "Hello World", Val if __nam
Use the Win32com module to develop an example of window ActiveX: (If you have not installed the Win32com module, please go to http://python.net/crew/skippy/win32/Downloads.html to download).
Copy Code code as follows:
# simplecomserver.py
Class Pythonutilities:
_public_methods_ = [' splitstring ']
_reg_progid_ = "Python.utilities"
_reg_clsid_ = "{a6688635-62f5-41cb-af54-cba84c2f0f86}"
def splitstring (Self, Val):
Re
Problem Description: Modify a predecessor's code, in my own computer run very well, but put to the user computer (Win7 x64) on the above but can not run, reported a title error.Check the following is the problem of Comdlg32.ocx, the place to use the control is:Dim Odialogf_file_commondialog=FalseSet odialog = CreateObject ("Mscomdlg.commondialog")Workaround:1. Register the control: Find this control comdlg32.ocx, the user computer above does not (here can be: link), put to. Windows\System32 and
The method of the COM component is declared in IDL:
[ID (1), helpstring ("Method Inputarray")] HRESULT Inputarray ([in] VARIANT vdata);
Methods to establish an array in a script and invoke a COM component:
When the array is large, like 100k, JavaScript is very inefficient when assigning values to arrays! Completion time, CPU occupancy rate, memory consumption is terrible. Instead, VBScript did a good job
When you run the Zhiyu album software and Zhiyu flat software, double-click the shortcut and the "run-time error '000000' acrivex component can't create object. the error message may be due to the following reasons: 1. The dao350.dll file is not successfully registered. 2. SQL server is not installed. Register the dao350.dll and scrrun. DLL files manually. You can enter regsvr32 "C: \ Program Files \ common files \ microsoft shared \ Dao \ dao350.dll"
I. Overview
In the following section, we will briefly introduce the concept and classification of ActiveX components, so that readers can have a conceptual grasp of ActiveX components. The following describes how to register ActiveX components. The registration methods of ActiveX controls,
*activex controls
The ActiveX control runs in the same process as the client application. can be used in VB or other development tools and Web browser ActiveX control, and general VB application design is similar. you can add property pages for ActiveX control and debug in real time .
*activexdll the objects provi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.