I am following some code examples referring to using system.data.ole db - however, I do not have "oledb" available as an item to select. I type system.data., and I can see SQLClient, but not oledb. I assume I am missing a reference, but cannot find anything documentation to tell me which reference I could add to have oledb available in my app
Any ideas
- Thanks
JRD 4 2872
John,
If you have a reference to System.Data.dll then that's it, that's where the
provider lives. The namespace is System.Data.Ole db.
You might be missing an "imports" or "using" statement at the top of the
file?
--
_______________ _____
Klaus H. Probst, MVP http://www.vbbox.com/
"John Dougherty" <an*******@disc ussions.microso ft.com> wrote in message
news:23******** *************** ***********@mic rosoft.com... I am following some code examples referring to using system.data.ole db -
however, I do not have "oledb" available as an item to select. I type
system.data., and I can see SQLClient, but not oledb. I assume I am missing
a reference, but cannot find anything documentation to tell me which
reference I could add to have oledb available in my app. Any ideas?
- Thanks,
JRD
Hi John,
I asume you have a 2002 version, OleDb is 2003
Cor I am following some code examples referring to using system.data.ole db -
however, I do not have "oledb" available as an item to select. I type
system.data., and I can see SQLClient, but not oledb. I assume I am missing
a reference, but cannot find anything documentation to tell me which
reference I could add to have oledb available in my app.
Cor,
OleDb is in VS 2002/Framework 1.0 as well.
For John, I just tried this on my older VS 2002 project and it worked
System.Data.Ole Db is the namespace. The only references added on this
project are System, System.Data, and System.XML.
Ron Allen
"Cor" <no*@non.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi John,
I asume you have a 2002 version, OleDb is 2003
Cor
I am following some code examples referring to using system.data.ole db - however, I do not have "oledb" available as an item to select. I type system.data., and I can see SQLClient, but not oledb. I assume I am
missing a reference, but cannot find anything documentation to tell me which reference I could add to have oledb available in my app.
Hi Ron,
Thanks, where do I go wrong than, you could not use MS Access I thought in
2002, but maybe I am totally wrong, let us keep it by that by that.
I did not check this one.
Thanks again,
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nashat Wanly |
last post by:
HOW TO: Call a Parameterized Stored Procedure by Using ADO.NET and
Visual C# .NET
View products that this article applies to.
This article was previously published under Q310070
For a Microsoft Visual Basic .NET version of this article, see 308049.
For a Microsoft Visual C++ .NET version of this article, see 310071.
For a Microsoft Visual J# .NET version of this article, see 320627.
This article refers to the following Microsoft .NET...
|
by: John Dougherty |
last post by:
I am following some code examples referring to using system.data.oledb - however, I do not have "oledb" available as an item to select. I type system.data., and I can see SQLClient, but not oledb. I assume I am missing a reference, but cannot find anything documentation to tell me which reference I could add to have oledb available in my app
Any ideas
- Thanks
JRD
|
by: Nathan Sokalski |
last post by:
I am trying to do a database search using LIKE using the following code:
Private Sub btnSearch_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnSearch.Click
If Page.IsValid Then
Dim logictype As String
|
by: John |
last post by:
Hi
I need to be able to call a web service method, receive the dataset that web
method returns and store it in an access table. My problem is that I don't
know how to "receive" a complex type like a dataset and how to link it to
the access table that it is supposed to go in. Could someone please give me
a code example?
Thanks
|
by: gaffar |
last post by:
Sir, Using ADOX
I am developing an application in vb.net and the backend database is
ms-access. i have created ms-access databse and tables and assigned primary
keys to the tables through the vb.net application(code is below) by using
ADOX. Now my problem is i want delete one record from master table, that
deleted record automatically deleted from child tables. so, i want the code
how to establish relation ships between the tables and...
| |
by: svijay |
last post by:
hi
I have got a strange problem. May I know any solution for this.
Here is the detailed description about the problem
We have got a mainframe system and also production and development
server.
|
by: Agnes |
last post by:
I searched from previous post and got that there is a solution which export
the data to export without using Excel auotmation.
However, my database is SQL server, How can I amend objCmd.commandTest ??
I try the following insert statment but fail
"INSERT INTO SELECT * FROM
.;"
// Establish a connection to the data source.(copy from previous post)
|
by: Anil Gupte |
last post by:
I am using an MDB file which I have secured using the Access 2000 security
wizard. When I try to open it using a VB program I get an exception saying
"Cannot start your application. The wrokgroup information file is missing or
opened exclusively by another user". However, I can open it manually by
double-clicking on it and using the userid and password. I am using this
string to open it.
ConnStrMDB = "Jet OLEDB:Global Partial Bulk...
|
by: ollyb303 |
last post by:
Hi,
wasn't sure whether I should post this under .net, IIS or access, but I've plumped for .net!
I have a problem with an asp.net website which I am hosting on a windows server 2003 under IIS 6.0.
I am using an access database as the datasource for a gridview - this all works fine when I am running it on the development server in VWD 2005 express on my dev machine, but when I've uploaded the site to the server, I get a stack trace when...
|
by: =?Utf-8?B?U2hlZXMgQWJpZGk=?= |
last post by:
I read an article on the link:
http://support.microsoft.com/default.aspx?scid=kb;en-us;306572 related to
reading data from Excel using OLEDB The topic's heading is: How to query and
display excel data by using ASP.NET, ADO.NET, and Visual C# .NET
I am trying with the same code in Visual Studio 2005 in ASP.NET application.
The code i am using is:
protected void Page_Load(object sender, EventArgs e)
{
String connectionString...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |