forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Table Element.... Where is the bitmap?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
sawang
Newbie


Joined: 06 Mar 2005
Posts: 8

PostPosted: Sun Mar 06, 2005 4:14 am    Post subject: Table Element.... Where is the bitmap? Reply with quote

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
View user's profile Send private message
sawang
Newbie


Joined: 06 Mar 2005
Posts: 8

PostPosted: Sun Mar 06, 2005 1:08 pm    Post subject: Reply with quote

seems like even mods didnt have the answer......... Sad
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sun Mar 06, 2005 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Cipper
Newbie


Joined: 21 Jun 2001
Posts: 22
Location: Trieste Italy

PostPosted: Tue Apr 12, 2005 1:15 pm    Post subject: Reply with quote

If I compile I do not see the bmp, I have inserted # RESOURCE ADD, BITMAP, ok.bmp, ok.bmp Why?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Apr 12, 2005 5:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group