how to know current driver is local or network driver ?

how to know current driver is local or network driver ?

Postby ShumingWang » Tue Jun 07, 2011 4:06 am

Hi,
as title.
another title , where to find harbour functions list ?
TKS!
Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Re: how to know current driver is local or network driver ?

Postby anserkk » Tue Jun 07, 2011 4:23 am

ShumingWang wrote:how to know current driver is local or network driver ?


Did you mean Current Drive is local or a network drive ?
If so, then you can use the function DriveType(cDriveLetterWithoutColon) --> nDriveType
Code: Select all  Expand view
MsgInfo(DriveType("Z"))


Return values for drive types
Code: Select all  Expand view
0 RAM drive
2 Floppy drive
3 Hard drive
4 CD-Rom drive
5 Network drive
9 Unknown drive


Regards
Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: how to know current driver is local or network driver ?

Postby ShumingWang » Tue Jun 07, 2011 4:33 am

Anser,
Thank you !
Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 94 guests