Solved

Is there any solution to make Access database project as a standalone executable program?

Posted on 2011-02-23
10
17 Views
Last Modified: 2016-05-15
I need to make my program stand alone and able to communicate with access?
How do i make a program stand alone?
is there a special way to make sure it can stand alone and still connect with access,
0
Comment
Question by:crewcross
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 1

Expert Comment

by:bloxsome
ID: 34963793
first Save a copy of your mdb file in another directory (Back up)
then Open Access with no db, Choose Convert to MDE and select the database you want to use. This should create an executable MDE file. It will only display forms and reports. I am not sure if it will reconnect up without doing something special. You might need to modify something i am not aware of. Hope some of this might help.
0
 
LVL 77

Expert Comment

by:peter57r
ID: 34963846
There is no facility to convert and Access database into an .exe file.

However I don't really understand what you are trying do.
And definitely don't know what you mean by..
"it can stand alone and still connect with access,"

If you can explain what you trying to achieve, it might be possible to suggest an approach, such as using the Access runtime program.  
0
 
LVL 57
ID: 34965798

 Is your user interface writen in Access or something else and your simply using JET as a datastore?

JimD.
0
 

Author Comment

by:crewcross
ID: 34966868
Can a program communicate with access if its stand alone and no longer associated with visual studio?

user interface is in visual studio written using vb. program will be stand alone i.e. not used in visual studio, user will only interface with the program.

the goal of the program is to generate data and send data to access / get data from access manipulate it, add more data and send it back to access.

its a statistical program with all calculations being done using vb.

0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:crewcross
ID: 34967020
i get that you can make access an mdb file and use the database, i want to know how to communicate back and forth with access, (user has to have access) with the stand alone program.

can u setup a connection with linq to access?
0
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 250 total points
ID: 34968178
So does your question boil down to 'how do i connect to an access database from vb.net?'
If so then enter
'connect to access from vb.net'
in the search box at the top right of the EE screen and you will get hundreds of examples.

If you are only using an mdb for your data store and there is no Access UI involved, then you don't need a copy of Access anywhere for this connection.
If the database structure is being maintained by an Access user then obviously they will need a Access on their machine to do that.
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 34969702
<<Can a program communicate with access if its stand alone and no longer associated with visual studio?

user interface is in visual studio written using vb. program will be stand alone i.e. not used in visual studio, user will only interface with the program.>>

  "Access" is really composed of three parts:

1. A User Interface for working with Access specific objects, such as forms and reports, and that works with a database engine, which by default is JET.

2. Coding language - VBA

3. A database engine; which by default is JET.

  Based on your description, your simply using JET to store data.  That being the case, there is no need to talk about "Access".  JET can be used independently of Access.  The only reason you would need to use Access itself is if you wanted to use Access specific objects, such as a report.  You can do that through OLE automation.  

<<the goal of the program is to generate data and send data to access / get data from access manipulate it, add more data and send it back to access.

its a statistical program with all calculations being done using vb.>>

  Then no need for Access.  Your simply using JET to store data.

  Be aware that JET has a 2GB limit per DB.  You can work around that to some extent (by putting one table in each DB), but if your DB will be larger then 2GB, I would suggest using SQL server as a datastore.

JimD.
0
 

Author Comment

by:crewcross
ID: 34975501
im getting the big picture better now thank you, the user will have access on their computer and the stand alone program should be able to connect to Access* and access the data, manipulate and send it back.

will data connections with access written in vb still work wiith access when it becomes stand alone.
0
 
LVL 77

Expert Comment

by:peter57r
ID: 34977659
Yes
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now