CoachBarker
Well-known member
- Joined
- Jul 26, 2007
- Messages
- 133
- Programming Experience
- 1-3
To create a folder I do this;
but it gives me the folder here
what I would is the folder to be created here
I assume there is a way to write the path that will access the current project and create the folder where Iwant it.
Any help?
Thanks
CoachBarker
VB.NET:
Private Sub btnCreateFolder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreateFolder.Click
Try
' check to see if the Folder for the entity class exists
' if it does not, create the folder
If Directory.Exists(SelectedDatabase & "\cls" & selectedTable) = False Then
Directory.CreateDirectory("C:\Documents and Settings\barker44\Desktop\EntityClassGenerator\EntityClassGenerator\EntityClasses")
End If
Catch ex As Exception
MessageBox.Show("Error in frmEntityCLassGenerator, btnCreateFolder: Create folder" & ex.Message)
End Try
End Sub
but it gives me the folder here
what I would is the folder to be created here
I assume there is a way to write the path that will access the current project and create the folder where Iwant it.
Any help?
Thanks
CoachBarker