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

olebd namespace

Hi,

Using beta 2 VB 2005, can someone tell me what namespace i need to get
the oledb/ado package to connect to a JET 4 database?

Everywhere seems to say use:

Imports System.Data.Oledb

But I dont have a System.Data namespace, whats going on?
Thanks

Andrew
Nov 24 '05 #1
6 1291
well i would say reinstall VS.Net , and the framework ( preferable a non
beta version ) as it is sure there in my dev environment ( Imports
System.Data.OleDb )
something is teribly wrong on your system thats for sure

regards

Michel posseth


"Andrew Bullock" <an*********************@ANDntlworldTHIS.com> wrote in
message news:uS****************@newsfe7-gui.ntli.net...
Hi,

Using beta 2 VB 2005, can someone tell me what namespace i need to get the
oledb/ado package to connect to a JET 4 database?

Everywhere seems to say use:

Imports System.Data.Oledb

But I dont have a System.Data namespace, whats going on?
Thanks

Andrew

Nov 24 '05 #2
Hi,

"Andrew Bullock" <an*********************@ANDntlworldTHIS.com> wrote in
message news:uS****************@newsfe7-gui.ntli.net...
Hi,

Using beta 2 VB 2005, can someone tell me what namespace i need to get the
oledb/ado package to connect to a JET 4 database?

Everywhere seems to say use:

Imports System.Data.Oledb

But I dont have a System.Data namespace, whats going on?
Make sure your project has a reference to System.Data.dll, see solution
explorer: expand "References". If it hasn't then add it using
menu->Project->Add Reference.
HTH,
Greetings



Thanks

Andrew

Nov 24 '05 #3
Yes that is a good one this might solve his problem ,,, question then is
why isn`t it there standard ( as it should be ) is this a bug in the
beta version ?

regards

Michel

"Bart Mermuys" <bm*************@hotmail.com> wrote in message
news:O5**************@tk2msftngp13.phx.gbl...
Hi,

"Andrew Bullock" <an*********************@ANDntlworldTHIS.com> wrote in
message news:uS****************@newsfe7-gui.ntli.net...
Hi,

Using beta 2 VB 2005, can someone tell me what namespace i need to get
the oledb/ado package to connect to a JET 4 database?

Everywhere seems to say use:

Imports System.Data.Oledb

But I dont have a System.Data namespace, whats going on?


Make sure your project has a reference to System.Data.dll, see solution
explorer: expand "References". If it hasn't then add it using
menu->Project->Add Reference.
HTH,
Greetings



Thanks

Andrew


Nov 24 '05 #4
Hi,

"m.posseth" <mi*****@nohausystems.nl> wrote in message
news:Od**************@TK2MSFTNGP10.phx.gbl...
Yes that is a good one this might solve his problem ,,, question then is
why isn`t it there standard ( as it should be ) is this a bug in the
beta version ?
Not that i know and i'm not sure why it wouldn't be there, but it's just
that when a namespace isn't found the first thing i think about is
(assembly) references. It might as well be a more serious problem like
you're suggesting....

I also noticed "References" inside "Solution Explorer" doesn't show in
VB(vc2005b2) unless you turn on "Show All Files" (menu->Project).

Greetings


regards

Michel

"Bart Mermuys" <bm*************@hotmail.com> wrote in message
news:O5**************@tk2msftngp13.phx.gbl...
Hi,

"Andrew Bullock" <an*********************@ANDntlworldTHIS.com> wrote in
message news:uS****************@newsfe7-gui.ntli.net...
Hi,

Using beta 2 VB 2005, can someone tell me what namespace i need to get
the oledb/ado package to connect to a JET 4 database?

Everywhere seems to say use:

Imports System.Data.Oledb

But I dont have a System.Data namespace, whats going on?


Make sure your project has a reference to System.Data.dll, see solution
explorer: expand "References". If it hasn't then add it using
menu->Project->Add Reference.
HTH,
Greetings



Thanks

Andrew



Nov 24 '05 #5
Bart Mermuys wrote:
Hi,

"Andrew Bullock" <an*********************@ANDntlworldTHIS.com> wrote in
message news:uS****************@newsfe7-gui.ntli.net...
Hi,

Using beta 2 VB 2005, can someone tell me what namespace i need to get the
oledb/ado package to connect to a JET 4 database?

