Jump to content

Recommended Posts

Posted

this is my func

Func johnini()

$varA = GUICtrlRead($MyCombo)

; MsgBox(0,"",$varA)

Fileopen($varA & ":\history\john.ini", 0)

EndFunc

i cant seem to figure out how to open the ini file. i keep trying and im not getting any errors. any ideas?

  • Developers
Posted

this is my func

Func johnini()

$varA = GUICtrlRead($MyCombo)

; MsgBox(0,"",$varA)

Fileopen($varA & ":\history\john.ini", 0)

EndFunc

i cant seem to figure out how to open the ini file. i keep trying and im not getting any errors. any ideas?

Define "open a file", because the code does open the file after which you do not do anything with the Filehandle returned by FileOpen().

So what is it you want to do with the INI file?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Do you mean ShellExecute($FilePath) so you can actually see the text inside the file in notepad?

Func johnini()

$varA = GUICtrlRead($MyCombo)

; MsgBox(0,"",$varA)

ShellExecute("john.ini", "", $varA & ":\history", "open")

EndFunc

this is what worked. Thank you guys for your help

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...