|
-
Sep 2nd, 2002, 08:22 PM
#1
Thread Starter
Member
Visual C++,, callin' another app...
Hi. i'm a newbie here!!
can u all pls help me solve my problems??
1. does anybody know how to read from txt file in Visual C++???
and
2. how to go and open other applications when you click a button??? (eg, opening another word application or sth like that)
(can u all pls explain in beginner terms also .... =P)
i'm using MFC Dialog Projects....
thanks a lot!!!
hope kind souls out there will reply me,,,, i need it urgently 4 my project!! thxxx.....
-
Sep 3rd, 2002, 12:54 AM
#2
Frenzied Member
2) To open another program:
PHP Code:
ShellExecute(m_hWnd, "open", "c:\\yourfile.exe",NULL,NULL,SW_SHOWNORMAL);
-
Sep 3rd, 2002, 01:43 AM
#3
Thread Starter
Member
thanks a lot!!!!
it works!!!
-
Sep 3rd, 2002, 05:34 AM
#4
1) The FAQ is back online.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 4th, 2002, 12:38 AM
#5
Thread Starter
Member
but tat FAQ section doesn't seem to hav answers to my problem!!!
i've seen da questions, they all askin' about posting messages,,,,
haiz....
HELP!!
SOS!!
-
Sep 4th, 2002, 02:17 AM
#6
The FAQ of this forum - the topmost post here.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 4th, 2002, 02:18 AM
#7
And for MFC files, look at CFile and derived classes, as well as CFileDialog
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 9th, 2002, 08:52 PM
#8
Thread Starter
Member
get a dir::
hi does anyone know how to get a specific directory name
instead of specifying da exact path????
like , in vb, we have
sDemoPath = Environ("yourDirectoryName");
but wat abt in VC??
-
Sep 10th, 2002, 04:10 AM
#9
GetSpecialDirectory retrieves directories such as the local user files, the program files etc.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 10th, 2002, 10:38 AM
#10
Thread Starter
Member
thank u cornedbee...
you're very helpful!!!
=o)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|