Source language: Translate to:

Unable to open Folder in Windows Vista 64 Bit

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Postby Wrangler » Mon Feb 06, 2012 9:12 am

I don't have Vist 64bit, but it works fine with Win7 Ultimate 64bit:

FileOpenBox "Load Background Image" "Any Image File|*.*"
"c:\Xboard\Sets" "[ximages]" ""


This action should all be on one line:

FileOpenBox "Load Background Image" "Any Image File|*.*" "D:\NeoBook 5\Plugins" "[ximages]" ""
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1505
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby Wrangler » Mon Feb 06, 2012 10:15 am

Glad you found the problem. In Vista & win7, the Program Files and Program Files (x86) folders are virtual. Installing in one of these folders also can cause the inability to retain unlock codes and read/write databases, from my experience.

I wouldn't install ANYTHING in either of these folders. Saves a lot of grief.
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1505
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby Neosoft Support » Mon Feb 06, 2012 4:44 pm

The other side effect is that in Vista if I choose to select a particular folder using this code, and decide to use another FileOpenBox even if the path is different, the folder that comes up is the same that I opened before.


Evidently, this is a "feature" of Vista/Win7. You can work around this "feature" by setting the file name variable with the name of the path you want to view. For example:

SetVar "[ximages]" "c:\Xboard\Sets\*.*"
FileOpenBox "Load Background Image" "Any Image File|*.*" "c:\Xboard\Sets" "[ximages]" ""
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron