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 


VDS can't open files from some folders....
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Jul 23, 2003 6:36 pm    Post subject: VDS can't open files from some folders.... Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 23, 2003 7:55 pm    Post subject: Reply with quote

I use Windows XP Professional... bug is there too. Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Thu Jul 24, 2003 3:30 am    Post subject: Reply with quote

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
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
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Jul 24, 2003 9:44 am    Post subject: Reply with quote

Oops... Embarassed Sorry CodeScript, I have read it, but simply forgot... Embarassed
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Aug 01, 2003 10:47 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Aug 01, 2003 11:00 am    Post subject: Reply with quote

Eeeh, I think you posted this at the wrong topic... Wink I''m sorry, but I can't move only this post to another topic, so could you modify them yourself please?
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


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

PostPosted: Fri Aug 01, 2003 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Aug 01, 2003 11:38 am    Post subject: Reply with quote

Oops, didn't know... Embarassed
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Aug 01, 2003 2:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Jan 04, 2004 6:17 pm    Post subject: Reply with quote

The bug is still there... Can this be solved, because now I still can't open files I download from the internet right away (With IE's "Download and Open" option)... Sad
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jan 05, 2004 3:33 pm    Post subject: Reply with quote

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 Question 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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Jan 05, 2004 3:55 pm    Post subject: Reply with quote

It still does not seem to work... Sad And when I renamed the "ddeexec" key into "_ddeexec", it didn't even open files in 'normal' directories... Sad
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Jan 12, 2004 6:42 pm    Post subject: Reply with quote

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:

Code:
[FileOpen("%1")]


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. Sad 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
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Jan 12, 2004 7:02 pm    Post subject: Reply with quote

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. Smile

-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
View user's profile Send private message
LOBO
Valued Contributor
Valued Contributor


Joined: 14 Mar 2002
Posts: 241
Location: Wilmington, Delaware, USA

PostPosted: Mon Jan 12, 2004 7:25 pm    Post subject: Reply with quote

Yes, Thank You Jullian! I also hope you'll continue to stop by now and then.

- Mark
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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