anystupidassname Posted November 12, 2005 Posted November 12, 2005 (edited) There are two things I need to do: 1. Read a file into an array(?) I think in order to display it in a combobox / picklist. The file would be formatted (ProductCode|ProductName) (ProductCode|ProductName) (ProductCode|ProductName) (ProductCode|ProductName) and ProductName would be displayed and ProductCode would be set to a variable once a choice was made. 2. Read a file into an array(?) so that each line could be used once in a command line. The format of this file would be 127.0.0.1 bubba 165.32.32.32 tally.me.banana 123.123.123.123 Any suggestions much appreciated. Examples are MOST helpful. (end result will be a remote uninstall thingie that will probably only work for apps installed with MSI) Edited November 12, 2005 by anystupidassname This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#.......
jefhal Posted November 12, 2005 Posted November 12, 2005 1. Read a file into an array(?) I think in order to display it in a combobox / picklist.2. Read a file into an array(?) so that each line could be used once in a command line.Look at the help file for "fileread", "stringsplit", and "filereadline. Use the first two for 1. and the third for 2.Unless this is a clean install, you might also want to use "fileexists" to see if an older version is already installed...I use checkboxes for my pick list as I can pick and choose to install programs as I need. I also wrote a "toggle all" button to uncheck all checkboxes if needed to pick just one or two options. ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
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