thanks guys i found the answer, someone wrote a function that takes care of it
i have a question about that function though. i need to pass the path to the ini file into the function, it has to be a virtual path because it uses the Server.MapPath() call. my probelm is that the ini exists outside of the website, how do i write the path to the file to satsify the function?
Code:
Function GetINIStringVirtual(Section, KeyName, Default, FileName)
GetINIStringVirtual = GetINIString(Section, KeyName, Default, _
Server.MapPath(FileName))
End Function
siteUrl = GetINIStringVirtual("paths", "app_url", "-", "c:/Inetpub/config/lms.ini")
i tried taking out the Server.MapPath because, from what i understand, all it does is convert the virtual path the the one that im passing, but it doesnt work. what am in overlooking?
thanks