[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

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
0
ziorrinfotech
Asked:
ziorrinfotech
  • 6
  • 3
  • 2
  • +1
1 Solution
 
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
 
diniludCommented:
please check that image exists with apllication(Check it with any resource explorer)
 
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
ziorrinfotechAuthor 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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now