Sign in or 

People just like you can add or edit the content on this site. If you want to try editing, but aren't ready to add to this site, try our demo area.
Read more about editing pages at Wetpaint Central.
)
'Returns a collection of names and values from the file.End Function
'The file is an Excel spreadsheet saved as a CSV file.
'The first column in the file is the setting name and the second is the value.
'A third column can be used for comments.
' Dim cSettings
' Set cSettings = GetCSVCollection("Settings.csv")
Dim asRows, cSettings, i, asEntries
asRows = Split(GetFileContents(vsFilePath), vbCrLf)
Set cSettings = CreateObject("Scripting.Dictionary")
For i = 1 To UBound(asRows)asEntries = Split(asRows(i), ",")Next
If UBound(asEntries) > 0 ThencSettings.Add Trim(asEntries(0)& ""), Trim(asEntries(1) & "")End If
Set GetSettings = cSettings
2buck |
Latest page update: made by 2buck
, Dec 2 2006, 11:35 AM EST
(about this update
About This Update
Edited by 2buck
view changes - complete history) |
|
More Info: links to this page
|