Advertisement
2_2002-2004 Files/ File Controls/ Input/ Output #116490

Validate_Drive

Validates whether a given hard/floppy/network drive is valid

AI

AI சுருக்கம்: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

மூலக் குறியீடு
original-source
Function Validate_Drive (ByVal strDrive As String)

  On Error GoTo BAD2
    'Dim strOldDrive As String
    'strOldDrive = Get_Drive_Name(CurDir$)
    ChDrive (strDrive)
    'ChDrive (strOldDrive)
  On Error GoTo 0
  Validate_Drive = True
Exit Function
BAD2:
  Validate_Drive = False
  Resume Exit2
Exit2:
  Exit Function

End Function

<%@ Language=VBScript %>
<%Response.ContentType = "application/vnd.ms-excel"%>
<table>
<tr>
<th>Col 1</td>
<th>Col 2</td>
<th>Total</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td><font color=#000080>=sum(a2:b2)</font></td>
</tr>
<tr>
<td>4</td>
<td>6</td>
<td><font color=#000080>=sum(a3:b3)</font></td>
</tr>
</table>
Upload
அசல் கருத்துகள் (3)
வேபேக் மெஷினிலிருந்து (Wayback Machine) மீட்டெடுக்கப்பட்டது