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

Duplicate a table in VB Command, Creat exe From a project

I have created an access project. I want to sell it in CD as exe file. I also want to be sure that no one can copy or modify the project.
I want to Creat a copy of an existing table by clicing a command in form, So that the original table does not altered.
May 24 '07 #1
1 1579
missinglinq
3,532 Expert 2GB
You cannot make an .exe file from an Access database! With the purchase of (fairly costly) additional software from Micro$oft, you can make a version that runs on a computer that does not have Access installed. The exact name of this additional software varies, depending on which version of Access you have. But if your main concern is preventing someone from stealing the work you've done on your database, what you can do is create an .MDE version of it. An .MDE version of a database cannot be changed, altered or modified in any way, by the end user or by you! And hence the next paragraph!

First off, make a backup copy of your original database! Put it someplace safe! Under your mattress, in your hip pocket, next to your dog's food bowl! If you lose your original .MDB file, you cannot make changes to your database!

Next, set up everything in your database exactly as you want it to appear to the end user. Go into the VBE (the code window behind one of your forms) and goto Debug -- Compile<YourDatabaseName> and click. Access will show you any mistakes you have so that you can correct them.

Once this is done goto Tools -- Database Utilities -- Make MDE file

This is the file you eill use for distribution. It cannot be altered in any way. Whatever capabilities the MDB file had when you made the MDE file will be the capabilities of the MDE.

Let us know if you have any problems/questions.

Good Luck!
May 24 '07 #2

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

Similar topics

1
by: monika | last post by:
hi... when I try to insert a duplicate record I get the primary key error. which is good. but I want to generate a user friendly error ... telling the user that u have got this error because u r...
11
by: Jean-Christian Imbeault | last post by:
I have a table with a primary field and a few other fields. What is the fastest way to do an insert into that table assuming that sometimes I might try to insert a record with a duplicate primary...
10
by: florian | last post by:
Hi, we have a contention problem because of an application which tries to insert a duplicate row in a table with primary key. This insert fails of course but the locks are not released within...
2
by: stranger | last post by:
My database is set up so people can input parts orders. Sometimes they order the same parts on a monthly basis. I want to be able to duplicate past parts orders and have it pasted in with a new...
4
by: Mark | last post by:
Hello, I'm trying to install an ASP.Net project using the command line (SDK tools & perhaps IIS Admin scripts?) Does anyone know of an automatic, command-line-driven way, to creat the ASP.Net...
12
by: Jared Carr | last post by:
First I wish I knew how this was caused but here is our problem. Sometime in the recent past we got a duplicate table. Here is the result of a pg_dump with a pg_restore for just that table. ...
4
by: FangQ | last post by:
hi I am very new to mysql. I have a question about using the "on duplicate update" clause with insert command. my table "data" has two columns, field1 and field2, where field1 is the index...
4
by: SJ | last post by:
Hi! I am trying to do a simple udpate on a table and I am getting the error: "Cannot insert duplicate key row in object 'UserInfo' with unique index 'UserInfo_Login'.The statement has been...
4
by: AXESMI59 | last post by:
have a project in which I am entering Serial Numbers and Date codes into a Combo box. Serial numbers are all different. However, they could each have the same Date Code. Each Serial Number has a...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.