SoftVoile Posted November 25, 2008 Posted November 25, 2008 hello, i want to read some text from a text file and use it. text file Title = My Program Name Description = New Tool Version = 3.0.6.1 Files = @DesktopDir now how to read this text file and use? for example in a MsgBox? MsgBox(0, "My Program Name", "New Tool" & @CRLF & "3.0.6.1" & @CRLF & @DesktopDir) i don't know how to do it using FileRead(), reading the help file did not help. Unresolved topics:1- Please help me in Editing or replacing a page in FireFox and IE.Please have a look at them.
Bert Posted November 25, 2008 Posted November 25, 2008 Use iniread The Vollatran project My blog: http://www.vollysinterestingshit.com/
Kyme Posted November 25, 2008 Posted November 25, 2008 (edited) hello, i want to read some text from a text file and use it. text file Title = My Program Name Description = New Tool Version = 3.0.6.1 Files = @DesktopDir now how to read this text file and use? for example in a MsgBox? MsgBox(0, "My Program Name", "New Tool" & @CRLF & "3.0.6.1" & @CRLF & @DesktopDir) i don't know how to do it using FileRead(), reading the help file did not help. Script $1=IniRead(@DesktopDir & "\File.txt","Dir","Title","") $2=IniRead(@DesktopDir & "\File.txt","Dir","Description","") $3=IniRead(@DesktopDir & "\File.txt","Dir","Version ","") $4=IniRead(@DesktopDir & "\File.txt","Dir","Files ","") MsgBox(0,"",$1& "," &$2& @CRLF &$3& @CRLF &$4) File.txt [Dir] Title = My Program Name Description = New Tool Version = 3.0.6.1 Files = @DesktopDir Hope this will help you Edited November 25, 2008 by Kyme
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