waltv7 Posted December 13, 2008 Share Posted December 13, 2008 (edited) Hi everyone can somene please point me in the right direction on getting contents of a text file dispayed for editing in an edit box please? Edited December 13, 2008 by waltv7 Link to comment Share on other sites More sharing options...
wraithdu Posted December 13, 2008 Share Posted December 13, 2008 The help file would be a good place to start: GuiCtrlSetData($editbox, FileRead("path\to\file")) Link to comment Share on other sites More sharing options...
waltv7 Posted December 13, 2008 Author Share Posted December 13, 2008 (edited) The help file would be a good place to start: GuiCtrlSetData($editbox, FileRead("path\to\file"))Thanksfor the fast reply it seams to only work if I input the path seems I can't preload the file and use the variable from FileOpen. thats why the help files confused me Edited December 13, 2008 by waltv7 Link to comment Share on other sites More sharing options...
waltv7 Posted December 13, 2008 Author Share Posted December 13, 2008 Thanksfor the fast reply it seams to only work if I input the path seems I can't preload the file and use the variable from FileOpen.thats why the help files confused meback to another question regarding this. I am now trying to get the file to display with menuitem and fileopen and I can't get it to display when I use the variable $file. I have tried everything in the help and i can only see the leters flash in the edit box before disapearing. Link to comment Share on other sites More sharing options...
wraithdu Posted December 14, 2008 Share Posted December 14, 2008 Some bit of sample code would be helpful...minimum working amount to show us your problem. 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