Hi
I'm trying to deploy my application but got stuck with this problem.
In my program I need to use a file that I put it in my project folder.
Here's a bit of code
Dim init_dir As String = Application.Sta rtupPath
xsltFile = init_dir & "\DrawingStyleS heet.xsl"
This works fine as long as I run on my own computer, but when I publish the whole project and install on other machine it will prompt error says that it could not find that file.
My question is
How can I attach a file with my application when I publish it?
Many thanks,
Ted
I'm trying to deploy my application but got stuck with this problem.
In my program I need to use a file that I put it in my project folder.
Here's a bit of code
Dim init_dir As String = Application.Sta rtupPath
xsltFile = init_dir & "\DrawingStyleS heet.xsl"
This works fine as long as I run on my own computer, but when I publish the whole project and install on other machine it will prompt error says that it could not find that file.
My question is
How can I attach a file with my application when I publish it?
Many thanks,
Ted
Comment