XMlDataDocument and MDAC

G

Guest

Hi!

I just have a little but important question. If I need to read and
XMLDocument (XmlDataDocument) into a DataSet and bind it to a Datagrid....
Does the target computer require MDAC installed in order for this to work?

Thanks!!!
 
W

WJ

If you are using MDAC as provider, then yes, and only applied to WinForm
application. For web form, you do not need to. If you are using Ado.Net as
provider, then your clients or server donot need MDAC.

John
 
G

Guest

John,

Thanks for your reply.
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!

I do not do any access to SQL Server, not even MS Access....

Do you think I still need the MDAC?
 
G

Guest

John,
Thanks for your replay....
my App is a Windows Forms application and does the following:

1.- Create instance of DataSet.
2.- Create Instance of XmlDataDocument and attaches the Dataset to it.
3.- Load a XML document (C:\mydoc.xml) into the XmlDataDocument.
4.- Bind the DataSet to a Datagrid.
That is all!!
It does not acces SQL, or ORACLE, MS Access or anything else...

Do you think I still need MDAC??

Thanks in advance.
 
W

WJ

vicopocho said:
John,

I do not do any access to SQL Server, not even MS Access....

Do you think I still need the MDAC?

Beginning with Windows 2000 Professional Service Pack# 3 and higher, MDAC
should have been already bundled with the Operating System. Especially with
Windows XP, you cannot install MDAC on it because it is now part of the OS.

For Windows 9x, it is very easy to install MDAC, approx. 5.5 MB in size. If
your W9x clients do not want to install it and their MSIE verion is 5.x or
higher, some MDAC components are also already bundled with IE 5.x or higher.
But be sure, just tell them to install it if your application cannoit
contact your database server or local MS/Access database.

John
 
G

Guest

John,

Thanks once again.
I know that MDAC is easy to install, but you see. This application will be a
commercial application in which many people around the US will be using it. I
would like to avoid as much as possible the installation of components that
are not reallly required. Some issues are avoided (Windows installer,
corrupted installation) etc... and more than that I really would not like the
User had to reboot after MDAC is installed. I am using the .NET bootstrapper
plug-in and that does not install MDAC silently...

Any way... the real reason is: "avoid as much as possible the installation
of components that are not reallly required."

Thanks!
 
W

WJ

Vico said:
John,

Any way... the real reason is: "avoid as much as possible the installation
of components that are not reallly required."

I would test it on a fresh PC before deployment.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top