By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

Embedding XML in DLL

P: n/a
Hi All,

I was wondering if i can embed an xml file in a vb.net app so that i dont
have to install it as an external file. if this is possible please let me
know how to proceed.

Thanks
Michael
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yes. Just add it to the project and in the Properties Window select Build
Action = Embedded Resource. To retrieve its stream at run time, you use
Assembly.GetManifestResourceStream(). Check the docs about this function.
--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Michael Persaud" <ji*********@hotmail.com> escribió en el mensaje
news:Om**************@TK2MSFTNGP10.phx.gbl...
Hi All,

I was wondering if i can embed an xml file in a vb.net app so that i dont
have to install it as an external file. if this is possible please let me
know how to proceed.

Thanks
Michael

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.