|
But I dont undrestand what you said? it seems you answered to a question and some people told you that your answer was wrong,right?
|
|
|
|
|
She is asking why her answer was wrong.
-Saurabh
|
|
|
|
|
Saurabh.Garg wrote: She is asking why her answer was wrong.
thats the question!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
Isn't that obvious?
Seriously though I have no idea and thats what I thought was the question
-Saurabh
|
|
|
|
|
i must recommend her a good tutor
|
|
|
|
|
For what - English or programming?
-Saurabh
|
|
|
|
|
Saurabh.Garg wrote: For what - English or programming?
might english langauge , though i require it too
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
From MSDN.
"SDI applications allow only one open document frame window at a time. MDI applications allow multiple document frame windows to be open in the same instance of an application. An MDI application has a window within which multiple MDI child windows, which are frame windows themselves, can be opened, each containing a separate document. In some applications, the child windows can be of different types, such as chart windows and spreadsheet windows. In that case, the menu bar can change as MDI child windows of different types are activated."
-Saurabh
|
|
|
|
|
hi...
am using monthly calendar control.
in monthly calendar control if we click a date i have to get that date.
how can i get cliecked date?
if anyone knows help me.
thanks...
paulraj
|
|
|
|
|
|
Hi,
Normally many softwares installation comes with expired date.
Just i want to give expiry date for my EXE in Install shield. Im using VC++6.0 Install shield. Just i didnt any option to give this details. Pls any idea or any tutuorila is available for Install shield options?
Anu
|
|
|
|
|
You can use of current date and time when you want to run your program and also see CertOpenStore and CertEnumCertificatesInStore .
|
|
|
|
|
You mean like a demo app that is active for 30 days ? You have to handle that in your application, Install shield won't do that for you.
|
|
|
|
|
Then Ok. Thanks for your reply.
Actually now i have 30minutes demo of my application coded in application itself.
Now i will try to convert it to 30days.
Anu
|
|
|
|
|
Hi Friends,
I need to develop a plugin to add my own toolbar in Outlook express/ Windows Mail.I tried to get handle of window mail window (while it's running); then placed my toolbar in some desired position in the windows mail window, but as we hide some of the toolbar window; my own custom toolbar gets displayed;
kindly help me in this; as Microsoft Outlook has its own object model and allows to customize its GUI and rest handles by itself.
Do we have any such mechanism to use for GUI customization, in case of Outlook Express/ Windows mail also.
I am using in win32 c
Kindly help me in whatever way you can , coz I really NEED it ASAP.
Thanks in advance!
dolly,
N,IN
|
|
|
|
|
|
Hi all,
I have made a dialog based application from which i am trying to delete various other files.. my problem is it deletes all the file from the folder but leaves itself and the folder there only.... how can i delete it.
Thanks in advance
|
|
|
|
|
An executable cannot delete "itself". You may consider a script, or a batch file which will have all the files of your interest deleted. Here's a batch file, which works for me:
@echo off
sleep 50000
del /q "D:\files\file1.txt"
del /q "D:\files\file2.txt"
del /q "D:\files\MyDialog.exe"
del /q "D:\files\mybatch.bat"
exit
Whereas mybatch.bat is the batch file itself. Finish the stuff with your dialog and call this batch file with a ShellExecute()[^]. I've added a delay at the beginning of the batch file to make sure that the dialog gets enough time to quit.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hi Rajesh like yesterday?why you told good answer!
|
|
|
|
|
Ah! I never knew that posting a good answer would get me a 1 vote. I wish the poor 1-voting creature all the happiness he could get. He'll need it to live with his lowly attitude.
BTW, Thanks for the vote.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Rajesh R Subramanian wrote: Ah! I never knew that posting a good answer would get me a 1 vote
Its not only for you its for some members.
|
|
|
|
|
Like - I belong to some kind of a special members group?
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hi Friend,
You should try this trick :
There are several tricks for making programs that are in one way or another able to delete themselves, without leaving any traces in the system.
One of the most wide-spread techniques, and also the one which is supposed to be one of the most platform independent (between Windows versions) is the following:
1.
Start the program you want to delete (EXE1).
2.
From this program, drop a second exe file (EXE2).
3.
Open a file handle to EXE2 from EXE1, using CreateFile, with the flag "FILE_FLAG_DELETE_ON_CLOSE".
4.
Execute EXE2 from EXE1 (e.g. with CreateProcess), causing the operating system to open another file handle to EXE2.
5.
Let EXE1 exit and terminate (which will implicitly cause its filehandle to EXE2 to close, leaving only the operating system's filehandle to EXE2 left open).
6.
EXE2 waits for EXE1 to terminate, and as soon as it detects this, it deletes EXE1 from disk.
7.
After successfully deleting EXE1, the job of EXE2 is complete, and it exits and terminates, causing the operating system's filehandle to it to close.
8.
The general concept and idea is now that EXE2 should immediately be deleted upon this closing of the last open file handle to it. This is also a seemingly correct assumption, especially when you read the entry for the "FILE_FLAG_DELETE_ON_CLOSE" flag of the CreateFile API in the Win32API reference
Or you can visit the following link :
http://www.woodmann.com/forum/archive/index.php/t-4542.html
Have a Good Luck...
Jagdish Bhimbha
S/W Developer
|
|
|
|
|
Jagdish V. Bhimbha wrote: Open a file handle to EXE2 from EXE1, using CreateFile, with the flag "FILE_FLAG_DELETE_ON_CLOSE".
This does not work on all platforms. Sometimes CreateFile() will return INVALID_HANDLE_VALUE and GetLastError() will return ERROR_ACCESS_DENIED . This is because the OS supports the ability to share a file with delete access.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
If you want to delete the folder after deleting the files.
You this syntax.
_wrmdir(dirname );
Thanks and Regards.
SANTHOSH V
|
|
|
|