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

Copying access objects using .net

Bob
How do I program vb.net to copy a query or table from one MS Access database
to another?

I'd like to accomplish what import does when it copies Access objects
(primarily queries but some tables) from another database into the database
where the import action is selected---EXCEPT that I'd like to do this
externally with a VB.net program.
--
Thanks, Bob
Nov 22 '05 #1
2 2521
Hi Bob,

In order to copy a query or table from one MS access database to another, I
would request you to please go through the following site :
http://support.microsoft.com/default...b;en-us;298174

This site contains the code in order to accomplish the requirement and uses
the Data Access Objects (DAO) to import all objects from one microsoft
database into the current access database.

Hope tis helps.

Regards,
Mona [Grpaecity]

"Bob" <Bo*@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com...
How do I program vb.net to copy a query or table from one MS Access database to another?

I'd like to accomplish what import does when it copies Access objects
(primarily queries but some tables) from another database into the database where the import action is selected---EXCEPT that I'd like to do this
externally with a VB.net program.
--
Thanks, Bob

Nov 22 '05 #2
Bob
Mona, thank you for your reply.

I have 11 users, each in a different location. I have a vb.net app which is
used by each user to modify his/her respective Access data base.

Each time a user installs the latest version/release of the app, he/she gets
an updated vb.net program, an updated xml report file, and an updated test
database.

The test database contains new queries that are used by new reports.

My problem is to get these new queries into the respective production
databases by having the user click on a button to do so.

So I'm relegated to doing this using vb.net and not by using Access .

Any suggestions?

--
Thanks, Bob
"Mona" wrote:
Hi Bob,

In order to copy a query or table from one MS access database to another, I
would request you to please go through the following site :
http://support.microsoft.com/default...b;en-us;298174

This site contains the code in order to accomplish the requirement and uses
the Data Access Objects (DAO) to import all objects from one microsoft
database into the current access database.

Hope tis helps.

Regards,
Mona [Grpaecity]

"Bob" <Bo*@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com...
How do I program vb.net to copy a query or table from one MS Access

database
to another?

I'd like to accomplish what import does when it copies Access objects
(primarily queries but some tables) from another database into the

database
where the import action is selected---EXCEPT that I'd like to do this
externally with a VB.net program.
--
Thanks, Bob


Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
13
by: franky.backeljauw | last post by:
Hello, following my question on "std::copy versus pointer copy versus member copy", I had some doubts on the function memcpy, as was used by tom_usenet in his reply. - Is this a c++ standard...
0
by: Bob | last post by:
How can I copy query objects from one MS Access database to another using VB.net. Both databases are on the same computer. As I create a report using vb.net, I create and reference queries in a...
0
by: Bob | last post by:
How do I program vb.net to copy a query or table from one MS Access database to another? I'd like to accomplish what import does when it copies Access objects (primarily queries but some tables)...
9
by: Raposa Velha | last post by:
Any of you ever catch this bug: I made a form and decided to copy it. Then I modified the cloned form. Then I run it and access start saying "Error accessing file. Network connection may have been...
10
by: Xavier Noria | last post by:
Given two structures of the same size but different type, does C99 guarantee that pointers to them can be casted one to each other, and that the order of the elements will be kind of respected? ...
11
by: truckaxle | last post by:
I am trying to pass a slice from a larger 2-dimensional array to a function that will work on a smaller region of the array space. The code below is a distillation of what I am trying to...
6
by: solex | last post by:
Hello, I am trying to use serialization to copy objects. The object in question "Institution" inherits from a parent object "Party" both are marked as <Serializable()>. Initially I can copy an...
9
by: Julian | last post by:
Hi, I have a vector defined like this: std::vector<Load*LoadList; which is populated with different objects of classes that are derived from 'Load'. I need to make a copy of this list during...
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: 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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.