Hello.
I would like to advise how can i get ip address on my pc
and copy it to Form2->label2.
For example Im trying to show in my program,informations of internet connection speed,ip adsress... Im thinking about something like :
void __fastcall TForm1::Button1Click(TObject *Sender)
{
Form2->ShowModal();
ShellExecute(Handle,"open","C:\\Windows\\system32\\cmd.exe",0,0,SW_SHOW);
that should be 1st step,then can i make somehow automatic command in my c++ program as ipconfig/all -> in the cmd i should see all of the required information.
Any idea how to do it ?
Im doing c++ about 4 mounts so i can say Im very new..
Thanks
I would like to advise how can i get ip address on my pc
and copy it to Form2->label2.
For example Im trying to show in my program,informations of internet connection speed,ip adsress... Im thinking about something like :
void __fastcall TForm1::Button1Click(TObject *Sender)
{
Form2->ShowModal();
ShellExecute(Handle,"open","C:\\Windows\\system32\\cmd.exe",0,0,SW_SHOW);
that should be 1st step,then can i make somehow automatic command in my c++ program as ipconfig/all -> in the cmd i should see all of the required information.
Any idea how to do it ?
Im doing c++ about 4 mounts so i can say Im very new..
Thanks