Everywhere seems to say use:

Imports System.Data.Oledb

But I dont have a System.Data namespace, whats going on?

Make sure your project has a reference to System.Data.dll, see solution
explorer: expand "References". If it hasn't then add it using
menu->Project->Add Reference.


Added System.Data, which im sure wasn't there before :/ Anyway thanks!

Now to see if it works!

Andrew
Nov 24 '05 #6

Well and as we see now you were right ,,,, maybe i am just always thinking
in the worst case scenario :-)

so it was good that you were around before he started formatting his
computer ;-)

I also noticed "References" inside "Solution Explorer" doesn't show in
VB(vc2005b2) unless you turn on "Show All Files" (menu->Project).
This is also the case in the release version ( i use the professional
release version of VS 2005 ) so they might call this "by design" when the
rest of the people notice this and start complaining

regards
Michel Posseth [MCP]

"Bart Mermuys" <bm*************@hotmail.com> wrote in message
news:Ol**************@TK2MSFTNGP09.phx.gbl... Hi,

"m.posseth" <mi*****@nohausystems.nl> wrote in message
news:Od**************@TK2MSFTNGP10.phx.gbl...
Yes that is a good one this might solve his problem ,,, question then is
why isn`t it there standard ( as it should be ) is this a bug in the
beta version ?


Not that i know and i'm not sure why it wouldn't be there, but it's just
that when a namespace isn't found the first thing i think about is
(assembly) references. It might as well be a more serious problem like
you're suggesting....

I also noticed "References" inside "Solution Explorer" doesn't show in
VB(vc2005b2) unless you turn on "Show All Files" (menu->Project).

Greetings


regards

Michel

"Bart Mermuys" <bm*************@hotmail.com> wrote in message
news:O5**************@tk2msftngp13.phx.gbl...
Hi,

"Andrew Bullock" <an*********************@ANDntlworldTHIS.com> wrote in
message news:uS****************@newsfe7-gui.ntli.net...
Hi,

Using beta 2 VB 2005, can someone tell me what namespace i need to get
the oledb/ado package to connect to a JET 4 database?

Everywhere seems to say use:

Imports System.Data.Oledb

But I dont have a System.Data namespace, whats going on?

Make sure your project has a reference to System.Data.dll, see solution
explorer: expand "References". If it hasn't then add it using
menu->Project->Add Reference.
HTH,
Greetings


Thanks

Andrew



Nov 24 '05 #7

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

Similar topics

1
by: John L. Clark | last post by:
I am curious as to the rationale, and effect, of having default namespaces not applying (directly) to attributes (see http://www.w3.org/TR/REC-xml-names/#defaulting). Given an attribute without a...
25
by: kj | last post by:
Consider the following XML document: <?xml version='1.0' encoding='UTF-8'?> <bar:foo xmlns:bar='someuri'> <baz/> </bar:foo> What namespace does baz belong to? What is this namespace bound...
3
by: Mike Dickens | last post by:
hi, i'm sure this has come up before but havn't managed to find an answer. if i have the following xslt <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet method="xml" version="1.0"...
6
by: Don Wash | last post by:
Hi There! I just need some advice on Namespace management for creating reusable VB.NET applications. I would like my applications to have this namespace structure... Namespace MyCompany ...
8
by: Petter Reinholdtsen | last post by:
I ran into a problem on HP-UX 11.00 the other day, where it refused to compile a program using 'using namespace std;' at the top. The reason seem to be that the compiler refuses to accept 'using...
2
by: puzzlecracker | last post by:
after reading some of the post I found out something rather radical to my previous understanding: that when you do #include<iostream> #include<string> #include<vector> etc compiler puts...
7
by: Kevin Newman | last post by:
I've been toying with a namespace manager, and wanted to get some input. So what do you think? if (typeof com == 'undefined') var com = {}; if (!com.unFocus) com.unFocus = {}; ...
14
by: Tiraman | last post by:
Hi , I would like to use nested namespace . I have 3 namespace as dll's : Namespace A Namespace B Namespace C And i want to have some namespace that contain them all , some thing like
4
by: DaveRook | last post by:
Hi I have upgraded to Office 2007. I am using C# and Access. When I try to my website on my local PC, I get the error message: The 'Microsoft.ACE.OLEBD.12.0' provider is not registered on...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.