473,385 Members | 1,766 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,385 software developers and data experts.

application.startuppath

OuTCasT
374 256MB
i have a database in my bin/debug file of the application.

Can anyone help me with a connectionstring to the database ?

i have looked at [HTML]www.connectionstrings.com [/HTML] but to no avail.
Feb 6 '08 #1
4 1465
ck9663
2,878 Expert 2GB
i have a database in my bin/debug file of the application.

Can anyone help me with a connectionstring to the database ?

i have looked at [HTML]www.connectionstrings.com [/HTML] but to no avail.

what db? what are you trying to do? what kind of app are trying to connect?

-- ck
Feb 6 '08 #2
OuTCasT
374 256MB
what db? what are you trying to do? what kind of app are trying to connect?

-- ck

Hi.
A windows app, i went on to www.connectionstrings.com like you said i must on one of ur post replies but there is no connection string to an Sql database that is inside your bin/debug folder of your application.

I am going to deploy the app but need the application to work independantly of SQL EXPRESS, read/write data to sql db inside the applications folders....which will be the application.startuppath.
Feb 7 '08 #3
ck9663
2,878 Expert 2GB
am not sure about sql express. but if it works the same way as the developer and enterprise version, you don't connect to it by pointing the the file itself....you have to connect it through it's network protocol...

read here

-- ck
Feb 7 '08 #4
jamesd0142
469 256MB
http://www.startvbdotnet.com/extras/deploy.aspx
Feb 8 '08 #5

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

Similar topics

5
by: Robert Magnusson | last post by:
Hi All, This is sure to be an easy question. I am wondering what the accepted standard is for referencing a sub-folder below the application.exe folder? In VB6 you simply used App.Path and...
5
by: Eranga | last post by:
In c# windows applicatiopns the Application.StartupPath can be used to find the path for the executable file. How can the same be found for a console application?(we can't use application because...
8
by: jcrouse | last post by:
I am trying to run a command from a command prompt using the shell command. Here is the syntax I want to execute: Shell(lblMameExePath.Text & " -listinfo >" & Application.StartupPath &...
2
by: Ron | last post by:
Hello, I would like to retrieve the startupPath from a console application. It appears that a console application does not recognize Application, so I can't access StartupPath. Is there a way...
1
by: Sean | last post by:
Hi I created a VB.NET console app. I try to use the Application.StartupPath() but got an error: Name 'Application' is not declared. Any idea? Thanks. Sean
3
by: hayworth | last post by:
I had some code to build the name of a file: ' Build the name of the XML config file. g_strFiles.strConfig = My.Computer.FileSystem.CombinePath(Application.StartupPath, "\Settings\Config...
2
by: al jones | last post by:
There is no installation for the program I wrote, one just copies the files to some directory and runs it from there, I have both a working program and help file (.chm). From within the IDE...
0
by: =?Utf-8?B?Sm9iIExvdA==?= | last post by:
I am using BulkLoad from .NET application as follows SQLXMLBULKLOADLib.SQLXMLBulkLoad4Class obj = new SQLXMLBULKLOADLib.SQLXMLBulkLoad4Class(); obj.ConnectionString =...
5
getgagan
by: getgagan | last post by:
how to find Main folder where bin folder exists using application.startuppath in c# IF application.startuppath=D:\Test\ThreadExample\DnsLookup\DnsLookup\bin\Debug Then i need to find the...
0
by: =?Utf-8?B?U2hlbGRvbg==?= | last post by:
Hello - I am trying to access a Crystal Report. VS 2008 automatically creates the report in the same directory as the forms. When attempting to use Application.StartupPath, it takes me to the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.