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: 77
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: 1782
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:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1782

Iain Sharp: 653

Theo Neeskens: 353

gianni: 301

rogerw: 260

istiller: 251

Knut: 211

lalitpct: 197

Arjen van Vliet: 175

sochaz: 173

Member Stats:

Guest Posters: 3

Members: 8718

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2192

Posts: 9481

Newest Members:

VikaDit, Refomibon, NapsdqaLews, BssaeqiLews, vasin159, NYAlex, Demodom, DorrisSek, HousepfReviews2, gahaddence

Administrators: admin: 23, Adrian Gosbell: 317, diseli: 958, Bob Maier: 3, Nico Peereboom: 77, Michael Rabone: 4, richiet: 406, JanCees: 28