Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
QuestionInitialize a protocol in a BBS Pin
bigjoe11a30-Jul-09 7:05
bigjoe11a30-Jul-09 7:05 
Questionloading machine names from a txt file... Pin
partialdata30-Jul-09 6:25
partialdata30-Jul-09 6:25 
AnswerRe: loading machine names from a txt file... Pin
Abhijit Jana30-Jul-09 8:21
professionalAbhijit Jana30-Jul-09 8:21 
GeneralRe: loading machine names from a txt file... Pin
partialdata30-Jul-09 9:00
partialdata30-Jul-09 9:00 
AnswerRe: loading machine names from a txt file... Pin
CoderForEver30-Jul-09 9:08
CoderForEver30-Jul-09 9:08 
GeneralRe: loading machine names from a txt file... Pin
partialdata30-Jul-09 9:12
partialdata30-Jul-09 9:12 
GeneralRe: loading machine names from a txt file... Pin
CoderForEver30-Jul-09 9:32
CoderForEver30-Jul-09 9:32 
GeneralRe: loading machine names from a txt file... Pin
partialdata30-Jul-09 9:41
partialdata30-Jul-09 9:41 
I already know my machine names, i have them all in a machine.txt like this


lap-0101
lap-0102
ash-production


thats just 3 machines i have for testing ill have like 80. Think of it like this its like loading a password file into a password cracking prog.

it reads it line by line so for instance you would click open choose machine.txt then after it loads them all maybe a message box says all names loaded start search ok or cancle then click ok then it gos out to each machine deletes the file i have specified in my code and reports back in the listview all this works now if i manually type in the machine name into the text box if you look at this link you will see my application


www.summeylabs.com/images/authplay.jpg

but i am trying to automate the tast by supplying a file with all the names in it already.
i just dont know how to load each name one line at a time make do somthing else then once its done do it all over again untill end of file.
AnswerRe: loading machine names from a txt file... Pin
Alan N30-Jul-09 10:22
Alan N30-Jul-09 10:22 
GeneralRe: loading machine names from a txt file... Pin
partialdata31-Jul-09 5:19
partialdata31-Jul-09 5:19 
GeneralRe: loading machine names from a txt file... Pin
Alan N31-Jul-09 5:55
Alan N31-Jul-09 5:55 
GeneralRe: loading machine names from a txt file... Pin
partialdata31-Jul-09 6:53
partialdata31-Jul-09 6:53 
GeneralRe: loading machine names from a txt file... Pin
partialdata31-Jul-09 7:56
partialdata31-Jul-09 7:56 
GeneralRe: loading machine names from a txt file... Pin
Alan N31-Jul-09 9:43
Alan N31-Jul-09 9:43 
GeneralRe: loading machine names from a txt file... Pin
partialdata31-Jul-09 9:58
partialdata31-Jul-09 9:58 
AnswerRe: loading machine names from a txt file... Pin
Alan N31-Jul-09 12:10
Alan N31-Jul-09 12:10 
QuestionHow to write Newlines in XmlDocument Pin
Jordanwb30-Jul-09 5:38
Jordanwb30-Jul-09 5:38 
AnswerRe: How to write Newlines in XmlDocument Pin
Ian Shlasko30-Jul-09 5:45
Ian Shlasko30-Jul-09 5:45 
GeneralRe: How to write Newlines in XmlDocument Pin
Jordanwb30-Jul-09 5:46
Jordanwb30-Jul-09 5:46 
AnswerRe: How to write Newlines in XmlDocument Pin
PIEBALDconsult30-Jul-09 8:16
mvePIEBALDconsult30-Jul-09 8:16 
QuestionList View item selection Pin
satsumatable30-Jul-09 4:06
satsumatable30-Jul-09 4:06 
Questioncalling button click event Pin
Vivek Vijayan30-Jul-09 3:11
Vivek Vijayan30-Jul-09 3:11 
AnswerRe: calling button click event Pin
DaveyM6930-Jul-09 3:12
professionalDaveyM6930-Jul-09 3:12 
GeneralRe: calling button click event Pin
Vivek Vijayan30-Jul-09 3:18
Vivek Vijayan30-Jul-09 3:18 
GeneralRe: calling button click event Pin
Baeltazor30-Jul-09 17:12
Baeltazor30-Jul-09 17:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.