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 


ExtTable dsu Resource Help

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


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Wed Mar 31, 2010 3:35 pm    Post subject: ExtTable dsu Resource Help Reply with quote

Hi,
I Have a trpuble with resource in my new script, script use exttable dsu, bu not show the right bitmap, instead show other bitmap included in the script
This is the part of my script used to assign bitmap to image list:

Code:

  IMAGELIST CREATE,ItemImages,16,16,color16,0,1
  IMAGELIST ASSIGN,ItemImages,Table1,1
  IMAGELIST SETBKCOLOR,ItemImages,$FFFFFFFF
  IMAGELIST ADDMASKED,ItemImages,@Path(%0)\flag_gr.bmp,$FFFFFF,16,16
  IMAGELIST ADDMASKED,ItemImages,@Path(%0)\flag_rd.bmp,$FFFFFF,16,16


and here the code to assign image to table item:

[code]
tItem Image,Table1,@Index(Table1),0,1
[\code]

Why? What i wrong?

Many tnx in advance
Back to top
View user's profile Send private message Send e-mail
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sun Apr 04, 2010 3:36 pm    Post subject: Reply with quote

Looking at the code you provided the image at @Index(Table1) should be @path(%0)\flag_rd.bmp.

You need to remove the "\" when using @path() function because it will cause a double "\\"

Code:
%P = "C:\My Projects\flag_rd.bmp"
info @path(%P)\flag_rd.bmp


The result would be "C:\My Projects\\flag_rd.bmp" [INCORRECT]

Code:
%P = "C:\My Projects\flag_rd.bmp"
info @path(%P)flag_rd.bmp


The result would be "C:\My Projects\flag_rd.bmp" [CORRECT]
Back to top
View user's profile Send private message Send e-mail
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Sun Apr 11, 2010 2:43 pm    Post subject: Reply with quote

Hi Aslan

thanks for your notice, yes I wronged Embarassed , bur changed continue to not work Crying or Very sad

Bue
Back to top
View user's profile Send private message Send e-mail
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Wed Apr 14, 2010 3:02 pm    Post subject: Reply with quote

Can you provide a working script so that I can try to replicate the issue on my machine?

Also what OS are you using?
Back to top
View user's profile Send private message Send e-mail
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon Apr 19, 2010 5:51 pm    Post subject: Reply with quote

Hi Aslan Smile
I will send you my complete project, my O.S. is Win7 Ultimate.

Please wait little bit for the project

Thank you and Byez
Back to top
View user's profile Send private message Send e-mail
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Tue Apr 20, 2010 11:25 pm    Post subject: Reply with quote

Ok... I'll be patiently waiting for it.........................
...........................................................................
...........................................................................
...........................................................................
...........................................................................

Is it done yet Question Razz
Back to top
View user's profile Send private message Send e-mail
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