473,320 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.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
2 1004
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
ansumansahu
149 100+
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

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

Similar topics

0
by: Oleg | last post by:
HI, all. Sorry for posting to so many groups, but I really don't know in which group this question fits best. Anyways, here goes... I have a bunch of DTS packages that my client application...
12
by: SJD | last post by:
I've just read Christoph Schittko's article on XmlSerializer: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/trblshtxsd.asp . . . and very informative it is too....
2
by: John Miner | last post by:
When I set up a deployment project for a web application and execute the resulting .msi installer on the target web server, the installation wizard asks for a virtual directory target. I am...
0
by: Scanner2001 | last post by:
I have a web service and a deployment project. Inside the deployment project, is a custom action to create some database related items such as stored procedures. I have this packaged as an msi, and...
0
by: Frank Rizzo | last post by:
Hello, I've deployed a SmartClient/ClickOnce app to a web server. For whatever reason, for some users the application doesn't fully download. Instead the progress bar is stuck at 5 or 10%. After...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
11
by: Ron | last post by:
I have a web project compiled with the new "Web Deployment Projects" plugin for VS2005. I'm deploying the web project to one assembly and with updateable option set to ON. When I'm running the...
0
by: Bill Nguyen | last post by:
I have a VS app published on our Intranet using OneClick publishing. I can't run it on a Vista client PC. Please take a look at the error message below and let me know what I need to do to make...
4
by: John | last post by:
Hi I am publishing a vb.net app to a remote ftp/web site. This seems to go successfully. Once I try to install the app by using the url http://www.mydomain.com/publish.htm and pressing the Run...
0
by: superstar123 | last post by:
I'm working visual basic 6.0.Using vb 6 i create few projects.in that projects i used some activex control name("sstab and visual menuex") control.and its worked. but after installing vb 2005 (.net...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.