# 一个小问题

Posted by MARS on February 13, 1998 at 19:08:15:

小弟是初学者,絣到许多的问题,希望大家能教教我
,早日征服它
Private Sub Command1_Click()
Unload Me
End
End Sub

Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub

Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub

Private Sub File1_Click()
If Right(File1.Path, 1) "\" Then
Label1.Caption = File1.Path & "\" & File1.filename
Else
Label1.Caption = File1.Path & File1.filename
End If

Label2.Caption = "档案大小:" + Str$(FileLen(Label1.Caption)) + "位元组"

End Sub
Private Sub form_()
Drive1.Drive = App.Path
Dir.Path = App.Path

End Sub

Private Sub image1_Click()
image1.Picture = LoadPicture(Label.Caption)
End Sub
其中private sub file1_click这段程式里
if right(file1.path,1)"\" then是什么意思?那个符号在VB里是代表什么,
希望各位网友解答
感激不尽

Follow Ups:

- Re: 一个小问题 小刘 02:43:41 2/15/98 (0)