Show Local Disks only | Uniface Anywhere | Forum


Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
Show Local Disks only
02 Oct 2017
3:07 pm
Forum Posts: 5
Member Since:
29 Sep 2017
sp_UserOfflineSmall Offline


I’m using Uniface Anywhere and I want to know only the local disks from the client. Using the command “filebox” it shows all disks, including the ones from the server.

Is it possible to know which one is a local disk or show only the local disks?

16 Oct 2017
10:55 am
Nico Peereboom
Forum Posts: 80
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Hugo,

Hiding Host Drives
Microsoft’s Group Policy Objects lets you hide specific host drives. For instructions, see To hide host drives, the Apply Group Policy option must be enabled in the Cluster Manager’s Host Options dialog.



16 Oct 2017
4:20 pm
Forum Posts: 91
Member Since:
05 Jun 2016
sp_UserOfflineSmall Offline

I would suggest playing with WMI.
A query to get you started is “SELECT * FROM WIN32_DiskDrive” which would return all of the information for all of the disk drives in your system.
For example the PNPDeviceID field should start with USBSTOR for any USB drives. Check MSDN for what fields return.

Best Regards

16 Oct 2017
5:09 pm
Forum Posts: 1840
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

… but I think the original request is how to limit the uniface “filebox” function to local disks only ??

So we are talking about reimplementing a filebox dialog with the means of standard uniface language (aka a form).

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online: Mike Taylor
26 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1840

Iain Sharp: 663

Theo Neeskens: 366

gianni: 331

istiller: 285

rogerw: 268

Knut: 219

lalitpct: 197

Arjen van Vliet: 182

sochaz: 173

Member Stats:

Guest Posters: 3

Members: 9740

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2270

Posts: 9824

Newest Members:

agrohimujg, Ramhaturiff, best_auto, kings1, skorp0883, oraha, Anitastync, marina1993m, CharlesRip, Angiefoxlome

Administrators: admin: 23, Adrian Gosbell: 318, diseli: 1017, Bob Maier: 3, Nico Peereboom: 80, Michael Rabone: 4, richiet: 406, JanCees: 34