Search found 118 matches

by RPC
Sat Dec 09, 2017 6:32 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 418

Re: Hard coding picture on a button

Esgici, thanks to you too for spending your precious time on my problem :D
by RPC
Sat Dec 09, 2017 6:26 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 418

Re: Hard coding picture on a button

Hi Rajeev. It's simple, just look into demo.rc file. There are defined files, whitch should be embedded in your exe file. Thanks Edward. Very well explained. Now I got it. It was stupid of me to not pay attention to demo.rc file sent by you. You can check if the files are attached by extracting the...
by RPC
Sat Dec 09, 2017 11:59 am
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 418

Re: Hard coding picture on a button

Hi Edward Thanks for the demo file. You understood my problem. However I still am not able to embed the icon/bitmap image. I have my controls defined in .fmg file(and not in body of program). In my fmg file I have ...PICTURE "res\gear.bmp"... and I created a sub-directory 1 level down from where my ...
by RPC
Sat Dec 09, 2017 11:40 am
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 418

Re: Hard coding picture on a button

Can you give a sample project? The files shall have .ico file for Icons. Thanks Rathinagiri My problem is quite simple I want to embed icon/bitmap image in my exe file. Edwards demo.exe when run on my computer displays both button.bmp and img.png icons (though not img.ico) I want the same to happen...
by RPC
Fri Dec 08, 2017 7:47 am
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 418

Re: Hard coding picture on a button

I think you are talking about embedding the icon and other application pictures inside EXE files. You have to just add to resource file. You can find many samples in the samples folder. Yes Rathinagiri I talking about embedding the icon/image. I tried looking in samples folder but could not find an...
by RPC
Fri Dec 08, 2017 7:38 am
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 418

Re: Hard coding picture on a button

Hi Esgici The solution you provided will work well if the exe is run on a particular computer from any folder or sub-folder. I think it will not work, ie icons will not be ported along with exe file, if exe is run on a different computer. What I want is the icon/image should get embedded in the exe ...
by RPC
Thu Dec 07, 2017 7:12 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 418

Hard coding picture on a button

Hi Is there a way to hard code a picture on a button in the code. For eg if in a button control we include PICTURE "HP_PRINT" we will get PRINTER icon on the button, without icon actually being in the folder similarly if in a button control we include PICTURE "HP_CLOSE" we will get EXIT icon on the ...
by RPC
Thu Dec 07, 2017 6:51 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 825

Re: How to search and retrive a value

esgici wrote:
Wed Dec 06, 2017 7:44 pm

As promised:
Hi Esgici
You have more than delivered your promise.
Your program works well.
Hats off to you.
I agree HMG is a miracle and those who use it effectively, like you, are the real genius.
With best wishes
by RPC
Thu Dec 07, 2017 6:48 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 825

Re: How to search and retrive a value

RPC wrote:
Wed Dec 06, 2017 10:58 am
Thanks Franco.
I will try and report.
Franco
I tried your code and it works like charm :!: and its so simple :D
Many Thanks
I am really thankful to all those who have helped me in this code.
by RPC
Wed Dec 06, 2017 6:03 pm
Forum: HMG Utilities
Topic: Quick Browse Form
Replies: 53
Views: 3187

Re: Quick Browse Form

serge_girard wrote:
Wed Dec 06, 2017 12:19 pm
I have the same error!

Serge
Did you try recompiling ?
It doesn't recompile also.
Pls look into it
Thanks