Solved

How 2 edit an app's resources

Posted on 1998-12-05
11
131 Views
Last Modified: 2010-04-04
I'd like to know how to edit an application's resources at designtime.
For example, how to load a cursor.
The only way I've found at the time is editing the application's .RES file with Developer Studio and load the cursor i need and give it an ID, but i guess there must be an easier way.
It should be possible to load the resource at designtime, but if it's not possible, how to load it at runtime?
0
Comment
Question by:forns
  • 5
  • 3
  • 3
11 Comments
 
LVL 4

Expert Comment

by:jeurk
ID: 1349385
Hi,
What about using the delphi image editor ? you can open a .res and modify it even
cursors I think.
there is also an exemple that browses a program's resources in the sample directory,
can't remember the name. In the doc sample/doc directory I think, not sure. Anyway it's
easy to find there are not to much examples...

0
 
LVL 10

Expert Comment

by:viktornet
ID: 1349386
Yeah, you can use the Delphi's Image Editor which can edit BMPs, CURs, RESes and all that... The onl;y thing you can't edit with the Image Editor is strings... That;'s all

Cheers,
Viktor
0
 
LVL 4

Expert Comment

by:jeurk
ID: 1349387
nice technic : cut and paste a comment to make an answer with it :)
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1349388
Well it's nice isn't it?

forns: if you decide to accept my answer please reject and give the points to jeurk since he's the one that said it first....

Cheers,
Viktor
0
 
LVL 4

Expert Comment

by:jeurk
ID: 1349389
I don't understand everything viktor. But anyway it was not for the points I said that
it's because I did not find this very fair, am I right, or did I missed something ?
Are we still friends ? Viktor ?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 10

Expert Comment

by:viktornet
ID: 1349390
Hello again!

What I said is that if the answer is satisfying then you should get the points and my answer should be rejected... and yes we are still friends... Sorry I didn't mean to do that. I was in a hurry and dropped the answer...

FORNS : Give the points to JEURK if the answer i proposed is what you needed..

Jeurk: Where are you from? Are you taking Computer Science?

Cheers,
Viktor
0
 

Author Comment

by:forns
ID: 1349391
Ok viktornet, your answer was rejected as you asked me to.
And... oh! I'm so glad you're friends again! :))
0
 

Author Comment

by:forns
ID: 1349392
I can't give the points to anyone right now cuz there's no answer to give them.
jeurk: give me an answer so I'll be able to give you the points. See you!

0
 
LVL 4

Expert Comment

by:jeurk
ID: 1349393
Yup viktor,
I'm from france. I don't know the equivalent of what I'm taking, let's say
it's a 3 year course in mathematic and in computer science.
I think it's equivalent to a bachelor degree ?
4 years in the university ?
If you are french (maybe) then it's simply une Miage :
Maîtrise informatique apliquée à la gestion, facile non ?

About the answer forns, is this what you asked for ?

0
 

Author Comment

by:forns
ID: 1349394
No, jeruk, what you posted is a comment. You've got to post an ANSWER so i can give the points to you.
0
 
LVL 4

Accepted Solution

by:
jeurk earned 30 total points
ID: 1349395
Ok, ok, here it is.
I'm sorry, it's just cause I was talking to viktornet ;)

CU
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now