Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper Visual-Objects > Re: Determining...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 10 Topic 11360 of 11708
Post > Topic >>

Re: Determining if share is available

by John Martens <adsl672100@[EMAIL PROTECTED] > Apr 29, 2008 at 06:49 PM

Is this just as slow ?

FUNCTION IsDriveReady(cDrive AS STRING) AS LOGIC
	LOCAL lFuncResult AS LOGIC
	IF DiskChange(PSZ(cDrive))
		lFuncResult := TRUE
	ELSE
		lFuncResult := FALSE
	ENDIF
RETURN lFuncResult


James Martin schreef:
> I'm connecting to directories over a VPN, and sometimes the machines are
not 
> available at the other end. Instead of immediately going on there is a
long 
> wait before it returns with an error. File() does not help. Is there a
way 
> to determine whether a share (and of course a shared file) is available 
> immediately?
> 
> James 
> 
>
 




 10 Posts in Topic:
Determining if share is available
"James Martin"   2008-04-29 12:14:03 
Re: Determining if share is available
John Martens <adsl6721  2008-04-29 18:49:28 
Re: Determining if share is available
"James Martin"   2008-04-29 16:33:03 
Re: Determining if share is available
"James Martin"   2008-04-30 12:28:27 
Re: Determining if share is available
dlzc <dlzc1@[EMAIL PRO  2008-04-29 14:21:02 
Re: Determining if share is available
"James Martin"   2008-04-30 12:30:15 
Re: Determining if share is available
Richard Pilkington <ri  2008-05-01 11:29:13 
Re: Determining if share is available
"Willie Moore"   2008-05-01 13:08:00 
Re: Determining if share is available
"James Martin"   2008-05-20 12:07:57 
Re: Determining if share is available
dlzc <dlzc1@[EMAIL PRO  2008-04-30 10:17:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 11:43:22 CDT 2008.