Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   class TDateEdit not found (https://www.delphipraxis.net/160553-class-tdateedit-not-found.html)

notidaho 19. Mai 2011 10:06

class TDateEdit not found
 
Hallo, I hope English is OK but tell me if not.

I am trying to understand some delphi code written by somebody else.
I first had to install the ADS (Advantage Database Server) TDataSet components. I frequently get the message:

class TDateEdit not found

for some apps, and also when I try to build the entire program (over 50 units) I get:

cxTextEdit11 does not have a corresponding component

Can anyone suggest what components I need to install?

Many thanks,
Ian

Metallicwar 19. Mai 2011 10:26

AW: class TDateEdit not found
 
Hello, welcome to Delphi Praxis.
First of all, which delphi Version is in use?

You can downloading the TDateEdit componenten, just www.google.de -->TDateEdit


cxTextEdit11 does not have a corresponding component
This should be a DevExpress component.

notidaho 19. Mai 2011 10:51

AW: class TDateEdit not found
 
Thanks Metallicwar, I'm VERY new to Delphi so any help much appreciated.

I'm using Delphi 5, I think this code was written in 3, 4 and 5. The code I am analysing is a Membership System using Advantage tables written by a previous employee. I'm trying to understand it so I can make alterations.

How do i install the TDateEdit component? I downloaded the dateedate.pas and dateedit.dcr from google and put them in the directory but that didn't work.

What is DevExpress? Is it a set of components you have to pay for or can I download them for free?

Thanks

DeddyH 19. Mai 2011 10:58

AW: class TDateEdit not found
 
- Install components in Delphi 5
- DevExpress is a collection of components and you have to pay for them quite a lot of money, but they are worth it

Metallicwar 19. Mai 2011 11:04

AW: class TDateEdit not found
 
DevExpress Components are definitly not free.

How to install the TDateEdit:

I don't know if you can do this in Delphi 5:
1. Close all projects
2. Create a new package (Data --> New --> More --> Select package
3. Add the DateEdit.pas to the package
4. Compile it
5. Finally install it

notidaho 19. Mai 2011 11:27

AW: class TDateEdit not found
 
Thanks guys

Well the guy who wrote all this code must have bought DevExpress at some point so I'll ask around for a username or maybe they're stored somewhere ( all the developers left the company before I arrived and I have minimal programming knowledge :p )

Delphi 5 has Component --> New Component, Install Component, Install Package, Import ActiveX Control

Under Install Component you can Add to new package, I created a DateEditPackage.dpk, added the .pas to it and installed.

I actually still get class TDateEdit not found :(
I also get TSctReport not found, and there's probably more on different apps.
Is there not a package I can install which contains many common components like these?

Metallicwar 19. Mai 2011 11:53

AW: class TDateEdit not found
 
Zitat:

Zitat von notidaho (Beitrag 1101752)
a DateEditPackage.dpk, added the .pas to it and installed.

I actually still get class TDateEdit not found :(
I also get TSctReport not found, and there's probably more on different apps.
Is there not a package I can install which contains many common components like these?

Try to install the TDateEdit component again, but not about "Komponents" --> New Component, Install Component, Install Package, Import ActiveX Control.
Choose the first menu from left "Data" click on New and choose the last option More. Then scroll down till you find Package and create a new package. Add the DataEdit.pas to the package, press compile and then install.

I think you will get many more erros, that a component does not exist.
And TSctReport is also not free. For more infos visit: http://www.fast-report.com/de/buy/
I don't think that there is any package which contains all components you need.

DeddyH 19. Mai 2011 12:24

AW: class TDateEdit not found
 
I guess you stored the dateedit.pas somewhere outside your library- and browsing-path, so you have to add the containing directory to both (I do not remember the exact menuitem, it has to be somewhere under "Tools - Options - Delphi-Options").

notidaho 19. Mai 2011 16:02

AW: class TDateEdit not found
 
Metallicwar I don't have a data tab on Delphi5...

I had a look on the programming computer which holds the source code and on that PC Delphi has many more tabs and thus components installed.

There is a folder with masses of extra packages, which the old developers presumably paid for and installed.

Although weirdly Delphi says TabdConduit unable to load snyc20.dll & hslog20.dll ?? but still seems to work.

To install these packages on my PC perhaps I need to point Delphi to them somehow? They don't appear to be installed in the Delphi5/bin like others...

thanks


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:21 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz