Buttons are missing from my delphi application after setup at client site

Hi

I have a delphi application which has a tool bar of buttons on the top of main screen. I recently changed the images of all those buttons and built a new setup for my client. Strangely...after setup application is showing all the buttons in the tool bar at my machine but in my clients machine some of the buttons are not visible.

Any idea what could be the problem?

Mahesh
ziorrinfotechAsked:
Who is Participating?
 
ziorrinfotechConnect With a Mentor Author Commented:
Hi

I found the problem...it was a strange one but...the issue was, i had left hardcode path to some files in the program and system was looking for those files in that path which does not exist on clients machine...the result of missing file was this very strange behaviour....

but once i removed that path applcation is working fine now.

Thanks for your comments and feedback..

Mahesh
0
 
diniludCommented:
how u r loading images?
0
 
ziorrinfotechAuthor Commented:
At design time i am a loading the image in glyph property. I am using BitBtn on a panel.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
diniludCommented:
please check that image exists with apllication(Check it with any resource explorer)
 
0
 
TheRealLokiSenior DeveloperCommented:
sometimes, like when you are using TActions, the button gets a "caption" which means you can't see the image. Make sure the button's caption is blank at runtime
e.g.
bitbtn1.caption := '';
0
 
ziorrinfotechAuthor Commented:
But the stange thing is, with the same setup i have installed this application in two of my machines and it worked absolutly fine.

What could be the issue on clients machine?
0
 
TheRealLokiSenior DeveloperCommented:
Themes? large fonts?
0
 
ziorrinfotechAuthor Commented:
I am just attaching the exe of the program...do i need to package any other file with my application..like resourse file or something....
0
 
ziorrinfotechAuthor Commented:
i am using delphi 6
0
 
diniludCommented:
what about the installation paths of client's computer and your computer?
0
 
ziorrinfotechAuthor Commented:
path is same..both places it is installed in c drive...

I could replicate the issue in one of my computer...where as in other two computer the setup is working fine....

the only difference in the third computer is that it does not have delphi installed in it...or any of my project files...and the setup here is not showing some icons on screen.,,even not behaving right on menu clicks....

in other two computers i have sourcecode in one of the drives and both machines have delphi installed in it...and the setup works fine there...

any idea what i could include in my setup which could solve the issue?

Mahesh
0
 
delphinewbieCommented:
Probably is a missing resource file of sorts.

Try dependancy walker - http://www.dependencywalker.com/

This will show you exactly what resources your exe is using
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.