|
make one member variable that store the pointer of cerated dialog B
which is initialy NULL and create the dialog when its null if its not null than dont go for create it put same check in OnClose
|
|
|
|
|
I want to install files programatically that are installed by the word (or any office component) when we clck on toll speech menu it ask for install
files or not if we click yes it will install some file which i dont know
CAn i do it programatically.
|
|
|
|
|
Installer is basically an executable and you can certainly call it from your program by using any of these APIs like ShellExecute/winExec.
Regards,
Rane
|
|
|
|
|
i knnow its done by msiexec but what to call
from command prompt to install remaining speech recognization files.
|
|
|
|
|
microsoft should have a speechredist executable for you to use.
|
|
|
|
|
Hi All
Can i add two exe?Both exe of VC++2005.One is Dailog base and other is MDI. Can i add it?If yes then how?Plz help me
singh
|
|
|
|
|
What do you mean by adding two exe ?
You mean use the second one in the first one ? Spawning it a new process is not enough ?
|
|
|
|
|
Ok
So there is any new options?
singh
|
|
|
|
|
you can't simply add two exe's or I am not getting what do you mean by adding? If you want to use the functionality from one exe in another one, you can include the relevant code/header/source files and then proceed.
polopo wrote: So there is any new options?
AFAIK, it wasn't there earlier.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
can you give me more details..Plz how can i do that..
First code is in Dialog based and second one is MDI..
Plz help me
singh
|
|
|
|
|
I guess you want to display your dialog from within your MDI app ? Can't you simply start it as a new program ? Or do you really need it to be integrated in your app ?
If that's the case, then as the previous poster said, you will have to include the source files from your second app into your first app and add some code to create and use the dialog.
|
|
|
|
|
ok i try to do that.
Thx's for help
singh
|
|
|
|
|
Still your question is not clear . Do you mean you need to call MDI appln from the Dialog based application?
Regards,
Rane
|
|
|
|
|
yes you are 100% right..So can you give me small example
singh
|
|
|
|
|
You may use the API WinExec in your Dialog based application code. Say if you want to call the MDI application on the click of a button in your dialog based appln, then add it to the OnButtonClick() method the below piece of code.
WinExec("c:\\Polopo_MDI.exe",SW_SHOWNORMAL);
Regards,
Rane
modified on Wednesday, September 3, 2008 3:43 AM
|
|
|
|
|
Rane wrote: You may use the API WinExec
This function is provided only for compatibility with 16-bit Windows. New applications should use the CreateProcess function or ShellExecute.
|
|
|
|
|
|
how visual c++ project can be converted into executable form after some installation in any other system where even visual studio is not installed .
i hv used Inno Setup Compiler for this.....
but is there anyother software or method...?
|
|
|
|
|
shaina2231 wrote: i hv used Inno Setup Compiler for this.....
What is the problem with InnoSetup ?
|
|
|
|
|
using inno setup during conversion of visualc++ project into window installer set up ,it provides the option to add necessary files or folder to project. i want to add different foloders(database,songs etc that contain files for my program) but it extracts files (all files from added folder) to current directory of installed program not folders but i need folders ..
|
|
|
|
|
you have to specify the folder for each file, for example:
Source: "MyDir\MyFile.exe"; DestDir: "{app}\MyDir"; DestName: "MyFile.exe";
you can also use DestName to specify different name for the file
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
Please don't repost...
You can continue with the same thread.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi all,
I have a Dialog box on which i have made a list control, i have a class which is derived from CWinThread class.... now what happens is when i click on button values from list control is taken and passed to my second class(which is derived from CWinThread i.e i have started a UI thread). Now what i want is i want to pass the value which is calculated from this thread to my list control....
What message i should use for doing so...
Thanks in advance
|
|
|
|
|
You can create a user message and use it.
See here[^]See
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi friends
i want to create one rectangle box in that rectangle box inside displays the system date how to do that in MFC?
please give me your code snippet
Thanks and regards
Nisha.S
|
|
|
|