关于Project / Add To Project / Components and Controls...

drfxiaoliuzi 2013-03-01 06:58:49
最近需要使用VC6.0工具开发,连接数据库,需要用到Project / Add To Project / Components and Controls...中的组件,但我的打开以后却没有文件,本人是Win7系统,我是按照正常的创建了对话框程序,并且也勾选了Activex组件,结果却如下图,在网上试了几个版本都没有成功,麻烦哪位高手给指点一下,或者您有完整版的VC6给发一个也行,谢谢大家了。
...全文
221 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
drfxiaoliuzi 2013-03-22
  • 打赏
  • 举报
回复
最后解决方法:在win7里装了个虚拟机,然后装的XP。
drfxiaoliuzi 2013-03-02
  • 打赏
  • 举报
回复
引用 3 楼 somuchhope 的回复:
把系统换成XP,win7下VC6根本没法用。
项目已经做到最后一个连接数据库的模块了,要是这个时候换平台,工作量太大了,而且,VS2010目前还不是很熟练,这是我第一个项目。。。唉,求指教如何连接数据库,SQL Server或者Access都行。麻烦说详细些步骤,谢谢各位了
drfxiaoliuzi 2013-03-02
  • 打赏
  • 举报
回复
引用 2 楼 oyljerry 的回复:
数据库操作可以直接用ADO
求指导ADO连接数据库的详细步骤,或者一本指导性的书也行,求指教啊,我就是想用VC6.0连接下数据库,现在项目做到最后一个模块了,很难再提换系统的事了,那之前的努力就白费了。
以免我忘记 2013-03-02
  • 打赏
  • 举报
回复
不想换的话,可以换成VC2010进行开发。
以免我忘记 2013-03-02
  • 打赏
  • 举报
回复
把系统换成XP,win7下VC6根本没法用。
oyljerry 2013-03-02
  • 打赏
  • 举报
回复
数据库操作可以直接用ADO
fishion 2013-03-01
  • 打赏
  • 举报
