View previous topic :: View next topic |
Author |
Message |
sawang Newbie
Joined: 06 Mar 2005 Posts: 8
|
Posted: Sun Mar 06, 2005 4:14 am Post subject: Table Element.... Where is the bitmap? |
|
|
I really need a help here. I've created a table element witth a bitmap
Code: |
list add,table1,@item(2)@tab()@tab()@tab()Yes@tab()@tab()@tab()@tab()|#snake.bmp
|
bitmap format, 16 x 16 32 bit (winXP)
bitmap format 16 x 16 256 color
in the IDE, it works fine. But after compiled to an EXE, the bitmap did not shown in the table. Compiling into dsr with tommy resource compiler did not help much. Still no go.What's going on? Can someone help me? |
|
Back to top |
|
 |
sawang Newbie
Joined: 06 Mar 2005 Posts: 8
|
Posted: Sun Mar 06, 2005 1:08 pm Post subject: |
|
|
seems like even mods didnt have the answer.........  |
|
Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sun Mar 06, 2005 3:47 pm Post subject: |
|
|
sawang,
Have you defined snake.bmp as a resource using VDS's #RESOURCE directive at the top of your script?
Code: | #resource add, bitmap, snake.bmp, snake.bmp |
_________________ Home of
Give VDS a new purpose!
 |
|
Back to top |
|
 |
Cipper Newbie
Joined: 21 Jun 2001 Posts: 22 Location: Trieste Italy
|
Posted: Tue Apr 12, 2005 1:15 pm Post subject: |
|
|
If I compile I do not see the bmp, I have inserted # RESOURCE ADD, BITMAP, ok.bmp, ok.bmp Why? |
|
Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Tue Apr 12, 2005 5:10 pm Post subject: |
|
|
I think you should just add:
#RESOURCE ADD, BITMAP, ok.bmp
This will create a bitmap resource named OK.
The directive you were using would create a resource named OK.BMP. VDS knocks the file type off when using resources, because it is not usual to use them. _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
 |
|