Runtime error '75' Path/File Access Error
Runtime error '75' Path/File Access Error
(OP)
Hi there,
Does anybody know why I keep getting this error? I try to create a text file from this vb program and it keeps giving me this error Runtime error '75' Path/File Access error. The path/File is pointed to my C: drive and I have full access to it.
Thanks,
Does anybody know why I keep getting this error? I try to create a text file from this vb program and it keeps giving me this error Runtime error '75' Path/File Access error. The path/File is pointed to my C: drive and I have full access to it.
Thanks,





RE: Runtime error '75' Path/File Access Error
RE: Runtime error '75' Path/File Access Error
Const ELECTION2007DIR As String = "\Election2007\" ' Local directory for exported documents
Const DATADIR As String = "ElectionData\" ' Election directory for data
Const PHONEINDIR As String = "PhoneIn\" ' Phone In data files directory
Const COMPLETEDIR As String = "Complete\"
Hi HandleMan,
Above is the path and below is where it got stuck trying to open to write to it.
Private Sub Create_RaceResultsFile()
Open RaceResultsStr For Output Access Write Lock Write As #RaceResultsNumberFile
Thanks,
RE: Runtime error '75' Path/File Access Error
CODE
Debug.Print "Filename = " & RaceResultsStr
Debug.Print "Filenumber = " & RaceResultsNumberFile
Open RaceResultsStr For Output Access Write Lock Write As #RaceResultsNumberFile
Good Luck
johnwm
________________________________________________________
To get the best from these forums read FAQ731-376: Eng-Tips.com Forum Policies before posting
Steam Engine enthusiasts
Steam Engine Prints
RE: Runtime error '75' Path/File Access Error