Exp=a
@end
                                                       
'Ini:(ע⣺뱻ȵã
'ĿģǷûдڣʾûûڳʼʱһҪʹδ
Public Sub Ini()
KeyPath = Space$(260)
 LastError = 0 'ʼΪ޴
 Dim result As Integer
'δûǷ
 result=FindPort_3("@f",@p,KeyPath)
Dim nPos As Long
nPos = InStr(KeyPath, vbNullChar)
If nPos > 0 Then
     KeyPath = Left$(KeyPath, nPos - 1)
End If
 If result<>0 Then
    If result = -201 Then
        MsgBox "ҲָļļļǷڳĿ¼¡ǿģʽ£ļǷVBڵĿ¼¡"
    Exit sub
    End If
    MsgBox "ڶӦûӦû", vbOKOnly, ""
 End If
End Sub
