I wrote an program that will need to shell out to MsPaint to edit a file. And just to be safe I need to confirm the path to MsPaint. Then open MsPaint with my (.BMP ) open.
Printable View
I wrote an program that will need to shell out to MsPaint to edit a file. And just to be safe I need to confirm the path to MsPaint. Then open MsPaint with my (.BMP ) open.
Open the registry and read the data under the key name:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\MSPAINT.EXE
The data under (Default) will have the path.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
If it is not necessary to have only MsPaint to open the bmp, you could use the Shell function or the ShellExecute API function.
not familiar with this, pleas explain?