Poll: Would you like to have resource files in FreeBASIC?
You do not have permission to vote in this poll.
Yes
100.00%
3 100.00%
No
0%
0 0%
Maybe So
0%
0 0%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Would you like resource files in FreeBASIC?
#1
Would you? :???:
[Image: 1403.png]
^ Infrosoft
http://www.thecodeyouneed.us.to/ - A wiki of source code, mostly in PHP and FreeBASIC
http://www.osadvocacy.uk.to/ - Your opinion matters no matter your OS
Reply
#2
?
?
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#3
Are you referring to resources that create dialogs in FB-based GUI applications? This is currently a topic of discussion over at the official FreeBASIC forum.

http://www.freebasic.net/forum/viewtopic.php?t=1491
\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
Reply
#4
Hi,

I wrote a small tool in order to add icons and version information to exe files easily. [Screenshot] [Download]

Sebastian
[Image: f.jpg]
Reply
#5
Not a RAD, a .rsc file like they have in C, Pascal, and assembly...you know...
Code:
#include "Resource.h"

MY_ICON ICON "C:\Myicon.ico"

IDR_MYMENU MENU
BEGIN
    POPUP "&File..."
etc.
Like that?
[Image: 1403.png]
^ Infrosoft
http://www.thecodeyouneed.us.to/ - A wiki of source code, mostly in PHP and FreeBASIC
http://www.osadvocacy.uk.to/ - Your opinion matters no matter your OS
Reply
#6
It's a .rc file in Dev-C++.

Edit: It's typically used to create menus, change application icons, etc.
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Reply
#7
We mean the same thing but with different purposes. Smile I used RC/RES just in order to add icons and so on to exe files but that technic is able to add dialogs too.
There are some RAD interfaces for FB I think. On the one hand there's EzeeGUI and on the other hand there's wx-Widgets Designer (or so...)
[Image: f.jpg]
Reply
#8
kevin the programmer-
can you please change your avatar or make it smaller at least? :wink:
Reply
#9
You want to compile with a icon or something? You can do that in FB by:

<fbc> <Codename> C:\File\icon.rc

the .rc contianing the stuff to import the icon.... Adigun has a cool tut on it in QBasic Express (Can't remeber which one)...

If this isn't what you mean, forget this post....
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#10
Hi,

I know, but adding "version" resources by using RC files is IMO not quite comfortable... Smile My program above is just useful to save a bit work... Smile

Sebastian
[Image: f.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)