+ 1
can you make a shortcut for a command? plz help!!
I was wondering or i could make a shortcut for a command. Say: i want to open 4 different webpages in a windows visual project. I dont want to write the same code 4 times. !!! It needs differemt URLs Plz help
1 ответ
+ 1
write a function with a parameter for your web adress that opens your webpage.
For Example:
void OpenWebPage(String Webadresse)
{
//Here goes code to open a web page
}
and in your programm you can use it multiple times to open single web pages
OpenWebPage("http://www.google.com");
OpenWebPage("www.example.net");