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: 3
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: 62
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: 90
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: 1694
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:
11 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1694

Iain Sharp: 612

Theo Neeskens: 339

gianni: 257

rogerw: 232

istiller: 199

lalitpct: 197

Knut: 175

-GHAN-: 171

sochaz: 165

Member Stats:

Guest Posters: 3

Members: 6285

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2032

Posts: 8749

Newest Members:

adbotter, KennethHub, MathewBew, Sarma, RichardSmare, Frostseekerquife, Lookeephi, Llberyquife, BrunoTop, Sirbop

Administrators: admin: 23, Adrian Gosbell: 278, diseli: 820, Bob Maier: 3, Nico Peereboom: 62, Michael Rabone: 4, richiet: 406, JanCees: 28