How is it possible in C++ .NET to open a file on the computer.
Lets say that I am trying to open this file. Is this possible to do. In this case, Wordpad will open.
Thanks
Code:"C:\\WordPadFile.rtf"
How is it possible in C++ .NET to open a file on the computer.
Lets say that I am trying to open this file. Is this possible to do. In this case, Wordpad will open.
Thanks
Code:"C:\\WordPadFile.rtf"
I have tried out to open this like this but when the file is opened. The cmd.exe is also opened. Is this possible to prevent ?
Code:system("C:\\exitfile.txt");
I found a solution like this. This do seem to work:
Code:System::Diagnostics::Process::Start("C:\\Program Files\\Adobe\\Reader 8.0\\Reader\\AcroRd32");