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 


What can be run from a .dsr file?

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


Joined: 29 May 2002
Posts: 17
Location: Australia

PostPosted: Thu May 30, 2002 1:03 pm    Post subject: What can be run from a .dsr file? Reply with quote

I was wondering what files could be accessed through a .dsr file.

I use another scripting tool (Autoit - www.hiddensoft.com) also and would like to add an .exe script made with autoit, could the .exe script file be run with from a .dsr file;

Run, test.dsr|script.exe

_________________
------------------------------------


Boo
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu May 30, 2002 8:34 pm    Post subject: Reply with quote

DSR files are "resource" files that you can put
BMP, TXT and ICO files in (to keep from having
a lot of separate files with your program, and
prevent most users from ripping off your stuff).

Look in the VDS help file under "resource
compiler" for more details.

You cannot run an EXE from a DSR file.

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu May 30, 2002 10:54 pm    Post subject: Reply with quote

If you wanna stash more than ICO and BMP files into a common resource file then you could
try this one out:

http://www.vdsworld.com/forum/viewtopic.php?t=132


Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
nemisis010
Newbie


Joined: 29 May 2002
Posts: 17
Location: Australia

PostPosted: Fri May 31, 2002 2:48 am    Post subject: Extracting the files Reply with quote

From what you guys have said i think it would be the best if i just extract them to a hidden directory and delete them afterwards.


Thanks guys

_________________
------------------------------------


Boo
Back to top
View user's profile Send private message
nemisis010
Newbie


Joined: 29 May 2002
Posts: 17
Location: Australia

PostPosted: Fri May 31, 2002 3:11 am    Post subject: Reply with quote

8O 8O 8O <- I JUST LOVE THIS EMOICON!!! - LOL
Can any of you guys see what's wrong with this line of code, the
%%FILENAME1 variable retreives a filename from a listbox, and the
%%CFWPATH variable is a path to a directory, eg C:\temp


Code:

   %%FILENAME1 = @dlgtext(FILELIST)
   file copy %%CFWPATH\%%FILENAME1,%%CFWPATH\Dbackup\%F-%%FILENAME1


the error i keep getting is "invalid parameter to command" which says in the help file that "One of the parameters to a command is not valid".


DON't BOTHER REPLYING TO THIS POST, I FOUND IT OUT, DUH.

_________________
------------------------------------


Boo
Back to top
View user's profile Send private message
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