Label: dsoframer C #
1. dsoframer registration method in XP, win7 and Win8.
Download dsofrmaer_kb311765_x86.exe from the Microsoft website, and double-click the files such as dsoframer. ocx obtained after unzipping.
(1) XP Registration
Copy dsoframer. ocx to the system directory c: \ windows \ system32 and use regsvr32 for registration.
Regsvr32 c: \ windows \ system32 \ dsoframer.
Note: "automation error" is actually an error returned by a program or component when VB calls the program or component. Therefore, whether these components can run properly must be considered.
For example, when you run the following code on some machines:
Dim wshshell as object
"Automation error" occurs because "wscript. Shell" cannot run properly.
Bytes -------------------------------------------------------------------------------------------------------------------------
The following meth
It's been a lot of work lately, a problem with the Office software embedded in the project, not having time to study, and the project's need to browse Word documents, steal a lazy, convert Word documents into PDF documents, and then embed the Libcef browser to open theNow back to, re-study the direct approach to this area, in the online search for various information, finally decided to use OCX this program to complete this function, can be limited to
--------------
In the original XP, the 2003 Server was installed on the base, and the system prompts: Can not find ctmetr32.ocx in system folder.
Note: This file is available in Windows/system32/and Windows/system, and it is useless to log on again.
Reregister ctmetr32.ocx: regsvr32 ctmetr32.ocx. login is useless.
Register regsvr32 C:/Windows/system/ctmetr32.
Solutions and experiences for failure of javascript to call ActiveX InterfacesSome time ago, the company made a relatively large project and needed to use the ocx control. Most of our projects adopt C #. net, while the ocx control interface of winform program bar is relatively simple, but javascript calls the ocx interface, but it is somewhat different from the u
The basic concept of 1.ActiveX
An ActiveX control can be viewed as a minimal server application that cannot run independently, and must be embedded in a container program to run with that container. This container includes Web pages, application forms, etc. ...
The name of the ActiveX control's suffix is OCX or DLL. Generally, OCX and dynamic library coexist in the form of packaging into a cab or EXE file
1. project-->options-->compiler--> Click Full Debug
2. Project-->build All Projects
3. Add breakpoints to the code you want to debug.
4. Project-->web Deployment Options-->directories and URLs
(1) Target dir (full path of the deployed OCX)
Fill in the address of your OCX post, such as C:\ccrun\www\
(2) Target URL (Virtual path of the deployed OCX)
Fill in
regsvr32 shdocvw.dll
regsvr32 oleaut32.dll
regsvr32 Mshtml.dll
regsvr32 actxprxy.dll
regsvr32 urlmon.dll
regsvr32 shell32.dll
regsvr32 browseui.dll
regsvr32 appwiz.cpl
regsvr32 msjava.dll
regsvr32 Jscript.dll
regsvr32 Msi.dll
regsvr32 "C:Program FilesCommon filessystemole DBOledb32.dll"
regsvr32 "C:Program FilesCommon FilesSystemAdoMsado15.dll"
regsvr32 Mshtmled.dll
Perform the first part, restart the computer, and then perform the second part if it is not valid.
3) If the Oleau
Wine can let you in Linux near perfect use PowerWord 2003! Here's how to use the PowerWord 2003 process.
First, solve the Wine itself
Then modify the Wine configuration file and copy the required DLL
1, copy several Windows DLLs: They are Comctl32.dll, Commdlg.dll, Commctrl.dll,shell.dll,shell32.dll,shfolder.dll,ole32.dll,oleaut32.dll,rpcrt4.dll is located under the system under your real Windows directory, Copy them to your virtual Windows directo
), processes (process), threads (thread), and access to the registry (Windows Registry) and error handling mechanisms (fault handling). These feature interfaces are located in the Kernel.exe, Krnl286.exe, or krnl386.exe system files under 16-bit Windows, and in Kernel32.dll and Advapi32.dll under 32-bit Windows.
Graphics Device Interface (GDI) [6], which provides the ability to output graphical content to monitors, printers, and other external output devices. It is located under 16-bit Windows
urlmon. dll, regsvr32 oleaut32.dll, and regsvr32 shdocvw. dll, regsvr32 browseui. dll, regsvr32 msjava. dll, regsvr32 actxprxy. dll and Comctl32.dll "and confirm. If you are in trouble, create a batch file with the content "for % 1 in (% WinDir % SYSTEM32 *. DLL) Do RegSvr32.exe/s % 1 "(excluding double quotation marks). After running the command, restart the computer. If the IE window still cannot be opened, enter regsvr32 shell32.dll again. If an e
){//EnableIPAddress、Calendar.etcInitCommonControls();DialogBox(hInstance,MAKEINTRESOURCE(IDD_MAIN),NULL,Main_Proc);return0;}
Name of function
Parameters
Description
initcommoncontrols
none
This function registers and initializes the generic control window class, which is called when using some advanced controls. The linker links your program to Comctl32.lib, and then loads the
For some websites, the scroll bars are not gray by default, but red, blue, and other colors. They look very unique.CodeAdd it to your homepage:You can change 7 color values (representing different parts of the scroll bar) until you are satisfied. Note that you must use a browser later than IE 5.5 to see the effect.
If it is a winform control, do it as follows:
[System. runtime. interopservices. dllimport (
"
Comctl32.dll
"
)]
Static
SDK uses XP style controlsJanuary 15, 2013 ⁄ general ⁄ a total of 1165 characters ⁄ font size small medium big ⁄ comments off Starting with Windows XP, the system provides a number of flashy styles for most of the controls we use to create the application user interface, which are called user interface themes. However, by default, the application does not support user interface themes. An easy way to support user interface themes is to provide an XML-formatted list with your application. The a
Listview_getitemcount11, Lvm_getnextitem get the next project or sub-project, can be used to get the cursor selection of the project12, Lvm_deleteitem//delete items, corresponding Listview_deleteitem, delete items or sub-items, WParam to Integer, specify item index number, LParam to 013, Lvm_deleteallitems//delete all items, WParam and LParam are 0Iii. extended styles for Listctrl controlsLvs_ex_gridlines//Draw a table linelvs_ex_subitemimages//List of child item iconsLvs_ex_checkboxes//With ch
When using some new versions of Apis or new control features (such as the new version of ComCtl32.dll), you may get the error "error C2065: undeclared identifier. The reason is that these functions depend on your operating system version. The definition in your header file is not up-to-date. (For MFC, stdafx. h) the following lists the macros NTDDI_VERSION, _ WIN32_WINNT, WINVER, and _ WIN32_IE corresponding to each Windows version.
The following ta
1. Implementation principle:
Microsoft provides Themes Service for Windows XP. Themes can make the program "XP style" and look more beautiful, because Microsoft has updated the "XP style" Control of comctl32.dll (ver 6.0. Microsoft also reserved comctl32.dll v5.8 to retain the traditional Windows interface style. Vc6 was launched earlier than WINXP, so the "XP style" is not used by default for vc6 programs
Post from: http://ily961.bokee.com/3306477.html
The runtime in XP or 2003 (Themes Service must be started) will display the XP interface style.
In other words, test.exe must first call the initcommoncontrols function (abolished, not recommended) or the initcommoncontrolsex function to register component classes from comctl32.dll. This step is required in VB, but in VC (MFC Program), we seem to have not called this function, but why can the compiled pr
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.