Problem with Deployment. Pls help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tuckkieteddy
    New Member
    • Mar 2007
    • 3

    Problem with Deployment. Pls help

    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
  • tuckkieteddy
    New Member
    • Mar 2007
    • 3

    #2
    I tried to add the xslt file to the project by doing this:

    Add new >component..>xs ltFile

    and I set the property to be Embeded Resource.

    However, the problem's still occurred..

    Comment

    • ansumansahu
      New Member
      • Mar 2007
      • 149

      #3
      Originally posted by tuckkieteddy
      I tried to add the xslt file to the project by doing this:

      Add new >component..>xs ltFile

      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

      Comment

      Working...