NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 34 35 36 37 38 … 93 Next »
Easy .net snippet for accessing config.xml?

 
  • 0 Vote(s) - 0 Average
Easy .net snippet for accessing config.xml?
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#1
2008-03-23, 05:51 AM
Do you have an easy .net snippet for accessing config.xml?

Thanks
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#2
2008-03-23, 05:55 AM
I think everyone wrote their own.

CommonGBPVRUtilties used to have a way of doing it if you want the extra reference (and I'm not sure about javawiz's stuff).
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#3
2008-03-23, 05:55 AM
Its not really what the app does, but you can do something like:

XmlDocument doc = new XmlDocument();
doc.Load("c:\\program files\\devnz\\gbpvr\\gbpvr.db3");
XmlNode node = doc.SelectSingleNode("/settings/UseFFDSHOW");
Console.WriteLine(node.InnerText);
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#4
2008-03-23, 05:58 AM
You guys are the best.
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Accessing music file metadata in C# bgowland 6 3,259 2013-01-26, 05:14 AM
Last Post: bgowland
  Settings config screen for class IEventNotification plugin imilne 9 3,439 2011-09-17, 06:06 PM
Last Post: sub
  config.xml & unvisible steeb 9 3,093 2011-06-19, 12:16 AM
Last Post: steeb
  Calling NextPVR restart after config.xml changes steeb 33 10,102 2011-05-02, 04:24 PM
Last Post: steeb
  Config.xml saving mvallevand 6 2,549 2010-01-08, 06:32 AM
Last Post: mvallevand
  Reading config.xml McBainUK 4 2,245 2009-03-26, 04:28 PM
Last Post: JavaWiz
  accessing database fluffykeith 3 1,853 2008-07-09, 05:43 PM
Last Post: sub
  Plugin settings in the Config application Khurram 6 2,486 2008-06-09, 04:20 AM
Last Post: Khurram
  Easy version control for assemblies? bgowland 3 1,639 2008-02-21, 08:28 AM
Last Post: Ernie-c
  Accessing TV Devices via C# blackpaw 2 1,512 2008-01-17, 04:28 AM
Last Post: blackpaw

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode