Hey Joan, I think this tool has already been mentioned in this forum before. :) Regards, Vijay.
vijay_aroli
Posts
-
Downloading a web to your computer -
Files and FolderCheck Out PathFileExists[^] API
Regards, Vijay.
-
Happy Birthday to...Happy Birthday , Rajesh!! :)
Regards, Vijay.
-
Convert Integer to CStringIn addition to what Rajesh said, I would also advice you not to use SMS text while posting messages here. :)
Regards, Vijay.
-
How to search and delete a fileIf you already know the path of the file to be deleted, then you don't have to search for it. You can use
PathFileExists()
function to see if the file exists. you can also use the functionPathIsDirectory()
to see if given path is that of a directory or a file. The below code snippet might make the point clear to you.TCHAR szFilePath[MAX_PATH];
_tcscpy(szFilePath, _T("C:\\file.txt") );//Check if the file with the given path really exists and is not a directory.
if(PathFileExists(szFilePath) && !PathIsDirectory(szFilePath))
DeleteFile(szFilePath);//delete the file 'C:\file.txt'Regards, Vijay.
-
Cannot run the exe of my applicationI have been working on VS2005 for the past one month now. I am working on an MFC application which runs fine when run through code. When I try to run the exe of my application from the debug/release folder, a runtime error with a message "This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information". When I use Dependency Walker, I see that the exe makes a reference to DWMAPI.dll. I searched on Google and found out that DWMAPI.dll is not available on WindowsXP. Some other people had mentioned about the same problem, suspecting that IE7 might be the cause for the problem. I uninstalled IE7 and the exe still could not be run. After uninstalling IE7, the Dependency Walker says that it could not find IEUI.exe along with DWMAPI.dll. So, I think IE7 was not the cause for the problem. I have been trying to solve it since past two days, but with no success. I had never had that error popping up when I used to write applications in VS2003. Had anyone come across this problem before? If yes, what did you do to solve it.
Regards, Vijay.
-
How to remove a folder and all its contentsYou can delete any directory using
RemoveDirectory()
function, provided that the directory which is being deleted is empty. So, you will first have to delete all the files of the directory (by usingDeleteFile()
function) and then useRemoveDirectory()
to delete it.Regards, Vijay.
-
To Indian Article PostersThose are very valuable tips for anyone who wants to write the article for the first time here. But, I wonder how many of those Indians who write such crap articles would actually come here,read this and follow them? :rolleyes:
Regards, Vijay.
-
Pdf reader? - okay I get it FOXIT :)Zoltan Balazs wrote:
what pdf reader are you using?
Foxit Reader. :-D
Regards, Vijay.
-
identifying a system -
identifying a systemIn addition to Rajesh's reply, you may also consider using the serial number of the hard drive too.
Regards, Vijay.
-
Ctrl Alt F4When I entered the forum here today, I saw your post at the top and just asked myself -"Am I in the Lounge?". I had to check once to make sure that I was in the C++ forum and not in the Lounge. :)
Christopher Duncan wrote:
hey, I'm just a geek like everyone else around here. Some days are good, some days are okay, and some days the screen turns a particularly interesting shade of the color blue.
Yes, but I believed that people with reputation as high as yours either don't face any problem while programming or they restrain themselves from asking for help here if they face any. But its really nice to see you post a question and ask for help here. ;)
Regards, Vijay.
-
MVPness :)Congrats, Ravi!! :)
Regards, Vijay.
-
Session Variables is only working on the Same Page but its not transfering the value to another page in asp.net 2.0 [modified]Another programming question here in the Lounge. :mad: And this is not the first time that you have posted a programming question here. :doh:
Regards, Vijay.
-
I'm a dad!Congratulations!!! :-D
Regards, Vijay.
-
Ctrl Alt F4Hello sir. It looks like your problem is solved. Good to know about that. I was really surprised to see you post a question here. Honestly, I never ever thought that I will see someone like you to post a question here. :) BTW, I have been a great admirer of your articles. :)
Regards, Vijay.
-
Spam alert!! [modified] -
Tank article -
compisite classare you talking about the concept of 'Composition' in C++?
Regards, Vijay.
-
How to get appear times between 2 and 5 in a vector?:confused:
Regards, Vijay.