當我在VB中運行這段代碼時,VB說我「補丁文件訪問錯誤」。有誰能夠幫助我?這裏是我的代碼:如何在App.Path中訪問?
MkDir App.Path & "\users\" & Splice(2)
Open App.Path & "\users\" & Splice(2) & "\pass.txt" For Append As #1
Print #1, Splice(3)
Close #1
MkDir App.Path & "\users\" & Splice(2)
Open App.Path & "\users\" & Splice(2) & "\list.txt" For Append As #1
Print #1, "" 'we have to put something into the buddy list
'so well put nothing ;)
Close #1
MkDir App.Path & "\users\" & Splice(2)
Open App.Path & "\users\" & Splice(2) & "\info.txt" For Append As #1
Print #1, "" 'we have to put something into the buddy list
'so well put nothing ;)
Close #1
MkDir App.Path & "\users\" & Splice(2)
Open App.Path & "\users\" & Splice(2) & "\ipreglog.log" For Append As #1
Print #1, inip
Close #1
你知道我對這個問題的回答也是你之前非常類似的問題之一。 – jac
在調試模式下遍歷您的代碼,並確切地指出哪一行代碼會出現錯誤。 – jac
@Baaner在這一行MkDir App.Path&「\ users \」&Splice(2) –