Susie Posted September 20, 2006 Share Posted September 20, 2006 I am running the following : $valuationDate = IniRead($curDir & "\" & $settingsFileName, "settings", "ValuationDate", "") from the settings file (below) [settings] ValuationDate=091806 and receiving the following error: ValuationDate Setting is invalid. Any ideas ? Link to comment Share on other sites More sharing options...
Valuater Posted September 20, 2006 Share Posted September 20, 2006 (edited) is there more code than that??? maybe this... $valuationDate = IniRead($curDir & "\" & $settingsFileName, "settings", "ValuationDate", "") needs this $valuationDate = IniRead(@ScriptDir & "\" & $settingsFileName, "settings", "ValuationDate", "") and [settings] to [settings] ... hard to tell , not enough info ( script ) 8) BTW.... Welcome to Autoit!!! Edited September 20, 2006 by Valuater Link to comment Share on other sites More sharing options...
Susie Posted September 20, 2006 Author Share Posted September 20, 2006 Many thanks - that works a treat. Link to comment Share on other sites More sharing options...
Valuater Posted September 20, 2006 Share Posted September 20, 2006 Welcome 8) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now