Hi
In VB.Net you have either
Dim lPath As String = Application.ExecutablePath
Which gives you the full path and app.name (which you can remove) or
Dim lPath As String = Application.StartupPath
Which gives you the directory the application started up in ..
Not sure I know the answer to the clickonce question, as we use our own deployment method at work but if you :-
- Add your file via Project Explorer
- Right click on file, select properties and set Build Action to "content"
- Go to Project, yourprojectnameProperties, then Publish tab, then
Application Files button
- you should see the file listed there then set to Include(auto).
.... or copy and paste them using internet explorer into the project explorer