473,402 Members | 2,046 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,402 software developers and data experts.

setup and depolyment project visual C#

Hello everyone,

Iam using visual c# 2008 and microsoft access 2007 as my database table(.aacdb). I have used connection string path as the application.startuppath+database name like below.
Expand|Select|Wrap|Line Numbers
  1. string str = "\\userinfo.accdb";
  2. datapath = Application.StartupPath + str;
  3.  
I only need the primary output(i mean in the program menu only the windows form application(.exe) alone, so what i did is the in the setup and deployment in user program menu i added only the primary output. at the point of running the application it look for the database in the program menu since it not there iam getting the error. how could i pack the application with the database file and only the application get installed in my program menu?.

thank you very much..

Dinesh.
Feb 12 '09 #1
2 1736
nukefusion
221 Expert 100+
You need to add the database and primary output to "Application Folder" under the file system tab and add just a shortcut to the primary output in "Application Folder" into the "Users Programs Menu" folder.
Feb 17 '09 #2
Thank you..Anyway i did the same changes before you replied here. It was working fine.
Feb 18 '09 #3

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

Similar topics

1
by: Lore Leuneog | last post by:
Hello. I want to embed the framework setup with my project setup. Does any body know where in the (Visual Studio .net) Setup-Project I can set the option to install the framework first? Thank...
4
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the...
0
by: Husam | last post by:
Hi EveryBody: I read the articl "using Visual Studio Net 2003 to redistrbuted the Net framework" which is in the msdn library and I applied every step in it to add the Net framework to the...
0
by: Husam | last post by:
Hi EveryBody: I read the articl "using Visual Studio Net 2003 to redistrbuted the Net framework" which is in the msdn library and I applied every step in it to add the Net framework to the...
2
by: A.Carter | last post by:
I am developing a windows application with Visual Studio 2003 using C#. The application is complete so naturally I went to create a setup package. I added a setup project to the solution and I went...
0
by: adeebraza | last post by:
My Dear, Salman1karim As you have finished your first project in vb6, MS Access 2003 and crystal reports 11 and you want to create setup file. You need Pdcmdln.EXE file to create setup program of...
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
2
by: Norman Diamond | last post by:
My C# code is I18N'ed by appropriately naming and editing .resx files. At execution time, it works. My C++ code is somewhat I18N'ed. When I put UI code in C++ I use .rc files. When I link to a...
1
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am reviewing Windows service programming. I'm running VS2005 and programming in VB. I've just found an example in Support: 'How to create a Setup project for a Windows Service in Visual Basic...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.