Deployment :: Deploying A Application And Creating An Access Database

Mar 25, 2009

I have to deploy my VB.NET application, and create a new access database with 5 tables, some filled in with values on installation in a specified folder in the C: drive which also needs to be created. I have found using google havent seemed to work for me. I am using Visual Basic 2008 Express Edition, so maybe I need to use a proper copy of Visual Studio 2008 to do this.

So basically I am looking for a way to create a .exe file that will be used to install my program on a user's computer, and create a folder and database with some values on instalation. Could anyone tell me how I can do this or point me in the right direction? EDIT - Also would you be able to answer this question for me. Will the computer that the program will be installed on require visual studio or any other software to run my program?

View 3 Replies


ADVERTISEMENT

Deploying VB 2010 App With Access Database?

Jan 9, 2012

I've tested an application (one that I'm developing) that utilizes MS Access database (.accdb) on a backup machine. And I consistently get an unhandled exception error saying 'The Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. I suppose I get this error because the backup machine doesn't have a driver or whatever to read the Access database file. Reading

this topic titled "How to deploy VB 2010 application as a standalone without MS Access", I understand that I can just specify a prerequisite for this component (driver or whatever...) in the project designer window in reference to this page. I wonder if there is a simpler way of delivering the database component to users? Or should I abandon the Access database and use a different one for easier accessibility?

View 5 Replies

Creating A Simple Application As An Example That Is To Link To A Access 2007 Database

Mar 12, 2010

So i'm creating a simple application as an example that is to link to a Access 2007 database.

On my main form i have four listboxes that are correctly attached to the table, I have one for First Name, Last Name, Phone, and School. I added 3 records to the database in Access to see if I could display the records in the listboxes on the form. I found that it was very easy by setting the properties and I have no problem there. I also have a command button that loads a new form for the purpose of adding a record to the database.

Here is my main form (frmMain.vb)...

CODE:

And Here is the code for the form...

CODE:

What i'm looking for is when the user presses the Add button on the frmAddNew form then it needs to close and the new record is listed in the textboxes and saved to the database. Id also like to know all kinds of things i might be able to do with textboxes and databases because i'm trying to learn for a larger project where i'll need to keep track of hundreds of records.

I understand that this is a simple procedure, but i've been spending all night scouring tutorials and getting lost in the msdn library online, so maybe some human input will be better.

View 1 Replies

Deploying Windows Form Application With Database?

Jun 6, 2011

I am about to finish an application for a client. Now I'm having hard time deploying it since I really don't know how to do it.How do I deploy a windows form application with database?I've already downloaded the prerequisites redistributables. I also want those to be included in the installer.

View 1 Replies

Deploying An Application Express 2010 With A Sql Server 2008 R2 Database?

Apr 10, 2012

I have recently developed a back end database in SQL server 2008 R2 and attached it to a application in VB express 2010.Everything works fine and when i publish the application, it works fine on my machine, but once i try to setup up the application on another machine i get the error message: A network related or instance specific error occurred while establishing a connection to SQL Server. Server was not found or not accessible please verify the instance name is correct or allow remote connections.I have read numerous forums on this saying about changing the connection string and instance name.but with being novice i dont understand what needs to be changed etc.The sql server allows remote connections, but i am unsure what else needs changing to allow the application to work with the database on another machine.

View 5 Replies

Process Of Creating A Setup And Deployment Project For Windows Application?

Jun 22, 2010

Step-by-Step Process of Creating a Setup and Deployment Project for windows application

View 2 Replies

Unable To Access Database On Deployment?

Apr 24, 2012

I have created a program to log company and programming information for a radio station, on the test machine it works perfectly when deployed the program cannot read from the database. It creates it fine and can write to it without complaint but when opening the program which is supposed to read information from the database the program crashes, if i ask it to continue then it will bring up the form but nothing which is supposed to be populated by access to the database is populated.ed onto the deployment machine and this does not solve the problem.

this is code relating to the issue:frmMain:
' == frmMain_Load ==
' ==================

[code]....

View 6 Replies

IDE :: Access Rights To SQL Express Database With Deployment?

Jun 16, 2011

I developed a windows application that uses a SQL Express database. I created a Setup project as well. When I install the application, the database is deployed with read only rights causing errors in the program. Of course, I manually change the rights to Full Control and the application works great. How do I get the database to deploy with Full Control?

View 11 Replies

VS 2010 Express Database Application Deployment?

Sep 28, 2011

