By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,621 Members | 1,087 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,621 IT Pros & Developers. It's quick & easy.

Problem with Deployment. Pls help

P: 3
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.StartupPath
xsltFile = init_dir & "\DrawingStyleSheet.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
Mar 21 '07 #1
Share this Question
Share on Google+
2 Replies


P: 3
I tried to add the xslt file to the project by doing this:

Add new >component..>xsltFile

and I set the property to be Embeded Resource.

However, the problem's still occurred..
Mar 21 '07 #2

100+
P: 149
I tried to add the xslt file to the project by doing this:

Add new >component..>xsltFile

and I set the property to be Embeded Resource.

However, the problem's still occurred..
You can use any installer softwares like Wise Installer , Ghost installer etc to create an installer for your application and have that xls file included

thanks
ansuman
Mar 21 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.