Sardith Posted May 12, 2006 Share Posted May 12, 2006 Using a GUI I know you can make buttons, but can you make a two stage button.. "Run"--> if you don't have a Directory for the .EXE it will bring up a directory, then you select the directory you want and it will run the .EXE... Even after you restart the program. If someone could help me with the code for that, it would be great. [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
Valuater Posted May 12, 2006 Share Posted May 12, 2006 see fileopendialog 8) Link to comment Share on other sites More sharing options...
blindwig Posted May 12, 2006 Share Posted May 12, 2006 Using a GUI I know you can make buttons, but can you make a two stage button.."Run"--> if you don't have a Directory for the .EXE it will bring up a directory, then you select the directory you want and it will run the .EXE... Even after you restart the program.If someone could help me with the code for that, it would be great.lookup RegWrite and RegRead or IniWrite and IniRead My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions Link to comment Share on other sites More sharing options...
Sardith Posted May 12, 2006 Author Share Posted May 12, 2006 Yeah, I was doing well with my trainer at 99% coded and tested, but I want to add this to it.. I looked all the funcations along with trial and erroring things. No luck though, im not asking anyone to write something, but if someone wants to help me out alot that would be great. Jeff [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
Valuater Posted May 12, 2006 Share Posted May 12, 2006 an ini directory would be the best see iniwrite 8) Link to comment Share on other sites More sharing options...
Valuater Posted May 12, 2006 Share Posted May 12, 2006 (edited) you are using file open dialog to get an "exe" filethen later you sayRun("fear.exe", $var1)you are not running the exe file that was chosen8) Edited May 12, 2006 by Valuater Link to comment Share on other sites More sharing options...
Sardith Posted May 12, 2006 Author Share Posted May 12, 2006 Having a problem with my code for run.. It won't run from $var1... even after it becomes a string... Any help would be great. Code is above^^ EDIT: NEVER mind I got that. Question closedeyes.gif sad.gif Is there a way to do a reg edit or something other then a .ini..... I don't want to use .ini's period so it isn't a choice for me anymore. [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
Valuater Posted May 12, 2006 Share Posted May 12, 2006 i dont teach new people about working/writting to the registry ( new means asking about the simpler things ) sorry 8) Link to comment Share on other sites More sharing options...
Sardith Posted May 12, 2006 Author Share Posted May 12, 2006 (edited) "new", Ok I understand im "new" but I tend not to actually need to ask for code help, you gave me fileopendialog, then I looked off the example and wrote something for my use. The only reason I asked for help on the Run was because the forums are here for me to do so. Come to find out I figured out the syntax issue, then refreshed Firefox; Then saw your reply. If you don't care to teach me, so be it. I don't need you to tell me I don't like to teach 'new' people RegWrite/Read. I understand the concept of it. I just need to know what, type of reg edit id use for a path, and how id write the Values. RegWrite( "", "", "????", $var1??? ) Edited May 12, 2006 by Sardith [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] 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