I've developed a database application in VB.Net Express 2010 and am having difficulty deploying it. The only deployment method available to me using the Express version is OneClick deployment. I can't figure out how to include the Access database file in the package.

View 2 Replies

VS 2008 Synchronice Database In ClickOnce Deployment Application?

Aug 24, 2011

My application/project has an Access Database as its Project DataSource. I have a DataSet Designer (.xsd), with many TableAdapters, some of which I've created via the Designer. I have 2-10 users/foreman on any given workday, with their own Netbook and my ClickOnce Application.Users will add/edit/delete records in each of their own versions of the App/DataBase, XML files, representing changes, are created and upload to an ftp server.The corner I've painted myself into:When my Project Manager downloads these XML files using his own version of the application, analyzes each reported item, confirms and updates his version what is the best way to propagate those updates back to each user without having to update the project db and publish again?

View 4 Replies

Running Access - Application That Has An Ms Access 2007 DataBase Which Runns Great If Access Is Installed

Oct 15, 2011

I have an application that has an Ms Access 2007 DataBase which runns great if access is installed. Is there any code that I can use in vb that I would be able to run access with out installing it.

View 5 Replies

Deploying Winforms Application To Client Machines Application Failing On Start?

Jul 2, 2009

Deploying Winforms Application to Client Machines Application Failing on start

View 8 Replies

Deploying .net With Access?

Feb 10, 2012

i would like some advice on how I would go about deploying my application I coded with vb.net and access.The problem I have been facing is that I cannot install it on another machine . It gives me an error saying that It cannot find the database in C:\Users\Weighbridge2\AppData\Local\Apps\2.0\Data\. database.accdb when you install access runtime and access runtime sp1 and copy the database to that location then it works.Is there a more efficient way of going about this. I suspect it has something to do with the refferences and prerequisites but up to now i've tried almost all we know .

View 1 Replies

Deploying .Net With Ms Access?

Jun 6, 2011

I have designed a simple form in vb.net with MsAccess as the backend .The form is used to search for a data and diplay it.I need to create an .exe file of it and distribute it to many users without any errors .I have surfed a lot in search of deploying such applications but ended up nowhere . deploying my application(VB.NET with MSAccess) by detailing me all aspects of deployment ?

View 6 Replies

DB/Reporting :: Creating A Database Without Need Of MS Access

Aug 2, 2009

I'm trying to create a database driven application using VS 2008. I want my database to be generic, i.e it shouldn't rely on the existence of MS Access or similar application. So how do I create such a database, add tables , values..etc?

View 7 Replies

Deploying .NET Windows App That Contains Access DB?

Jul 21, 2011

I built this vb.net windows application that uses an Access DB for data storage and it works fine in visual studio. The problem is, when I deploy, install it from an MSI, i get this error: (see below)If I right click on it and run this program as administrator, it works fine. I thought it was a permissions problem so I gave user, administrator and system full rights to all the files in the directory. But I still get the error.Isn't giving all the files in the program directory full rights the same as making it run as admin?

[code]...

View 5 Replies

Connect To Database Using Access Or Sql After Creating Login?

Aug 16, 2010

creating my login how can i connect to database using access or sql or any other data source

View 1 Replies

VS 2010 Creating A Access Database With Vb Code?

Jan 8, 2012

The following code creates a database ok. The issue I'm having is how to set the ID column to a Primary Key and AutoNumber. I have goggled it but haven't found anything that worked.

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Try

[Code]....

View 3 Replies

Deploying Application On Other PC?

May 31, 2010

I have made a Database application using SQL Server 2005 and Visual Basic (V Studion 2005). The problem is: the SQL server name on my PC is different from the name on my brother's PC.....i want to run the application in his PC......however, all database adapters, objects i have used are linked to my SQL server...hw can i run my application on my brother's PC, with minimum changes and effort?

View 4 Replies

Project Using VB And A Database In Access - Check If My Application Requires Access To Be Installed Or Not?

Feb 16, 2012

I'm using VS 2010, and I did a project using VB and a database in Access. The problem is that when I try to put that "application" on other computers, sometimes, is not working. I thought it can be because on these computers they don't have access, but on one computer, is running another app which is using Access and there is no Access installed. How can I check if my application requires Access to be installed or not?

Here is a example of how I did the connection:

Public AccessOLEDBConnString= "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & myfullpath & ";Jet OLEDB:Database Password=password"

Function getConnection() As OleDb.OleDbConnection

