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

Problem with Access DB when moving VB .Net Project

Ok, here is the quick rundown:

I've created a VB program in VS .Net 2003 (and also VS 2005), with .NET framework 2.0, that works with a database created in Access 2007. This program was created on the Development workstation at my house, but I need to install the program into the network at work. I know that if I move the program's project folder, I can simply reconfigure the DataAdapter to point to the new path where the database is, but I won't be able to do that all the time (as the program must be implemented into 3 other branches in 3 different states.

So, my question is this:

Is there any way to create a installation file that will place the database in a pre-specified folder that will be created during installation and integrate the path into the data adapter and have it work no matter where it is installed? Even if the drive letter is different?

The requirement is that the IT guys should simply run the setup file and the rest is done for them. Is there any way to do this?

There are no errors in the code and the program works as it should on my machine, so basically what I need is advise on creating the setup file to work on any machine, the network implementation is not something I will have to do.
Mar 5 '07 #1
2 1222
kenobewan
4,871 Expert 4TB
Are you using Visual Studio? You can create a setup project that results in an exe. Haven't checked it out, but as VS 2005 has better integration with SQL you may be able to do something with that but I'd be surprised if you could do everything you want like this.
Mar 6 '07 #2
Are you using Visual Studio? You can create a setup project that results in an exe. Haven't checked it out, but as VS 2005 has better integration with SQL you may be able to do something with that but I'd be surprised if you could do everything you want like this.
Yes, I am using Visual Studio .Net 2003, but I haven't actually played around with the setup project very much, because I have never done it. The problem I know that I will have, even with an installation is the Data Adapter configuration and the path pointing to the Access database. The program runs on one machine, but I do not know if there is a way to configure the data adapter during the installation process, so that it points to the new location of the Access database. :(

I'm pretty lost when it gets more complex than what I have done, thus far, with my program. I have only about 9 months worth of experience when it comes to programming with visual studio, so I haven't expolored all that can be done with it and how.
Mar 6 '07 #3

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

Similar topics

2
by: Jay Moore | last post by:
If any of you happened to read my earlier posts, I had a dilemma with creating an efficient method of limiting access to data for my users and subusers. My heirarchy looks like this: Admins...
0
by: JP | last post by:
Is there a way to acess .NEt web projects though UNC path (aka network path)? Heres the situation: 1. Dont want to use FP Extentions 2. Can get a web project to open using //IP of server/site...
3
by: babak | last post by:
Hi I am running a project in eVC 4.0 and I have been running into a bug that only appears in the release build of the project. I eventually found out that when I had the compiler option /Od set...
3
by: John Morgan | last post by:
I am using Visual Studio with code behind to build files within an application. The name of the project is bsecsSql. Everything works fine on the local computer when I use 'copy project' to copy...
22
by: Deano | last post by:
Hi, I have a finished Microsoft Access app that we are distributing using an Access runtime. This works fine (mostly) but I'm sold on the advantages of dot.NET and upgrading to vb.NET seems...
70
by: lgbjr | last post by:
Hello All, I've been developing a VB.NET app that requires the use of a DB. Up to now, I've been using Access. It's a bit slow, but everything works. I'm at a point now where I need to decide if...
5
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all...
4
by: dorpnospam | last post by:
We have an old but very critical application that was written in VB 6 against Access 95 dbs. We need to ditch this decrepit old unstable db platform but we are trying to determine the best...
12
by: Julian | last post by:
Hi, I am having problems with a function that I have been using in my program to read sentences from a 'command file' and parse them into commands. the surprising thing is that the program works...
3
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I cut and paste the following code from msdn help page which it just introduces view and multiview server controls. Here is what I do: in vs studio 2005, File --New Web Site, it...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.