Show Local Disks only | Uniface Anywhere | Forum

Avatar

Please consider registering
guest

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
Avatar
hugogarcia
Member
Forum Posts: 5
Member Since:
29 Sep 2017
sp_UserOfflineSmall Offline

Hello,

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
Avatar
Nico Peereboom
Admin
Forum Posts: 65
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 http://support.microsoft.com/kb/231289. To hide host drives, the Apply Group Policy option must be enabled in the Cluster Manager’s Host Options dialog.

Regards,

Nico

16 Oct 2017
4:20 pm
Avatar
Claudio
Italy
Member
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.

HTH
Best Regards
Claudio

16 Oct 2017
5:09 pm
Avatar
ulrich-merkel
Frankfurt/Germany
Member
Forum Posts: 1710
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: Henk van der Veer
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1710

Iain Sharp: 623

Theo Neeskens: 345

gianni: 264

rogerw: 232

istiller: 201

lalitpct: 197

Knut: 179

-GHAN-: 171

Arjen van Vliet: 170

Member Stats:

Guest Posters: 3

Members: 7038

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2058

Posts: 8862

Newest Members:

Arabellaquife, ArthurEffit, RubenKip, MarinaGOVunse, Olpbtsj, Richardglums, Hellbladequife, RobertCab, Kcrdhlq, Kennethsherm

Administrators: admin: 23, Adrian Gosbell: 286, diseli: 836, Bob Maier: 3, Nico Peereboom: 65, Michael Rabone: 4, richiet: 406, JanCees: 28