473,405 Members | 2,300 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.

Utilizing Microsoft Access from C#

OK, I am trying to prototype a data import function, and the Data Import
Wizard from Microsoft Access is what we wanted to pattern our importer off of.

How do I get to this wizard inside the Access Data Model?

Thanks in advance,

Andrew S. Giles
Nov 17 '05 #1
2 1291
Thanks for the reply!

Sorry to be confusing, I will elaborate.

We are trying to import data into our application. It comes to us in more
formats than I can shake a forest at. Therefore we need some way to get them
read into a standard-ish form.

Looking about, Access has this great little wizard that allows the user to
pick what type of file they are working with, what datatypes things are, etc.

As this is a prototype of what I _want_ to do, I wanted to just plug in the
Access version until I could have my own version completed, so Management
could see where I am headed.

However, I cannot seem to find this in the COM-exposed Access library.

Right now I have it added as a reference, and can see it... but I want to
find this functionality, can have managed to miss it if it is there.

When I put "using Access" into the main app, the app no longer compiles,
stating that Application is ambiguous, so I know I will need to preface
everything with Access. in order to get to them.

Any ideas on where to look?

I have a flat text file in 3 columns that I am testing on.

Hope that helps explain things a bit more.

Andrew S. Giles

"Richard" wrote:
Not sure exactly what you are after here...

But if you are asking "How do I programmatically manipulate MS Access from
C#?" then the answer is to add a reference to the MS Access COM library to
your project and then you can fo anything that the COM interfaces will let
you do...

"Andrew S. Giles" wrote:
OK, I am trying to prototype a data import function, and the Data Import
Wizard from Microsoft Access is what we wanted to pattern our importer off of.

How do I get to this wizard inside the Access Data Model?

Thanks in advance,

Andrew S. Giles

Nov 17 '05 #2
Not sure exactly what you are after here...

But if you are asking "How do I programmatically manipulate MS Access from
C#?" then the answer is to add a reference to the MS Access COM library to
your project and then you can fo anything that the COM interfaces will let
you do...

"Andrew S. Giles" wrote:
OK, I am trying to prototype a data import function, and the Data Import
Wizard from Microsoft Access is what we wanted to pattern our importer off of.

How do I get to this wizard inside the Access Data Model?

Thanks in advance,

Andrew S. Giles

Nov 17 '05 #3

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

Similar topics

1
by: Glenn Venzke | last post by:
I'm trying to write/compile a class that (1) accesses all the intrinsic ASP.NET objects (2) Uses Server.Transfer to redirect a user back to a log in page if a session has expired. I've gotten...
5
by: TC | last post by:
Hello, Here is what I'm trying to do: -- Make sure both MS Excel and MS Word are running -- Create an Excel chart -- Save the Excel file -- Copy the Excel chart onto the clipboard using Ctrl...
27
by: Nak | last post by:
Hi there, I know this isn't 100% relevant in this newsgroup, but maybe someone knows the answer or knows where to point me in the right direction. I am making my appliction add an item to the...
0
by: RJN | last post by:
Hi Sorry for the repeated posting. This is about using ServiceConfig class for utilizing COM+ servcies. In my application architecture, the business logic classes talk to the data access...
3
by: kd8con | last post by:
Ok, I am writing an application in which - a user enters data into a field, then when leaving this field and going to the next field, I need to do a search on the access database for that data and...
0
by: Rob C | last post by:
I have several methods implemented in a webservice written in C#. The methods execute SQL against a SQL Server 2005 db and returns a Dataset (as XML). I am utilizing the webservice from a VC++...
8
by: Frank Rizzo | last post by:
I am trying to print huge images (much bigger than target paper). I try and use e.PageSettings.HardMarginX and e.PageSettings.HardMarginY in the PrintDocument's PrintPage event to try and...
0
by: Brad Johnson | last post by:
I have a C++ application that creates a collection of COM objects. I would like to give the Python interpreter access to these interfaces that were created in C++ land. Stated another way, how...
2
by: =?Utf-8?B?cHJhZHk=?= | last post by:
Hi, Is it possible for me to create new users without using the wizard? I am using a custom membership as i want to capture more data other than the ones which are available in the wizard. Is it...
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...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.