Bos Taurus embedding images in .exe

Moderator: Rathinagiri

Post Reply
User avatar
RussBaker
Posts: 51
Joined: Wed Jul 22, 2015 9:44 am

Bos Taurus embedding images in .exe

Post by RussBaker »

I'm learning Bos Taurus and it is amazing. Fast and powerful.

I have a "static" image that I need to display when the program is in a certain status.
eg: "Not Found"

In HMG I can compile this into my .EXE so the external file is not necessary.

Can I do the same with an image for BT?
eg: no_photo:= BT_BitmapLoadFile ("nophoto.jpg")

I would prefer the .EXE stand alone without external files.

--Russ
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Bos Taurus embedding images in .exe

Post by bpd2000 »

Hi
You Can do it refer link that shows how to include an image in the .EXE file

http://www.elektrosoft.it/tutorials/hmg ... #resources
BPD
Convert Dream into Reality through HMG
User avatar
RussBaker
Posts: 51
Joined: Wed Jul 22, 2015 9:44 am

Re: Bos Taurus embedding images in .exe

Post by RussBaker »

Will the resource file allow Bos Taurus to do this:

no_photo:= BT_BitmapLoadFile ("RESFILE")
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Bos Taurus embedding images in .exe

Post by bpd2000 »

Hi
Find working example finished with the help from Dr. Claudio Soto
Attachments
Load from resource.rar
(53.17 KiB) Downloaded 377 times
BPD
Convert Dream into Reality through HMG
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Bos Taurus embedding images in .exe

Post by serge_girard »

Thanks Dave (&& Claudio)

Serge
There's nothing you can do that can't be done...
Post Reply