Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 2nd, 2004, 02:01 AM
bluefire_xl bluefire_xl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 7 bluefire_xl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
help.. component problem

how do you resolved this kind of error.

im using delphi 6

Field frmMainMenu.crptReport does not have a corresponding component. Remove the declaration?

the program is using crystal report 6.5 and i had it installed on my pc.

any ideas on this.


Reply With Quote
  #2  
Old September 2nd, 2004, 05:04 AM
Mocksy Mocksy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 32 Mocksy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 26 sec
Reputation Power: 9
This happens when your form file (DFM) is out of sync with its associated pas file.

it is either the form has a component that does not have a definition in the pas file or the other way round. if you open
the form file and do a search for your component
(crptReport) if its there then search for this component in the
forms pas file it should be in both.

e.g. you should see something like in your pas file :

type
frmMainMenu = class(TForm)
crptReport : TWhatever the type is

and something like this in the DFM file :

object crptReport : TWhatever
stuff in here.......
end

you can try adding whichever bit is missing. in the form file
just add the object line and the end and leave it at that. and it should work.

Reply With Quote
  #3  
Old September 2nd, 2004, 05:10 AM
bluefire_xl bluefire_xl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 7 bluefire_xl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
im just wondering because i had copied the program from my officemate's pc and from that pc it is running well. when i had transfered it to my pc i just cant run it. and i had that error.

Reply With Quote
  #4  
Old September 2nd, 2004, 05:16 AM
Mocksy Mocksy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 32 Mocksy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 26 sec
Reputation Power: 9
In that case, maybe you dont have some of the components
installed on your P.C. that your friend has and Delphi is trying to remove them as it cannot find them.

If you do have the components installed the same as your friend, check the library paths under the environment settings in Delphi it may just be that it cannot find the pas files or DCU files to build your project. It always helps to select Build Project as well as this sometimes shows where it cannot find something it requires.

Reply With Quote
  #5  
Old September 2nd, 2004, 05:51 AM
bluefire_xl bluefire_xl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 7 bluefire_xl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
im just wondering because i had copied the program from my officemate's pc and from that pc it is running well. when i had transfered it to my pc i just cant run it. and i had that error.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > help.. component problem

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap