Solved

How can I use more then one icon on my d3 apps ?

Posted on 1998-08-25
10
329 Views
Last Modified: 2010-04-04
How can I use more then one icon in my d3 apps:
like for example when I wan't to use icon myapp.exe,2 as devault icon
for the accociated files of my app..
0
Comment
Question by:skatan187
[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
10 Comments
 
LVL 4

Expert Comment

by:erajoj
ID: 1337705
Just insert them in your .res file before linking, using the image editor or some other resource editor.

/// John
0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1337706
0
 
LVL 2

Expert Comment

by:cantrell
ID: 1337707
It would be easy if you used a *REAL* programming language. They allow for things like this.
0
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.

 
LVL 5

Expert Comment

by:ronit051397
ID: 1337708
This is not the kind of answer we expect here.
To your knowledge, Pascal is a Real programming language.Likely developed even before you were born.

"...Pascal was carefully planned, designed and formally defined in 1970 by Prof. Ni on the basis of Algol (1960) - the very first language for structured programming..."
"...C was first designed by Dennis Ritchie for use with UNIX on DEC PDP-11 computers. The language evolved from Martin Richard's BCPL, and one of its earlier forms was the B language, which was written by Ken Thompson for the DEC PDP-7. The first book on C was The C Programming Language by Brian Kernighan and Dennis Ritchie, published in 1978." - from "Unix Unleashed..."
0
 
LVL 1

Expert Comment

by:batdan
ID: 1337709
I believe that the answer proposed by Cantrell was probably something to do with the pointless question posted by Skatan187:

http://www.experts-exchange.com/topics/comp/lang/visualbasic/Q.10075625

Can we keep it to the Lounge section please Skatan187?
Regards

#D
0
 
LVL 1

Author Comment

by:skatan187
ID: 1337710
Delphi 3 allows you to use more then one icon.. using the .res file !!!

0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1337711
Are you questioning and answering youself?
0
 
LVL 1

Author Comment

by:skatan187
ID: 1337712
I tried the .res file:

I wan't to add an icon with more then 2 formats
16*16 16 colors
16*16 more then 16 colors
32*32 16 colors
32*32 more then 16 colors
48*48 16 colors
48*48 more then 16 colors

each time I do this (Not to normal way because this seems to be impossible) :
the mainicon of my app is changed into the 1st icon I added.
and the actual mainicon is on the second place (so not the mainicon anymore) :)
SO .. I tried to use the second icon first and then the mainicon: but same
result ..
my new questions
1) Are there other .res editors and where can I get them
2) Is there a way to make this reg file right with the image editor of delphi
3) how can I choose the place of the icon (1,2,3 or 4th)

comon dudes.. I give 100 points because I need is ASAP ! :)

skatan





0
 
LVL 3

Expert Comment

by:Matvey
ID: 1337713
You can try the resource workshop instead of the image editor.
If you have some icon files, I beleive you can compile them with the RES file using BRC32.EXE, BRCC32.EXE
0
 

Accepted Solution

by:
koger earned 100 total points
ID: 1337714
Hi!

Create a new Resource file with Image Editor that comes with Delphi, add a Icon to the Resource file and save it as project2.res or whatever you like.
Then open your Delphi project and add a $R after implementation, eg.

var
  Form1: TForm1;

implementation

{$R *.DFM}
{$R project2.res}

end.

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month3 days, 19 hours left to enroll

630 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