Step 1:
Anyone who has used ActiveX knows that ActiveX cannot be recognized and used by the system if it is not registered. Generally, the installer automatically registers the ActiveX control it uses, but what if you need to manually register a widget? If you modify the registration table, it will be too annoying. There is a regsvr32.exe program under the systemfile folder of windows, which is the built-in ActiveX registration and anti-registration t
COM: Server. cpp and sever. Def.
Server. cpp defines four standard functions for the windows and COM runtime libraries and some component registration tools (such as regsvr32.exe), as shown below:
//
// Dllmain-
// Called by windows when important events happen
// To the DLL. In particle, we are interested when
// The DLL is initially loaded. When this ocurrs, we
// Save the instance handle for later use.
// When the DLL file is loaded by wind
How to register Components
1. absolute path of the regsvr32 component
Example: regsvr32 C:/test/fc1.dll
The component can be used as long as it is registered, so it is irrelevant to the position of the component.
2. Register in COM + component manager.
When to register the component: After the component uses the COM + service, it must be registered before it can be executed normally. If this component i
DLL file is registered, but is first searched locally.
The environment variables of the zookeeper system seem to only support executable files, such as exe, com, scr, bat, and cmd.Dll should not be supported. There are two types of system environment variables, one is win32 application and the other is under the cmd command line,Improper configuration may cause an error. In addition, it is easier to register using the command line: regsvr32/s path \
"Start/run", enter "CMD" in the displayed dialog box, and press enter to open the Command Prompt window.Enter "For % I in (C: \ windows \ system32 \ *. dll) Do regsvr32.exe/s % I" at the command prompt"(The actual input does not include the outermost double quotation marks, the same below). After you press enter, all dynamic link libraries under the System32 directory are registered one by one (1 ).
:
After permissions and services are set, you need to do the following to prevent asp Trojans. Run the following command in the cmd window:
Regsvr32/u C: \ WINNT \ System32 \ wshom. ocx
Del C: \ WINNT \ System32 \ wshom. ocx
Regsvr32/u C: \ WINNT \ system32 \ shell32.dll
Del C: \ WINNT \ system32 \ shell32.dll
You can uninstall the WScript. Shell, Shell. application, and WScript. Network components to effec
Prompt window, enter the following command:
Regsvr32/u scrrun. dll
After the command is executed, you can disable the FSO object. To restore the FSO object, use the following command:
Regsvr32 scrrun. dll
After the command is executed, the FSO function can be restored.
(2) disable the ADODB. STREAM Object
In addition, many web Trojans use "ADODB. STREAM "is used to list the server file directories. Some AS
Source: http://publish.it168.comDLL is a "Unfamiliar file" for many users. Such files can be seen everywhere in Windows systems, but they do not know much about their applications. In fact, using DLL files can not only enhance practical functions for the system, but also solve some difficult problems.1. Use a DLL file to create a virtual desktopGenerally, a third-party application is required to achieve the Windows virtual desktop effect. Have you ever thought that a DLL file in a partition can
disk, we can consider a registry error. At that time, adding or deleting a file may not be opened, or even disappear. This problem may occur if the file is modified by a virus.
Second, the related files are not registered.
Since it is a 2000 system, I will give her the following command and use it successfully. The command is listed for reference after mm:
Regsvr32 Appwiz. cplRegsvr32 Mshtml. dll
Regsvr32
frequent IP address conflicts and faults in LAN workstations, we can use the Regsvr32 command in the system to hide the "Network Connection" icon, in this way, if a common user cannot find the "Network Connection" icon, the IP address of the workstation cannot be modified at will. The specific implementation steps of this method are as follows:
The user can modify the IP address of the workstation only after entering the "Network Connection" attribut
. the fact that you can't find a DLL that can be registered with regsvr32 is a strange problem. if might live in another folder, c: \ windows \ system32 perhaps. look at the properties of the wintsrrapilib reference in your project. also, the component may itself use another ActiveX component that requires regires. like the VB6 runtime files for example.Another way to debug this problem is to use the regmon utility, available for free at www.sysintern
(1) the correct dao360.dll is generally in c: \ Program Files \ common files \ microsoft shared \ Dao, check whether the version is correct and not replaced, and then re-register
Run "start"-> "run" input: regsvr32 and drag dao306.dll to the "run" window. Press enter to complete registration.
(2) How to fix ArcGIS file registration informationIf the file registration information of ArcGIS is incorrect, unexpected results may occur. You can try to fi
I was able to open the chm format document the other day, but I suddenly couldn't open it when I wanted to use it today. I found a solution online and hoped it would be helpful to you!
1. Check whether the language settings of your OS are consistent with that of the CHM document? If they are inconsistent, the above error cannot be opened. For example, if the CHM document downloaded is Chinese, go to the [Control Panel] to check the [custom] of the "language and region" and check whether the [re
error, most of the messages are due to gateway configuration problems and need to be resolved by the network administrator.3. You can open the home page, but you cannot click the secondary link. Most of these problems are caused by the lack of IE components. The solutions include:A. Register the IE component again. Open the "Start" menu -- run -- enter regsvr32 jscript. dll and press Enter. If a success prompt is displayed, enter
The installation process is as follows.
1. Confirm the computing name my computer-> right-click Properties-> computer name-> confirm the computer name, preferably not the special one.
2. For the full version of XP, go to Control Panel> add and delete Programs> add and delete Windows Components.
-> Select IIS and install IIS in the next step.
3. If it is a simple version of XP, there will be more problems during installation.
It usually takes a hard time.
3. 1. Start first-> Run-> Enter cmd mode
can not be nuanced to the point, more than only in the method
User elevated permissions from script:
Security Settings for asp:
After setting permissions and services, prevent ASP Trojan also need to do the following work, in the CMD window run the following command:
Regsvr32/u C:\WINNT\System32\wshom.ocx
Del C:\WINNT\System32\wshom.ocx
Regsvr32/u C:\WINNT\system32\shell32.dll
Del C:\WINNT\system32\shell
How to register a component
1. Absolute path to Regsvr32 component
such as: regsvr32 c:estfc1.dll
Because the component can be used as long as it is registered, it has nothing to do with the location of the component.
2. Registered in the COM + Component Manager.
When do I need this registration: The component needs to be registered to perform properly after using COM + 's services. If the component is only
, click on the "Start" menu
b, click on "Control Panel"
C, open System in Control Panel
D, click on the "Advanced" tab in "System Properties"
E, click on the "Environment variables" button in the "Advanced" tab
F, in the System variables box in environment variables, modify the variable value in path to:
%systemroot%system32;%systemroot%;%systemroot%system32wbem
Method Five, run regsvr32 filemgmt.dll
A, click on the "Start" menu
B, click "Run
XP system is still a number of users in use, recently have customers say they want to delete some do not want to use the software, open their own control panel inside the deletion or add programs to operate, the results found inside is blank, click on the above program also did not respond, do not know what is going on, Click on the Add Delete component settings can be clicked, how to solve the problem of the blank, small series will tell you about the specific method.
Specific methods:
/me". Win2000 If you hit the SP patch, just start, run, enter: regsvr32 c:winntapppatchslayerui.dll. Right-click, properties, also appear compatibility options.
Example three: RealOne gold was shut down with an error that was previously used normally, but most recently the "0xFFFFFFFF" memory referenced by the "0xffffffff" directive at each shutdown. The memory cannot be prompted for "read". Workaround: When using the input method for Microsoft Pinyi
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.