2009-03-15, 19:46
billyad2000 Wrote:I have absolutely no idea what is causing this.
The following is the code that is raising this message and exiting the program :
Code:Public applicationdatapath As String = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\Media Companion\"
Dim f As New IO.DirectoryInfo(applicationdatapath)
If Not f.Exists Then
Try
Directory.CreateDirectory(applicationdatapath)
Catch ex As Exception
MsgBox(ex.Message.ToString)
End
End Try
End If
I can't see why you are having an issue with this, for some reason the Directory.CreateDirectory(applicationdatapath) is failing and raising the exception and I don't know why, it has to be some kind of permissions problem
I have the same problem on two different installs. I just add the folder and it works great