| View previous topic :: View next topic |
| Author |
Message |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Jul 23, 2003 6:36 pm Post subject: VDS can't open files from some folders.... |
|
|
Hello all,
I found a bug which prevents VDS from opening files out of folders which contain the ( or ) character. The first time I saw this was when I downloaded a .dsc file from the internet into a tempetorial directory, and VDS couldn't open it. First I thought that it was because the file was removed or something, but after some research I found out that VDS isn't possible to open files from directories with the above mentioned characters in their name. I think this must be solved real quick, because if you save your code like the way I do (like programname (versionnumber) ), it is just impossible to open...
Please try this on different OSes. I use Windows XP Home Edition. _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Jul 23, 2003 7:55 pm Post subject: |
|
|
I use Windows XP Professional... bug is there too.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Thu Jul 24, 2003 3:30 am Post subject: |
|
|
Yes this was not there in VDS 4.x.
I had already posted this in slightly different way :
http://forum.vdsworld.com/viewtopic.php?t=1685
I think this can be solved easily but needs an IDE update ? _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Aug 01, 2003 10:47 am Post subject: |
|
|
There is a bug here, but also the %1 in the DDE FILEOPEN command in the file associations in the registry need to have quotes around it. In fact, strings in DDE commands in general need to have quotes around them so that the command parser doesn't interpret a closing bracket as the end of the command. The help file needs to be updated to show this. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Aug 01, 2003 11:29 am Post subject: |
|
|
I think maybe it's placed correctly: VDS uses a DDE command ([FileOpen(%1)]) to open the file
types (.dsc / .dsp) associated with VDS.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Aug 01, 2003 2:04 pm Post subject: |
|
|
Indeed. The bug affects opening a file by double-clicking it, but it will also affect any attempts to do the same using DDE automation. And it will affect other DDE commands that include text with brackets in it, too. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Jan 05, 2004 3:33 pm Post subject: |
|
|
Hi Skit,
I believe that if you modify the file associations on your PC to the following it will allow IE to open the *.dsc and *.dsp files. All you need to do is open the windows registry and find the following keys.
For *.dsc files goto this registry key
HKEY_CLASSES_ROOT\VDS.Script.5\shell\Open\command
change the (default) key from
C:\Program Files\Visual DialogScript 5\vds.exe
to
"C:\Program Files\Visual DialogScript 5\vds.exe" "%1"
For *.dsp files goto this registry key
HKEY_CLASSES_ROOT\VDS.Project.5\shell\Open\command
change the (default) key from
C:\Program Files\Visual DialogScript 5\vds.exe
to
"C:\Program Files\Visual DialogScript 5\vds.exe" "%1"
This should work Make a backup of your registry before you make these changes just incase. This should not effect the DDE abilities of VDS. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Mon Jan 12, 2004 6:42 pm Post subject: |
|
|
Mindpower's suggestion is wrong. VDS 5.01 takes no notice of arguments on the command line at all. It's all done using DDE.
You have to modify the DDE commands for both DSC and DSP files to put quotes round the %1, like this:
I did tell CR to fix their setup script, but they didn't, and by the time the update was actually released I'd fallen asleep and so I forgot to test it. I also thought they should fix it so that it reboots the system to replace the runtime if it's in use when you install the update. Heck, even the freebie Agentix installer can do that...
By the way, my involvement in VDS development is now finished, so if you have any more problems with the current version of VDS, please yell at CR and not me. I'll still be looking in here from time to time, as I have a lot of stuff developed in VDS, but it looks as though I'll increasingly be involved in other things this year. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Mon Jan 12, 2004 7:02 pm Post subject: |
|
|
Jullian, thanks for all the help and information you've provided for
everyone here at the forums, and many thanks for all the work you've
done on VDS over the years.
I do hope you stick to that and drop in now and then to at least say
hello to the troops here.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
LOBO Valued Contributor


Joined: 14 Mar 2002 Posts: 241 Location: Wilmington, Delaware, USA
|
Posted: Mon Jan 12, 2004 7:25 pm Post subject: |
|
|
Yes, Thank You Jullian! I also hope you'll continue to stop by now and then.
- Mark |
|
| Back to top |
|
 |
|