hi
i want to get the ip of a website that is entered into an Edit1 (singe line text box) here is my code in Button1:
AnsiString xxx = Edit1->Text;
system("ping " + xxx);
I get an error message on system("ping " + xxx); how would i get passed this?
once i have gotten past the error message i want to record the output. how would i do this?
i am fairly new to c++ builder, that is the only way i can thin of to get the info. is there any windows api command that would give me simular results or am i on the right track?
thanks in advance
i want to get the ip of a website that is entered into an Edit1 (singe line text box) here is my code in Button1:
AnsiString xxx = Edit1->Text;
system("ping " + xxx);
I get an error message on system("ping " + xxx); how would i get passed this?
once i have gotten past the error message i want to record the output. how would i do this?
i am fairly new to c++ builder, that is the only way i can thin of to get the info. is there any windows api command that would give me simular results or am i on the right track?
thanks in advance