Set ie trusted site and ActiveX settings in JS
Modify ActiveX security settings on the webpage, add a trusted site, and disable pop-up blocking.Program
Registry Key of the trusted site: HKEY_CURRENT_USER/software/Microsoft/Windows/CurrentVersion/Internet Settings/zonemap/Ranges/range [*]
ActiveX registry key: HKEY_CURRENT_USER/software/Microsoft/Windows/Cur
Today, the customer raised a headache. The customer's environment is like this: because it is a factory production environment, the LAN cannot be connected to the Internet. Some of their departments need to use ActiveX controls on the page s for hardware detection, so the options for running ActiveX are enabled on the client IE of these departments; other departments do not need to use
There are many people who understand ASP (Active Server Pages), but there are not many people who can use ASP to freely call ActiveX controls. If you do not call ActiveX controls, it can be said that Microsoft's original intention to design ASP was not achieved. As we all know, ActiveX technology is another new measure Microsoft has taken in addition to IE on
To satisfy the need to add a site to a trusted site, use the system's controls to not prompt the user when the window pops up. This can be done in the following ways:
First, look at the values and meanings you can set.
Record of registry entries for trusted sites
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\zonemap\ranges\range[*]
Record of registry entries for ActiveX controls
HKEY_CURRENT_USER\Software\Microsoft
The use of fonts is an integral part of the process of making ActiveX controls. This article will explain in profound detail how fonts are used in the process of making ActiveX controls. The production of ActiveX controls mentioned in this article refers to the use of vc++6.0 MFC ActiveX ControlWizard tools to make
I. IntroductionDialog Technology
---- The following describes how to introduce the mode-based dialog box technology when creating ActiveX controls. The procedure is as follows:
Create a newThe MFC ActiveX ControlWizard project named Hello. Use the default options for other items;
InAdd a dialog box resource on the ResourceView page named IDD_HELLODIALOG.
Put your own controls on the b
1. Reference Microsoft. mshtml
The path of Microsoft. mshtml is C:/program files/Microsoft. NET/primary InterOP assemblies/Microsoft. mshtml. dll. After adding a reference, write it in the ActiveX class:
using mshtml;
2. Use C # to implement two com classes: ioleclientsite and iolecontainer
using System.Runtime.InteropServices;[ComImport, Guid("00000118-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]public interfac
Because RFID reading is used in web projects, it is necessary to develop ActiveX. Generally, ActiveX is developed using VC, VB, etc. However, these two parts are not very familiar, therefore, C # is used to compile ActiveX. For more information, see network 1. compile windowsfromcontrols2. publish windowsformcontrols to activex3. use this
Recently, a lower-level student in the lab asked me questions about ActiveX controls, saying that an interface ActiveX control should be compiled and placed on a webpage. This aims to make use of the convenience of Internet Web, replaces the common client.
When I checked the information, I found that many people asked similar questions, but the answers were generally not detailed enough. So I shared some of
There are two methods:
1. directly put the visualized ActiveX control into the program;
2. Real-Time Creation as needed during runtime.
If it is directly used, the application will automatically find and create the required ActiveX Control during initialization. If the control is not registered, the initialization program will generate an exception, capture and handle this exception.
Add a new method to the
ActiveX method written by Internet Explorer 8 (IE8) debugging (Debug) Delphi 7
Debugging a troublesome and weird error for colleagues (ActiveX running Delphi 7 in IE8/chrome4 causes an inexplicable environment-related AV error when calling the WebService method, but there are still some things worth recording in the process. One of them is how to debug ActiveX i
In my previous blog, a basic ActiveX control has been implemented. Of course, the task we have compiled is not completed yet. First, we try to implement interaction with Js.
Add the showmessage method in the demo: Public void showmessage (string MSG){If (MSG! = NULL){MessageBox. Show (MSG );}}
Recompile. Before accessing the page again, modify the htmlCode: Classid = "CLSID: 9551b223-6188-4387-b293-c7d9d8173e3a" width = "184" Height = "96">
No
Windows Programming _ sun Xin C ++ lesson18 ActiveX Control
Solution to environment problems in vc6.0 win7:Note that the environment in this course is very important. errors may occur in the Windows 6.0 system. The error and solution are as follows:(1) You cannot register a control and try to register it as an administrator. For example, run cmd.exe with the administrator ID, and then type regsvr *. ocx orThe administrator ID to run a few registration
Because RFID reading is used in Web projects, it is necessary to develop Activex. Generally, Activex is developed using VC, VB, etc. However, these two parts are not very familiar, therefore, C # is used to compile Activex. For more information, see network 1. compile WindowsFromControls2. publish WindowsFormControls to Activex3. use this
In response to customer demand = =, to the web-side to achieve the function of printing small tickets
First, a printed small ticket (the total is obviously wrong, because there is the ability to modify the order, please ignore)
What is the way to achieve it: I think there are three kinds of it
1. Using a third-party browser control (this seems more convenient, my teacher also recommended me) to recommend a LODOP print control2. Use CSS to write the template, and then di
If you encounter problems at ordinary times, record them here. Make a record for yourself and refer to users who encounter similar problems.
When using javascript to call activex controls, I need to pass a string to the activex control. Now I have encountered a strange problem. Printing in javascript is correct, but it is not correct in activex control.
If you
There are a number of different versions of the solution to this problem on the Web:
1, start to run the input regsvr32 scrrun.dll on it
2. It was also said that:
"Run-time Error 429,activex the part cannot create object" 2009-07-24 16:25 prompts: "Run-time error ' 429 ': ActiveX Part cannot create object" ...
Or: "Run-time error ' 429 ' ActiveX componnent ca
I. Introduction of DIALOG Technology
The following describes the introduction of a modal dialog box technique when making ActiveX controls, as follows:
Create a new MFC ActiveX ControlWizard project named Hello, others with default options;
Add a dialog box resource to the ResourceView page named Idd_hellodialog, where you can put your own control on the dialog box;
Creates a new class Chellodialog for
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 completely uses
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.