+ 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

13th Aug 2017, 7:51 PM
dj for life
dj for life - avatar
1 Resposta
+ 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");
15th Aug 2017, 6:57 AM
A. Berger
A. Berger - avatar