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 


@DIRDLG()

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


Joined: 01 Mar 2004
Posts: 2

PostPosted: Mon Mar 01, 2004 8:18 am    Post subject: @DIRDLG() Reply with quote

Hi Folks!

When i try Code like this %D=@DIRDLG() i always get an ERROR
MESSAGE like this ERROR CODE 6 in Line 1, "=" SYMBOL EXPECTED what does it mean? I am a VDS Newbie!

Have anybody a correct Code Example for me Laughing

Thanks Chris
[/code:1:dea77c94da]
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Mar 01, 2004 10:15 am    Post subject: Reply with quote

I think some problem with VDS error reporting.
I guess you are using VDS 5.0 or 4 or below since
VDS 5.01 says :

VDS 5 error message wrote:
Error: Operation invalid when no dialog showing
at line: 11
in file: Untitled.dsc

You need a dialog for these functions to work.
I really don't know why such a requirement has been placed :S
coz my VDSGUI extension has a colored DIRDLG which shows up well even in the abscence of any dialog.

Now all you need to do is to add a dialog to your code.

Code:
DIALOG CREATE,Dummy,-1,0,240,160
REM Uncomment below only if you need to show the dialog.
REM DIALOG SHOW
%D = @filedlg()

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


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

PostPosted: Mon Mar 01, 2004 11:01 am    Post subject: Reply with quote

You also need a space on both sides of the "=" symbol (just like
CodeScript used). No spaces prolly caused your "error code 6". Wink

Do this:
%d = @dirdlg()

Not this:
%d=@dirdlg()

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
gismoti
Newbie


Joined: 01 Mar 2004
Posts: 2

PostPosted: Mon Mar 01, 2004 1:34 pm    Post subject: Thanks Guys Reply with quote

Hey Guy's!

Your Help was was superior! All is OK! Razz

Thank you Chris
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