![]() |
| | #1 |
| Registered User Join Date: Dec 2007
Posts: 380
| 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" |
| Coding is offline | |
| | #2 |
| Registered User Join Date: Dec 2007
Posts: 380
| 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");
|
| Coding is offline | |
| | #3 |
| Registered User Join Date: Dec 2007
Posts: 380
| 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");
|
| Coding is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data Structure Eror | prominababy | C Programming | 3 | 01-06-2009 09:35 AM |
| opening empty file causes access violation | trevordunstan | C Programming | 10 | 10-21-2008 11:19 PM |
| Memory Address | kevinawad | C++ Programming | 18 | 10-19-2008 10:27 AM |
| Formatting a text file... | dagorsul | C Programming | 12 | 05-02-2008 03:53 AM |
| Game Pointer Trouble? | Drahcir | C Programming | 8 | 02-04-2006 02:53 AM |