Search found 4132 matches

by esgici
Sat Dec 09, 2017 3:51 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 808

Re: Hard coding picture on a button

name of .rc file should be same as .prg ( in the sample: demo.rc for demo.prg ) Sorry, this is incorrect; correct is: name of .rc file should be same as . hbp ( in the sample: demo.rc for demo. hbp ) More, this isn't a compulsory; is a easiness gave by HMG. This is obvious, just like .hpc,. hbp ;) ...
by esgici
Sat Dec 09, 2017 1:58 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 808

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 embended in your exe file. example: B1 BITMAP res\BUTTON.BMP B2 PNG res\img.PNG B3 ICON res\img.ICO Where: B1, B2 and B3 are alises of embended files; BITMAP, PNG, ICON are types of embended files; res\BU...
by esgici
Sat Dec 09, 2017 12:26 am
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 808

Re: Hard coding picture on a button

But we have a little difference : problem is not BUTTON implementation of HMG, but icon file declared into .rc file; direct definition icon file in BUTTON definition successfully work fine.

Viva HMG :D
by esgici
Fri Dec 08, 2017 10:45 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 808

Re: Hard coding picture on a button

Works fine with bitmap, png, gif, jpg, tif IMHO .ico files not convenient for button images and there is tons of utility (included freeware) to convert images from one type to another (my favorite is IrfanView). Still may be possible to add .ico type to images types supported by BUTTON control of H...
by esgici
Thu Dec 07, 2017 7:22 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 808

Re: 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 esgici
Thu Dec 07, 2017 7:12 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 1248

Re: How to search and retrive a value

RPC wrote:
Thu Dec 07, 2017 6:51 pm
...
I agree HMG is a miracle and those who use it effectively, l ...
With best wishes
Once again many thanks to your nice words :)

... those who use and those who follow and support like you 8-)

Regards

Viva HMG :D
by esgici
Wed Dec 06, 2017 7:44 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 1248

Re: How to search and retrive a value

RPC wrote:
Mon Dec 04, 2017 11:27 am
...
I am interested in CSV to DBF conversion,
...
Hi Rajeev (and all of course )

As promised:

ScreenShotOf_DSV2DBF.prg.jpg
as name implied ...
ScreenShotOf_DSV2DBF.prg.jpg (43.28 KiB) Viewed 224 times
DSV2DBF.zip
DSV2DBF source files and resources
(5.42 KiB) Downloaded 20 times

Please don't forgive my faults :arrow:

Once again:

HMG is a miracle; built by a genius, thousands of fools couldn't break

Viva HMG :D
by esgici
Mon Dec 04, 2017 3:01 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 1248

Re: How to search and retrive a value

RPC wrote:
Mon Dec 04, 2017 11:27 am
...
I will certainly ask in case I am interested in CSV to DBF conversion,
...
OK, I will start,

please remain in line ;)

Regards :D
by esgici
Sun Dec 03, 2017 5:04 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 1248

Re: How to search and retrive a value

jayadevu wrote:
Sun Dec 03, 2017 4:59 pm
Very nice code Esgici.
...
Thanks Jayadevu;

just your grace :D

Regards
by esgici
Sun Dec 03, 2017 1:58 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 1248

Re: How to search and retrive a value

... it is not two cents worth but two million dollar worth of code for me. Another way of processing text file. I love it. ... Hi Rajeev Many thanks to your nice words for me :) But please do not exaggerate, it was only a humble work for friends :oops: By the way; if you want we can raise the bar: ...