473,513 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access97 mdb creation from VB.NET

Hello - I'm trying to create an ACCESS97 database MDB as well as tables w/in
the db all programatically from VB.NET -- is this possible? I've seen
examples for creating Access2000 database using interop w/ "Microsoft ADO
Ext. 2.7 for DDL and Security" BUT I cannot seem to open w/ Access07, is
there another approach I can use?

Any thoughts?

Thanks in advance.
Cheers!

Jul 21 '05 #1
4 3159
I've heard of something called ADOX that can create the db and tables. From
there ADO.NET allows you to modify the db.

"NullRef" <Nu*****@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
Hello - I'm trying to create an ACCESS97 database MDB as well as tables
w/in
the db all programatically from VB.NET -- is this possible? I've seen
examples for creating Access2000 database using interop w/ "Microsoft ADO
Ext. 2.7 for DDL and Security" BUT I cannot seem to open w/ Access07, is
there another approach I can use?

Any thoughts?

Thanks in advance.
Cheers!

Jul 21 '05 #2
On Tue, 19 Oct 2004 13:17:01 -0700, "NullRef" <Nu*****@discussions.microsoft.com> wrote:

¤ Hello - I'm trying to create an ACCESS97 database MDB as well as tables w/in
¤ the db all programatically from VB.NET -- is this possible? I've seen
¤ examples for creating Access2000 database using interop w/ "Microsoft ADO
¤ Ext. 2.7 for DDL and Security" BUT I cannot seem to open w/ Access07, is
¤ there another approach I can use?
¤
¤ Any thoughts?

You need to specify the correct database engine type (Jet OLEDB:Engine Type). The value should be 4
for an Access 95/97 database.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #3
Are you referring to the OLEDB version (as in
Provider=Microsoft.JET.OLEDB.4.0)?

If so, I was always under the impression that for Access 95/97 the correct
version was 3.51 (although 4.0 will work) and for Access 2000 or higher it
was 4.0.


"Paul Clement" <Us***********************@swspectrum.com> wrote in message
news:b4********************************@4ax.com...
On Tue, 19 Oct 2004 13:17:01 -0700, "NullRef"
<Nu*****@discussions.microsoft.com> wrote:

¤ Hello - I'm trying to create an ACCESS97 database MDB as well as tables
w/in
¤ the db all programatically from VB.NET -- is this possible? I've seen
¤ examples for creating Access2000 database using interop w/ "Microsoft
ADO
¤ Ext. 2.7 for DDL and Security" BUT I cannot seem to open w/ Access07,
is
¤ there another approach I can use?
¤
¤ Any thoughts?

You need to specify the correct database engine type (Jet OLEDB:Engine
Type). The value should be 4
for an Access 95/97 database.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)

Jul 21 '05 #4
On Wed, 20 Oct 2004 17:10:26 -0500, "Scott M." <No****@NoSpam.com> wrote:

¤ Are you referring to the OLEDB version (as in
¤ Provider=Microsoft.JET.OLEDB.4.0)?
¤
¤ If so, I was always under the impression that for Access 95/97 the correct
¤ version was 3.51 (although 4.0 will work) and for Access 2000 or higher it
¤ was 4.0.
¤

No I was referring to the Engine Type parameter and not the Provider.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #5

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

Similar topics

5
4053
by: Chris Dugan | last post by:
Hi, has anybody come across a solution to running an Access97 database on Windows XP. The situation I have is an Access 97 database that runs perfectly from Win95/98 clients running Access97, the...
1
2625
by: Mario Crevits | last post by:
My name is Mario Crevits, I'm from Belgium (Roeselare) and I'm working with Access97 for several years now. We are in an Access97-2000 migration project. I'm writing a wizard for the end-users to...
0
1313
by: Bob Hynes | last post by:
Hi All, In one of my Access97 db applications I created a report which I output to a RichTextFormat file attach it to an Email and send it out, that has worked just fine for a couple of years now....
1
1416
by: George | last post by:
I have an application in Access97 which operates very normal on pc's with Win98 S.E. as an operating system.When I install the same application on a PC wich runs Windows 2000 Server (and...
4
254
by: NullRef | last post by:
Hello - I'm trying to create an ACCESS97 database MDB as well as tables w/in the db all programatically from VB.NET -- is this possible? I've seen examples for creating Access2000 database using...
10
2676
by: lesperancer | last post by:
you start with a small application in access97, then you have more modules and more... and you reach the point where tables like 'item' and 'employee' reach the limit and you know there's more...
1
1829
by: IamKJVonly | last post by:
I have office 97 which includes access97 and have built many access97 databases and use VB4 as the front end. I have just gotten a new computer which has 1 gig of memory on it and when I try to...
1
1944
by: lesperancer | last post by:
currently using access97 to link to sql7 tables sql7 is running on NT4 and terminal server 2000 in the process of upgrading hardware and software to latest stable versions citrix - windows 2003...
3
1943
by: Ramchandar | last post by:
Hi, I am creating reports using VBA code. I have the same query in a querydef residing both in Access97 and Access2003. The result of this querydef is then moved to a table in Access97 and...
0
7162
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
7384
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
7539
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...
1
7101
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
7527
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
5686
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,...
1
5090
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...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.