wntDirDialog

Brings up a network drive connect/disconnect dialog box

Syntax:

wntDirDialog(flag)

Parameters:

(i) flag:  @FALSE=disconnect dialog; @TRUE=connect dialog

Returns:

(i) 1

 

This function prompts the user with either a standard Connect or Disconnect dialog box. The user may make or break network drive mappings via the dialog box.

 

Example:
; Load Appropriate Extender
AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')

err=wntDirDialog(@TRUE) RunWait("excel.exe", "/e") wntDirDialog(@FALSE) Exit
See Also:

wntAddDrive