<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ini file reading in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/ini-file-reading/m-p/307827#M61637</link>
    <description>Frank,&lt;BR /&gt;
&lt;BR /&gt;
For working with INIs, save yourself the work and use the Win32 API - it &lt;BR /&gt;
has built-in functionality for what you are doing. Check out VBNet for &lt;BR /&gt;
beginners, intermed and advanced tutorials/example code [watch for word &lt;BR /&gt;
wrap]:&lt;BR /&gt;
&lt;BR /&gt;
http://www.mvps.org/vbnet/index.html?code/fileapi/filedatetime.htm&lt;BR /&gt;
&lt;BR /&gt;
___________________________&lt;BR /&gt;
Mike Tuersley&lt;BR /&gt;
AutoCAD Clinic&lt;BR /&gt;
Rand IMAGINiT Technologies</description>
    <pubDate>Fri, 01 Aug 2003 05:47:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-08-01T05:47:32Z</dc:date>
    <item>
      <title>ini file reading</title>
      <link>https://forums.autodesk.com/t5/vba-forum/ini-file-reading/m-p/307825#M61635</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
We are working with ini files, so all of the info about projects are in that&lt;BR /&gt;
ini file. I found a module on the internet which helps me to read (write and&lt;BR /&gt;
delete) parts of the ini file. It works the same as GetSetting/SaveSetting&lt;BR /&gt;
for registry reading/writing.&lt;BR /&gt;
&lt;BR /&gt;
In my ini file there is a key that has more then one value, seperated by a&lt;BR /&gt;
",". Can anyone tell me how to get the second, third, fourth and so on&lt;BR /&gt;
value?&lt;BR /&gt;
&lt;BR /&gt;
Frank</description>
      <pubDate>Fri, 01 Aug 2003 04:04:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/ini-file-reading/m-p/307825#M61635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-01T04:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: ini file reading</title>
      <link>https://forums.autodesk.com/t5/vba-forum/ini-file-reading/m-p/307826#M61636</link>
      <description>Use the split function. Below is an example.&lt;BR /&gt;
&lt;BR /&gt;
Tim Riley&lt;BR /&gt;
&lt;BR /&gt;
*************Code********************&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
&lt;BR /&gt;
Public Sub test()&lt;BR /&gt;
Dim strINI As String&lt;BR /&gt;
Dim strSplit() As String&lt;BR /&gt;
Dim I As Integer&lt;BR /&gt;
&lt;BR /&gt;
strINI = "Yup,This,is,a,string"&lt;BR /&gt;
strSplit = Split(strINI, Chr(44))&lt;BR /&gt;
&lt;BR /&gt;
For I = LBound(strSplit) To UBound(strSplit)&lt;BR /&gt;
    MsgBox strSplit(I)&lt;BR /&gt;
Next&lt;BR /&gt;
&lt;BR /&gt;
End Sub</description>
      <pubDate>Fri, 01 Aug 2003 04:29:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/ini-file-reading/m-p/307826#M61636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-01T04:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: ini file reading</title>
      <link>https://forums.autodesk.com/t5/vba-forum/ini-file-reading/m-p/307827#M61637</link>
      <description>Frank,&lt;BR /&gt;
&lt;BR /&gt;
For working with INIs, save yourself the work and use the Win32 API - it &lt;BR /&gt;
has built-in functionality for what you are doing. Check out VBNet for &lt;BR /&gt;
beginners, intermed and advanced tutorials/example code [watch for word &lt;BR /&gt;
wrap]:&lt;BR /&gt;
&lt;BR /&gt;
http://www.mvps.org/vbnet/index.html?code/fileapi/filedatetime.htm&lt;BR /&gt;
&lt;BR /&gt;
___________________________&lt;BR /&gt;
Mike Tuersley&lt;BR /&gt;
AutoCAD Clinic&lt;BR /&gt;
Rand IMAGINiT Technologies</description>
      <pubDate>Fri, 01 Aug 2003 05:47:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/ini-file-reading/m-p/307827#M61637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-01T05:47:32Z</dc:date>
    </item>
  </channel>
</rss>