[CODE]...

And when I want to have access at the data I'm doing like this:

dim conn as Oledb.OledbConnection

dim sql as string

dim ds as Dataset

[CODE]...

View 9 Replies

Try And Catch - Creating A Database Using Access 2007 And VB 2008

Jul 6, 2011

I'm creating a database using Access 2007 and Visual Basic 2008.

I'm using the try and catch exception handler in my project. this try and catch are inserted in the Save Record button. here is the code snippet of my try & catch:

CODE:

My problem is that, whenever i add a new record and clicked the Save Record button, the msgbox "Data Update Failed" popped out. But when i recheck, the newly added record was actually successfully saved in the database.

Is there something wrong with my code? The new record is inserted in the database but why does the "Data Update Failed" msgbox was popped out instead of the "Data Saved" msgbox?? I've tried many times but i still cant figure this out. please help.

View 4 Replies

Packaging And Deploying Application

Jan 24, 2010

I have prepared an application which uses SQL Server 2005 Express Edition as its database and Reports using Crystal Reports which comes integrated with VB .net 2008.I am able to package and deploy my application alone. To the system where I am going to install doesnot have SQL Server or Crystal report runtime files.I want to include the same in my package so that it gets installed and followed by my application.I have chosen install application from the same location and tried to package it. It doesn't work.Please suggest me steps so that I can have the required softwares packaged with my application so that the user when he installs, it installs at one go.

View 5 Replies

VS 2008 Deploying An Application To Another PC

Mar 12, 2010

I have used 2008 and click once to setup a deploy to a network area...however I have been asked to do a wee program for a friend.How would I create a setup file to give to them on a CD/ pendrive etc??

View 1 Replies

Way Of Deploying An Application To Use .net2 Instead Of 3?

Nov 26, 2009

I have deployed my app no problem on my laptop that has .net3. I want to distribute my app to office xp nodes. This there a way of deploying an application to use .net2 instead of 3?

View 5 Replies

DB/Reporting :: Error Record Too Large While Creating Access Database?

Feb 8, 2009

use the following code to create a database in ms access

Code:
'reference: Microsoft ActiveX Data Objects 2.8 Library
'reference: Microsoft ADO Ext. 2.8 for DDL and Security

[code].....

View 1 Replies

Microsoft Access Database Engine - Failure Creating File?

Jul 12, 2010

I've installed the Microsoft Access Database Engine in order for an app to read and update and Excel file using OLEDB on a 64bit operating system. It all still works fine on 32 bit however i get a "Failure Creating File" error on a 64 bit machine.I'm using the following connectionstring(VB.Net) as per [URL]:

lstrConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C: empexcelfile.xlsx;Extended Properties=""Excel 12.0;HDR=YES"";"

View 1 Replies

Creating Simple Desktop Database Application?

May 31, 2010

I am here to write a small database application that will be running in desktop (offline mode).I am using MSAccess 2007 as my database file and trying to write code in vb.net.I used to write the code vb6 an usually had global variables for storing database connection and executing every query from that.I am trying to upgrade myself from vb6 to vb.net.do i need to read some more simple starter books also?

View 3 Replies

VS 2005 Creating Pocket Pc Database Application

Jan 6, 2011

i am creating an ppc application

I need to create an Order Entry System, which enables the sales executive to take order from the customers and feed them into there phones, and at the end of the day those phones will be connected to the desktop pc and all the orders should be synchronized with the desktop application.

DataBase part, i.e what should i use to save the data in the phone (i.e xml, db or anything else) and how should i synchronize it with the desktop software

View 7 Replies

Deploying Crystal Reports - Adding Crystal Reports To The Setup And Deployment

Jun 21, 2010

I am working on VB.NET(Visual studio 2008)..I completed developing my application and i need to deploy the application. I tried it and faced problems in some areas like adding crystal reports to the setup and deployment. I created a setup file to my application and everything is fine except crystal reports...its showing the error like; An error occurred in crystalDecisions.Reports, crystalEngine threw exception.

View 2 Replies

VS 2010 Deploying A .NET Application With A Font?

Aug 5, 2011

Im wondering if anyone would be able to point me to a very well detailed tutorial as to how to Embed a font into my deployed application , So when its installed on an end user,s computer, they can see the font.

I currently have this code and have embedded the font.ttf into the resource under the files option.

newPDF.addTrueTypeFont("..
esources" & fontName & ".ttf", fontName)

View 11 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved