Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Delphi2010: unable to define Icon in the left corn of application

Posted on 2010-11-12
11
Medium Priority
?
417 Views
Last Modified: 2012-06-27
hi all,

i would like to load Icon from menu->project->option->application->symbol in delphi2010 IDE.

but the whole Button are deactived. any idea?

thanks.

wantime
icon-deactived.jpg
0
Comment
Question by:wantime
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
11 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 34121628
For a normal GUI application you can change the application icon from Project - Options. For console mode applications this section is disabled - and thus all console mode application have a default icon.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34121667
0
 
LVL 32

Expert Comment

by:Ephraim Wangoya
ID: 34131917
Use
Project->Options..

Select Application from the tree view
Click on Load Icon to select your icon
Change-Application-Icon.png
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:wantime
ID: 34154954
thanks.

the problem is that the button "Load Icon" is deactived in my delphi IDE.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34155080
Are you creating a "VCL Forms Application" or "Console application" ?

That button should be enabled if you are using VCL Forms Application. In Console application that button will be disabled, to be able to change the icon of a console application check the link in my last post 34121667.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34155185
As per the attached pic. which one you have selected to start your application ?

Try a new project by selecting "VCL Forms Application", I think in the Dutch version it is "VCL Forms-Anwendung" then go and check:

menu->project->option->application->symbol

New-item.JPG
0
 

Author Comment

by:wantime
ID: 34155679
it is  the VCL Forms Application, the button was activated few days ago. ..
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34155869
It's activated already ? What was the problem ?
0
 

Author Comment

by:wantime
ID: 34171467
it was activated since i installed delphi, then it turns deactivated. that's why i wrote post here.

i wonder if it is something to do with the registry?



0
 
LVL 24

Accepted Solution

by:
jimyX earned 2000 total points
ID: 34171970
I do not think it's the Registry.

I suspect you deleted the following line from your Delphi Project ".dpr":

{$R *.res}

If so just add it as per the location shown in a default dpr file:

program Project1;

uses
  Forms,
  Unit1 in 'Unit1.pas' {Form1};

{$R *.res}

begin
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.

Open in new window

0
 

Author Comment

by:wantime
ID: 34257336
you are right, jimyX. The problem is on dpr file. thanks.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question