Windows forms open WoW and WoW directory.

I have taken an introduction to c++ class, but opening folders and other problems was not in it. I learned about forms, and writing to an XML. I would greatly appreciate the syntax to open up World of Warcraft and then another one to open up the folder at which it is in. I would give the code, but all i have is the design as first I wanted to get this part done then work on the rest of it. Thanks
You speak of "forms", so I'm not even sure you learned C++. Maybe you learned C++/CLI, a Microsoft-only language for .Net. Despite the similarity in the names, C++/CLI and C++ are two different animals, and you are in a forum where almost nobody knows C++/CLI.

So if you learned C++/CLI, I recommend that you post @ the MSDN forums; if you learned regular C++, then study the CreateProcess() or ShellExecute() functions @ MSDN Online. I think either works, but if you ask me, go with the former. That function answer both your questions, I think: You call CreateProcess() to launch WoW (or any other executable), and you also call CreateProcess() to launch exploer.exe to make it show a particular folder (which I guess is what you want when you say "open up the folder at which it is in").
Topic archived. No new replies allowed.