2009-02-03, 05:52 PM
I updated the sample code on the previous page to provide a working sample. You will need to reference the IsoCodes.dll as well as the XmlTv.dll
2009-02-03, 05:52 PM
I updated the sample code on the previous page to provide a working sample. You will need to reference the IsoCodes.dll as well as the XmlTv.dll
2009-02-03, 07:53 PM
whurlston Wrote:I updated the sample code on the previous page to provide a working sample. You will need to reference the IsoCodes.dll as well as the XmlTv.dll Well well well.. Wow, is that fast, or what?...!!!! I was doing so work with strong typing last night... I have a question to you are anyone... If I have an XML file that has 10 ChildNodes, but I only need two so that I can then reference something else, is it a bad thing to snag information from all 10 childnodes? Is it a waste of resources...?
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]
2009-02-03, 08:56 PM
Have you looked at nini on sourceforge. I have been toying with the idea of rewriting gamezone to use it for all the configuration files I use and create. It supports almost all types.
Cheers
2009-02-03, 09:21 PM
I don't think that anything you do will consume much resources and once your app exits, the resources will be freed anyway.
2009-02-04, 03:57 AM
zehd Wrote:Just so I'm not reinventing the wheel... I would have thought there were a set of read and write "ProfileString" functions built into VB for reading and writing ini files. If not, you can call the external functions built into kernel32.dll. Here's an example of doing that in C#: http://www.java2s.com/Tutorial/CSharp/05...String.htm http://www.java2s.com/Tutorial/CSharp/05...String.htm Oh, here's a VB.net example of doing the same. http://www.codeguru.com/forum/archive/in...89920.html
2009-02-04, 05:02 AM
I forgot that I have a C# example of reading and writing ini files. By device ini manager does this. I posted the source somewhere here on the forum. Thanks for getting me back on track wtg, Frank threw me off with the whole moving to .Net thing.
2009-02-04, 06:01 PM
wtg Wrote:I would have thought there were a set of read and write "ProfileString" functions built into VB for reading and writing ini files. If not, you can call the external functions built into kernel32.dll. Here's an example of doing that in C#: I found that. The problem is that some programs, like Comskip, are actually hash tables, and don't use the [Section] format... The getprivateprofile doesn't work when there are sections, and really gets fouled by remarks. It's all good now though. My routines are slick, lean and quick (as I discovered when I lost the source to ZProcess version1, when forced to start over, generally things are better!!!) And I'm looking into nini
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]
2009-02-04, 06:05 PM
whurlston Wrote:Frank threw me off with the whole moving to .Net thing. It's sooooo exciting, isn't it!
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]
2009-02-04, 06:09 PM
idkpmiller Wrote:Have you looked at nini on sourceforge. I have been toying with the idea of rewriting gamezone to use it for all the configuration files I use and create. It supports almost all types. I'm looking into it. Looks cool. Haven't found the license yet. I can't quite tell whether I can use it in closed source, possible donation-ware...
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]
2009-02-04, 10:08 PM
zehd Wrote:I'm looking into it. Looks cool. Haven't found the license yet. I can't quite tell whether I can use it in closed source, possible donation-ware...It does look very promising - It uses the MIT Licence which looks quite flexible - attached is from the download... |
|