Click to See Complete Forum and Search --> : finding the path?
stweelman
Nov 6th, 1999, 07:17 AM
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.
Compwiz
Nov 6th, 1999, 07:24 AM
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
tyoung@stny.rr.com
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
Compwiz
Nov 6th, 1999, 07:26 AM
If it is not necessary to have only MsPaint to open the bmp, you could use the Shell function or the ShellExecute API function.
stweelman
Nov 7th, 1999, 12:59 AM
not familiar with this, pleas explain?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.