| View previous topic :: View next topic |
| Author |
Message |
gismoti Newbie
Joined: 01 Mar 2004 Posts: 2
|
Posted: Mon Mar 01, 2004 8:18 am Post subject: @DIRDLG() |
|
|
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
Thanks Chris
[/code:1:dea77c94da] |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Mar 01, 2004 10:15 am Post subject: |
|
|
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
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Mar 01, 2004 11:01 am Post subject: |
|
|
You also need a space on both sides of the "=" symbol (just like
CodeScript used). No spaces prolly caused your "error code 6".
Do this:
%d = @dirdlg()
Not this:
%d=@dirdlg()
Cheers, Mac  _________________ 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 |
|
 |
gismoti Newbie
Joined: 01 Mar 2004 Posts: 2
|
Posted: Mon Mar 01, 2004 1:34 pm Post subject: Thanks Guys |
|
|
Hey Guy's!
Your Help was was superior! All is OK!
Thank you Chris |
|
| Back to top |
|
 |
|