473,320 Members | 1,900 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.

XmlDataDocument->DataSet->DataGrid: MDAC required??


Hi!

I have a windows forms application and , what I basically do is:

1.- Instanciate a DataSet.
2.- Instanciate a XMlDataDocument attaching the DataSet to it.
3.- Load XmlDataDocument with a local XML document (C:\mydoc.xml)
2.- Bind it to a Datagrid.
That is all!

My app doesn't need to access SQL Server, or any other ODBC, not even to MS
Access....

Is MDAC still required on the target machine in order for this to work?

I have not tried it on a machine that does not have MDAC installed so I
don't know if it works....

Thanks in advance.

--
I love .NET!
Jul 21 '05 #1
3 1496
Technically yes since there is no reference to the MDAC runtime libraries in
the assemblies you will use but a Windows without MDAC :-) ?

Gabriel Lozano-Morán

"Vico" <Vi**@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...

Hi!

I have a windows forms application and , what I basically do is:

1.- Instanciate a DataSet.
2.- Instanciate a XMlDataDocument attaching the DataSet to it.
3.- Load XmlDataDocument with a local XML document (C:\mydoc.xml)
2.- Bind it to a Datagrid.
That is all!

My app doesn't need to access SQL Server, or any other ODBC, not even to MS Access....

Is MDAC still required on the target machine in order for this to work?

I have not tried it on a machine that does not have MDAC installed so I
don't know if it works....

Thanks in advance.

--
I love .NET!

Jul 21 '05 #2
Gabriel,

The thing here is that since my application will be a commercial application
and will be used by many people around the US, I really do not want to
install any "pre-requisites" unless are needed (of course .NET framework is
required) and MDAC 2.7 is required in some cases and some Windows 98, or Me o
2000 do not have it installed in the original setup.

So that is why :D

What do you think?

Thanks!!

"LOZANO-MORÃN, Gabriel" wrote:
Technically yes since there is no reference to the MDAC runtime libraries in
the assemblies you will use but a Windows without MDAC :-) ?

Gabriel Lozano-Morán

"Vico" <Vi**@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...

Hi!

I have a windows forms application and , what I basically do is:

1.- Instanciate a DataSet.
2.- Instanciate a XMlDataDocument attaching the DataSet to it.
3.- Load XmlDataDocument with a local XML document (C:\mydoc.xml)
2.- Bind it to a Datagrid.
That is all!

My app doesn't need to access SQL Server, or any other ODBC, not even to

MS
Access....

Is MDAC still required on the target machine in order for this to work?

I have not tried it on a machine that does not have MDAC installed so I
don't know if it works....

Thanks in advance.

--
I love .NET!


Jul 21 '05 #3
Gabriel,

The thing here is that since my application will be a commercial application
and will be used by many people around the US, I really do not want to
install any "pre-requisites" unless are needed (of course .NET framework is
required) and MDAC 2.7 is required in some cases and some Windows 98, or Me o
2000 do not have it installed in the original setup.

So that is why :D

Thanks!!

"LOZANO-MORÃN, Gabriel" wrote:
Technically yes since there is no reference to the MDAC runtime libraries in
the assemblies you will use but a Windows without MDAC :-) ?

Gabriel Lozano-Morán

"Vico" <Vi**@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...

Hi!

I have a windows forms application and , what I basically do is:

1.- Instanciate a DataSet.
2.- Instanciate a XMlDataDocument attaching the DataSet to it.
3.- Load XmlDataDocument with a local XML document (C:\mydoc.xml)
2.- Bind it to a Datagrid.
That is all!

My app doesn't need to access SQL Server, or any other ODBC, not even to

MS
Access....

Is MDAC still required on the target machine in order for this to work?

I have not tried it on a machine that does not have MDAC installed so I
don't know if it works....

Thanks in advance.

--
I love .NET!


Jul 21 '05 #4

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

Similar topics

2
by: duncan | last post by:
Hi I an a mebie to XML / vb.net and I am struggling. I am developing a web base applcation using XML to link to its database so. Here is the XML I want to load into to a datagrid. The...
0
by: Brendan Reynolds | last post by:
I have a web service that takes the XML representation of a dataset and uses XSLT to transform it to the format required to open a disconnected ADODB recordset on the XML, and returns the...
1
by: Matthew Baskey | last post by:
Hello, I need to reorder a Typed DataSet in memory using an Xsl Transform. Most of the examples use stream which write to the hard disk or xml file. I want to do this in memory and then write...
0
by: gilly3 | last post by:
Reposting to a more relevant group. I am passing a generic dataset into a new XMLDataDocument and then parsing the XML with XSLT. The idea being that I can parse any dataset with the same xslt,...
1
by: Kevin Blakeley | last post by:
I know this was just posted but I did not want this message to get lost in the other thread as it's slightly different. Yes I want to export my dataset to excel for my clients, but I don't want...
3
by: Mae | last post by:
Dear All, I have a problem here, I'm using C# Webform calling a webservices. The webservices return me a XMLnode, using this XMLnode I want to convert it to dataset so I can bind to the...
4
by: bep | last post by:
Hello What is the best way to sort an XmlDocument for display in a DataGrig? I can use Xpath with an XpathExpression, and a XpathNavigator. But this XpathNavigator object is of no use to me, I...
3
by: P K | last post by:
Hello, I have a dataset which is already loaded with data in one table. so dataset.tables("data") exists and has data. Now, I have to add another table to the dataset. The source for this...
1
by: sani723 | last post by:
i am fetching some data from SQL and filling it through the Adapterto in DataSet, and then passing that DataSet to the XmlDataDocument Object, like XmlDataDocument XMLDoc = new...
4
by: =?Utf-8?B?VG9yZW4gVmFsb25l?= | last post by:
Hi, I have an XML file that I was hoping to use as a database Here is the code that I have copied that should display the data namespace File_Generation_System { public partial class vrholds :...
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
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...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.