回复
Win7下就别用6.0了,兼容性不好
WELCOME TO KONOPKA SIGNATURE VCL CONTROLS VERSION 6 CONTENTS - Completing the Installation - What's New - Moving the Component Palettes Pages to Front - Uninstalling - Minimum system requirements COMPLETING THE INSTALLATION Once the installation program is complete you may begin using the components in RAD Studio 2009 and later using Delphi or C++Builder. Restart RAD Studio and you will see the following pages on the component palette: Raize Panels Raize Edits Raize Lists Raize Buttons Raize Display Raize Shell Raize Widgets WHAT'S NEW For a complete description of new components, enhancements, and features please read the WhatsNew.pdf document in the main installation directory along with this Readme.txt file. The information in the document is also available in the Raize Components help file, which is integrated into the RAD Studio Help System. MOVING THE COMPONENT PALETTE PAGES TO FRONT During the installation, the appropriate design packages are loaded into the selected RAD Studio IDEs. Unfortunately, when you restart the IDE, the component palette pages for the newly installed components will appear at the end of the component palette. If you would like to move the Raize pages to the front of the palette, there is an a easier way to do this than by manually dragging them. Located in the RC6\Bin directory is a program called MoveRCPagesToFront.exe, which will move all of the "Raize" pages to the front of the palette automatically. Simply run the MoveRCPageToFront.exe program and follow the instructions. UNINSTALLING >> Removing the components from the RAD Studio component palette Close all files and projects, and select Component|Install Packages... to display the Packages page in the Project Options dialog. Select the "Raize Components 6.x" package from the Design Packages list and click the Remove button. A message box will be displayed to confirm your request--press OK. Next, depending on the IDE, you may be asked if a runtime package should be from the Runtime Packages list. If so, click OK to remove the runtime package. Next, select the "Raize Components 6.x (Data-Aware)" package from the Design Packages list and click the Remove button. Again, a message box will be displayed to confirm your request--press OK. Next, depending on the IDE, you may be asked if a runtime package should be removed from the Runtime Packages list. If so, click OK to remove the runtime package. Close the Project Options dialog box by clicking the OK button. Repeat the above steps for each IDE that is using Raize Components. >> Removing the component files from your hard disk At this point, all IDEs are no longer using Raize Components. To remove the Raize Components files from your hard disk the Add/Remove Programs icon from the Control Panel. Next, select the "Raize Components 6.0" entry from the list of installed programs, and then click the Remove button. MINIMUM SYSTEM REQUIREMENTS At least one of the following compilers: Embarcadero RAD Studio XE8 -- Delphi XE8, C++Builder XE8 Embarcadero RAD Studio XE7 -- Delphi XE7, C++Builder XE7 Embarcadero RAD Studio XE6 (Update 1) -- Delphi XE6, C++Builder XE6 Embarcadero RAD Studio XE5 -- Delphi XE5, C++Builder XE5 Embarcadero RAD Studio XE4 -- Delphi XE4, C++Builder XE4 Embarcadero RAD Studio XE3 -- Delphi XE3, C++Builder XE3 Embarcadero RAD Studio XE2 (Update 1) -- Delphi XE2, C++Builder XE2 Embarcadero RAD Studio XE (Update 1) -- Delphi XE, C++Builder XE Embarcadero RAD Studio 2010 -- Delphi 2010, C++Builder 2010 CodeGear RAD Studio 2009 -- Delphi 2009, C++Builder 2009 Hard Disk Space Requirements: 20 MB + 10 MB for each compiler to be supported
SQL Server Data Access Components 2.45Copyright 1997-2003, Core Lab. All Rights Reserved--------------------------------------------------SQL Server Data Access Components (SDAC) library offers a set ofnonvisual components for Borland Delphi and C++ Builder. They provideaccess to Microsoft SQL Server and are an alternative to a standardway of accessing databases using Borland Database Engine (BDE).SDAC uses OLE DB directly through a set of COM-based interfaces thatexpose data from a variety of sources. OLE DB interfaces provideapplications with uniform access to data stored in diverse informationsources, or data stores. These interfaces support the amount of DBMSfunctionality appropriate to the data store, enabling the data storeto share its data.Using BDE in SQL Server oriented client/server applications has somedeficiencies. In many cases BDE community are unable to employ serverspecific features, they must tolerate excessive usage of resources,reduced speed of processing data, restricted distribution of an applicationand its administration.Using BDE in database applications amounts to the following data pathbetween server and client:[SQL Server] <-> [DBLibrary] <-> [SQL Links] <-> [BDE] <-> [Client application]SDAC works directly through OLE DB, which is a native SQL Serverinterface. Applications with SDAC components access server directly:[SQL Server] <-> [OLE DB] <-> [Client application]Using SQL Server Data Access gives you the following advantages: - No distribution, installation and configuration is required for BDE and ODBC; - You can use any Delphi Professional Edition to develop client/server applications; - Supports SQL Server specific features: windows authentication, metadata, unicode fields, manual refresh for record in a dataset, automatic getting Identity value and results of triggers work and a lot of more; - Simplifies data updating; - Speeds up fetch of records from database; - Provides automatic refresh for records; - Advanced design time editors; - Interface (methods, properties) of SDAC components is similar to those of standard BDE data access components (TDatabase, TQuery, ..); - Supports all data-aware components; - and so on.Compatibility-------------SDAC supports SQL Server 7, SQL Server 2000 and MSDE.SDAC requires OLE DB installed on workstation.Note: in current versions of Microsoft Windows, as Windows 2000, OLE DB is already included as standard package. But it‘s highly recommended to download latest version (newer than 2.5) of Microsoft Data Access Components (MDAC) at http://www.microsoft.com/dataInstallation------------SDAC installer copies these files to folders where they should be resided. sdacXX.bpl - SDAC run-time package (located in WindowsSystem folder) dclsdacXX.bpl - SDAC design-time package (located in DelphiBin folder) sdacvclXX.bpl - VCL support package (located in DelphiBin folder) crcontrolsXX.bpl - TCRDBGrid component (located in DelphiBin folder) Delphi ====== To compile SDAC based application add $(DELPHI)SDACLib to Project Options|Search path. C++ Builder =========== To compile SDAC based application add $(BCB)SDACLib to Project Options|Library path and $(BCB)SDACInclude to Project Options|Include path.Writing GUI applications with SDAC----------------------------------Now SDAC GUI part is standalone. This means that to make available GUI elements such as sql cursors, connect form, connect dialog etc. you should explicitly include SdacVcl unit to your application. This feature is needed for writing console applications. Delphi and C++ Builder ====================== By default SDAC does not require Forms, Controls and another GUI related units. Only TMSConnectDialog component requires Forms unit.Trial version restrictions--------------------------Note following restriction when using SDAC trial version.When SDAC based application is running IDE should be also running.Using several products in one IDE---------------------------------SDAC, ODAC and MyDAC components use common base packages listed below. dacXX.bpl dacvclXX.bpl dcldacXX.bplNote that product compatibility is provided for current build only.In the other words, if you upgrade one of the installed products itmay conflict with older builds of other ones. In order to continue usingproducts simultaneously you should upgrade all of them at the same time.--------------------http://www.crlab.comsdac@crlab.com
RX Library 2.75 with Delphi 2009 support (by FlexGraphics software) ====================================================================== The Set of Native Delphi Components for Borland Delphi versions 1, 2, 3, 4, 5, 6, 7, 2005, 2006, 2009 and Borland C++ Builder 1, 3, 4, 5, 6, 2006 & 2009. 100% Source Code. Last revision date Oct 12, 1999. PLEASE FOLLOW THE INSTRUCTIONS PROVIDED IN THE INSTALLATION SECTION! TABLE OF CONTENTS ----------------- Latest Changes Overview History License Agreement Installation Demonstration Programs Source Files Using GIF Images Copyright Notes NEW FOR VERSION 2.75 -------------------- Delphi 5.0 & C++Builder 4.0 Compatibility New components: TRxLoginDialog New properties, events: TFormPlacement.RegistryRoot TFormPlacement.Version TFontComboBox.UseFonts TRxDBGrid.OnTopLeftChanged TRxDBLookupCombo.DisplayValues TStrHolder.Macros, TStrHolder.OnExpandMacros RxSpin.TValueType.vtHex New routines, methods, constants: SaveClipboardToStream, LoadClipboardFromStream (clipmon.pas) AppFileName, AppVerInfo (rxverinf.pas) XorString, XorEncode, XorDecode (strutils.pas) BUG FIXES. Overview -------- This version is the result of long unactivity of RX Library authors and some imperfections and bugs of other RX adaptations to Delphi 6. The authors of this version disclaim all warranties as to this software, whether express or implied, including without limitation any implied warranties of merchantability or fitness for a particular purpose. Use under your own responsibility, but comments (even critique) in English (or in Russian) are welcome. RX Library contains a large number of components, objects and routines for Borland Delphi with full source code. This library is compatible with Borland Delphi 1, 2, 3, 4, 5, 6 and Borland C++ Builder 1, 3, 4. This collection includes over 60 native Delphi components. RX Library is a freeware product. Feel free to distribute the library as long as all files are unmodified and kep
就是原来的的Raize Vcl Controls,带RAD10.2.1编译文件,其他版本自行编译 WELCOME TO KONOPKA SIGNATURE VCL CONTROLS VERSION 6 CONTENTS - Completing the Installation - What's New - Moving the Component Palettes Pages to Front - Uninstalling - Minimum system requirements COMPLETING THE INSTALLATION Once the installation program is complete you may begin using the components in RAD Studio 2009 and later using Delphi or C++Builder. Restart RAD Studio and you will see the following pages on the component palette: Raize Panels Raize Edits Raize Lists Raize Buttons Raize Display Raize Shell Raize Widgets WHAT'S NEW For a complete description of new components, enhancements, and features please read the WhatsNew.pdf document in the main installation directory along with this Readme.txt file. The information in the document is also available in the Raize Components help file, which is integrated into the RAD Studio Help System. MOVING THE COMPONENT PALETTE PAGES TO FRONT During the installation, the appropriate design packages are loaded into the selected RAD Studio IDEs. Unfortunately, when you restart the IDE, the component palette pages for the newly installed components will appear at the end of the component palette. If you would like to move the Raize pages to the front of the palette, there is an a easier way to do this than by manually dragging them. Located in the RC6\Bin directory is a program called MoveRCPagesToFront.exe, which will move all of the "Raize" pages to the front of the palette automatically. Simply run the MoveRCPageToFront.exe program and follow the instructions. UNINSTALLING >> Removing the components from the RAD Studio component palette Close all files and projects, and select Component|Install Packages... to display the Packages page in the Project Options dialog. Select the "Raize Components 6.x" package from the Design Packages list and click the Remove button. A message box will be displayed to confirm your request--press OK. Next, depending on the IDE, you may be asked if a runtime package should be from the Runtime Packages list. If so, click OK to remove the runtime package. Next, select the "Raize Components 6.x (Data-Aware)" package from the Design Packages list and click the Remove button. Again, a message box will be displayed to confirm your request--press OK. Next, depending on the IDE, you may be asked if a runtime package should be removed from the Runtime Packages list. If so, click OK to remove the runtime package. Close the Project Options dialog box by clicking the OK button. Repeat the above steps for each IDE that is using Raize Components. >> Removing the component files from your hard disk At this point, all IDEs are no longer using Raize Components. To remove the Raize Components files from your hard disk the Add/Remove Programs icon from the Control Panel. Next, select the "Raize Components 6.0" entry from the list of installed programs, and then click the Remove button. MINIMUM SYSTEM REQUIREMENTS At least one of the following compilers: Embarcadero RAD Studio 10.2 Tokyo -- Delphi 10.2 Tokyo, C++Builder 10.2 Tokyo Embarcadero RAD Studio 10.1 Berlin -- Delphi 10.1 Berlin, C++Builder 10.1 Berlin Embarcadero RAD Studio 10 Seattle -- Delphi 10 Seattle, C++Builder 10 Seattle Embarcadero RAD Studio XE8 -- Delphi XE8, C++Builder XE8 Embarcadero RAD Studio XE7 -- Delphi XE7, C++Builder XE7 Embarcadero RAD Studio XE6 (Update 1) -- Delphi XE6, C++Builder XE6 Embarcadero RAD Studio XE5 -- Delphi XE5, C++Builder XE5 Embarcadero RAD Studio XE4 -- Delphi XE4, C++Builder XE4 Embarcadero RAD Studio XE3 -- Delphi XE3, C++Builder XE3 Embarcadero RAD Studio XE2 (Update 1) -- Delphi XE2, C++Builder XE2 Embarcadero RAD Studio XE (Update 1) -- Delphi XE, C++Builder XE Embarcadero RAD Studio 2010 -- Delphi 2010, C++Builder 2010 CodeGear RAD Studio 2009 -- Delphi 2009, C++Builder 2009
=========================================== TeeChart Pro Activex Control v2018 MS .NET COMPATIBILITY Copyright (c) 1997-2018 by Steema Software SL All Rights Reserved. http://www.steema.com email: info@steema.com supportx@steema.com =========================================== Document updated: June 2004 TeeChart Pro Activex Control MS Visual Studio .NET compatibility notes =========================================== Please see the release.txt release notes for bugfix and feature information about this release. =========================================== Changes for NET compatibility - The Chart.Series(xx) read-only property has been replaced by a Function method (affects only code written in VC++ and similar languages that make direct reference to Get_ and Set_ of properties). The new Series method (called Series) changes visibly by removal of the property 'Get_' element of the Function. The change is required due to a current MS.NET import restriction causing non-import of ActiveX properties that have an index parameter (only affects the root level of controls !). For a VB application no code change is necessary. Please see the following notes for other environments. The original property has been hidden in the interface and renamed to aSeries keeping its existing Dispid to support backward compatibility with applications compiled with previous releases of TeeChart 5. - The TChart OnSeriesBeforeAdd method uses a boolean variable called 'Continue'. "continue" is a keyword in C# (the language used to interim compile TeeChart namespace information in .NET). This had caused an import problem with the earlier releases of Visual Studio .NET. As a precaution we have chosen to rename the parameter to 'MoreValues' for the TeeChart Pro ActiveX Control. Notes on use: ------------- - Constant names in NET require full reference by default: eg. AxTChart1.AddSeries(TeeChart.ESeriesClass.scLine) Upgrading existing projects: ---------------------------- Upgrading existing Visual Studio projects works without manual intervention in code for most simple projects. Notable points relating to import: VISUAL BASIC project: ===================== - Designtime saved content of a Chart does not always successfully import to a NET project. We recommend you open the project first in its current environment (eg. Visual Basic v6) and provoke a change in the Chart and resave the project. That will update the saved frx Chart information data to v5.0.3. Then save the Chart content as a tee file by right-clicking the Chart and selecting 'Export'. Some projects 'may' then import the saved Chart correctly without further steps required. If the Chart content doesn't import successfully then right-click on the Chart and import the saved tee file. If the project fails to import, clear the Chart content after saving it to tee (remove and replace the Chart with an empty one) and re-import following the above step to later import the saved tee file. - Calls to interfaces not supported. In Visual Studio v6 and prior versions, it was possible to connect components by interface. eg. TeeCommander.Chart=TChart1 This is no longer possible. You should use the integer link: eg. TeeCommander.ChartLink=TChart1.ChartLink - Colour definition requires update TeeChart colours map as UInt32 when imported to NET. The colour definition when applied takes the following form: .Labels.Font.Color = System.Convert.ToUInt32(System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.Cyan)) - Some event syntax is incorrect on import. Notably the Mouse events which are 'duplicated' by default NET appointed events. If you find event syntax to be incorrect, modify the syntax as follows: eg. Private Sub TChart1_OnMouseUpEvent(ByVal eventSender As System.Object, _ ByVal eventArgs As AxTeeChart.ITChartEvents_OnMouseUpEvent) _ Handles TChart1.OnMouseUp 'do something End Sub - Some form object (eg. Checkbox) events may fire before the Chart is loaded. That didn't occur in VB6 and will require a workaround in VB.NET if Chart properties are referenced in this way at Form load. eg. taken from VB Drag Points example: 'Check1.CheckStateChanged may fire when form is intialized Private Sub Check1_CheckStateChanged(ByVal eventSender As System.Object, _ ByVal eventArgs As System.EventArgs) _ Handles Check1.CheckStateChan ' switch 2D / 3D view... TChart1.Aspect.View3D = Check1.CheckState ' enable scroll-bar only in 3D... HScroll1.Enabled = Check1.CheckState End Sub In the above event the View3D line will fail as the Chart isn't yet loaded when the event is called. An option to workaround it may be to set a boolean 'OK_To_Run' variable to set after the first Chart Repaint. eg. OK_To_Run false on load and set to true in Form_Load event after Chart is populated, etc. Private Sub Check1_CheckStateChanged(ByVal eventSender As System.Object, _ ByVal eventArgs As System.EventArgs) _ Handles Check1.CheckStateChan ' switch 2D / 3D view... If OK_To_Run = True Then TChart1.Aspect.View3D = Check1.CheckState End if ' enable scroll-bar only in 3D... HScroll1.Enabled = Check1.CheckState End Sub Microsoft recommend a similar step (add a IsInitializing property to the Form). We'll be taking a closer look at these issues to see if we can recommend less demanding steps to resolve them. VISUAL C++ project: ===================== The Series declaration has changed. The easiest way to upgrade the project is to import TeeChart classes before upgrading the project to .NET. 1. All references to 'GetSeries(xx)' should be changed to 'Series(xx)' That will call the new Series method that returns the Series Interface (just as the predecesor property did). The Series property has been name changed to aSeries, retaining its DispId to support existing compiled applications. 2. The following is handled automatically if you import the TeeChart classes. For reference, the following changes occur to the Series declaration. *Note you should not need to do anything if you import TeeChart to your project. a) In the TChart.h Class header file the GetSeries declaration changes to: CSeries Series(long SeriesIndex); b) In the TChart.cpp Class impl. file the GetSeries declaration changes to: CSeries CTChart::Series(long SeriesIndex) { LPDISPATCH pDispatch; static BYTE parms[] = VTS_I4; InvokeHelper(0x14, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch;, parms, SeriesIndex); return CSeries(pDispatch); } Projects should then compile without issue. =========================================== Use of Strong Named Assemblies =========================================== If you compile Strong Named Assemblies then imported ActiveX Controls must also be Strong Named. The Utilities folder contains a Strong Name compiled version of: \Utilities\VS.NET\Strong Named DLLs - AxInterop.TeeChart.dll - TeeChart.dll They may be used to replace the automatically generated AxInterop.TeeChart.dll and Interop.TeeChart.dll created when TeeChart AX is added to a Windows Form. You should remove auto-generated dlls from the references list in the project Solution Explorer and from the Obj folder of the project and Debug or Release Bin folder. Then copy in the new Dlls to Obj and Bin folders and reference the new Dlls from their Obj folder location. =========================================== Please send us details about any other issues found to: http://www.teechart.net/support/modules.php?name=Forums Many thanks ! =========================================== http://www.steema.com support: http://www.teechart.net/support/modules.php?name=Forums -------------------------------------------

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