반응형
출처 노력하는 자는 이길 수 없다. | crattack
http://blog.naver.com/crattack/70015057974
http://blog.naver.com/crattack/70015057974
delphi 2006에서 ActiveX 컴포넌트 등록하기 delphi
2007/02/12 19:33 |
Installation of ActiveX Controls in Delphi 2005 and 2006 Borland Delphi 2005 and 2006 include a component import wizard for installing ActiveX controls. Unlike in earlier versions of Delphi where the use of this wizard was straightforward, the new wizard is difficult to use and does not result in the control being available in the Tool Palette unless a very strict procedure is followed. This procedure does not appear to be documented in the Delphi help, so for the benefit of users of ActiveX controls, we have documented it here. The procedure is shown step by step, with screenshots, and shows how to install the trial version of our TwainControlX control. However, the procedure should be applicable to any ActiveX control. Step 1: Create a new package for the component From the menu select 'File / Package - Delphi for Win32'. |
Rename and save the package using 'File / Save Project As'. |
Step 2: Import the component From the menu select 'Component / Import Component'. |
Choose the option 'Import ActiveX Control' and click Next. |
A list of registered ActiveX controls is now displayed. Select the required control and click Next. |
Click Next again. The palette page can be changed if required which will determine the Category in the Tool Palette that is used, but it is recommended to keep the default Category of ActiveX. |
Select 'Add unit to [package name] project' and click Finish. |
Step 3: Install the package In the Project Manager pane, right-mouse-click on the package name and select Install. Delphi should now display a message confirming that the package is installed. Click OK. Save the package using 'File / Save'. |
Step 4: Check the ActiveX control is installed Open an existing application, or start a new one, so that the Tool Palette is displayed. The newly installed control should be available for use in the ActiveX Category. |
2006 이 되면서 ActiveX 등록하는것도 까다롭게 됬네..참 이렇게 해야 컴포넌트 팔렛트에 추가됩니다. |
반응형