Click here to Skip to main content

Articles by Naveen (Article: 1, Technical Blogs: 21)

Article: 1, Technical Blogs: 21

RSS Feed

Average article rating: 4.79

Shell and IE programming
General
Posted: 28 May 2007   Updated: 29 Sep 2010   Views: 260,196   Rating: 4.79/5    Votes: 81   Popularity: 9.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 196   Downloaded: 11,419
A ShellExtension that lists all the used files in a folder.

Average blogs rating: 3.17

Dialogs and Windows
Dialogs
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 18,922   Rating: 3.25/5    Votes: 4   Popularity: 1.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 0
How to hide/minimize a dialog on startup
General
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 13,615   Rating: 3.60/5    Votes: 4   Popularity: 2.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 0
How to find which DLL / EXE created a Window
Shell and IE programming
IE / Explorer plug-ins
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 13,459   Rating: 4.71/5    Votes: 3   Popularity: 2.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
How to open Popup Blocker Settings window of IE programmatically??Well it is with the help of "DisplayPopupWindowManagementDialog" function in the "C:\WINDOWS\system32\inetcpl.cpl".But here rather just showing a misterious function, I would like to explain the methods by which I found out the name o
Applications & Tools
Applications
Posted: 25 Jan 2011   Updated: 20 Feb 2013   Views: 26,613   Rating: 3.77/5    Votes: 10   Popularity: 3.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 1,283
LeakMon - Track Handle leak, GDI Leak and Memory Leak in your Applications
C / C++ Language
General
Posted: 21 Oct 2009   Updated: 21 Oct 2009   Views: 18,726   Rating: 4.25/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 846
This is a simple lightweight utility to find which DLL/EXE/OCX in a folder uses a particular DLL.
Posted: 31 Mar 2011   Updated: 31 Mar 2011   Views: 8,415   Rating: 1.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Explains how Leakmon is able to track down all the resource leaks
Howto
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 5,584   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Have you ever wrote a statement like..int *pnValue = new int[];One of my friend asked me what will happen if the above statement is executed. Executed ??? I though the code won't even compile. Surprisingly it compile and even returned a pointer. Wow that was some thing unbelievable.OK now the questi
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 8,905   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
As every one knows, static variables are initialized only ones, even though it is declared in a function. In this post, I will explain how the compiler implements this.OK let start with the storage of the static variables. Where do you think a static variable declared inside a function is stored? If
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 8,982   Rating: 4.25/5    Votes: 3   Popularity: 2.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
In programs we usually declare constant string data. Like..const char* g_pchar = "this is a string";You might be knowing that if we run multiple copies of a exe or dll, the code portion is not duplicated per process. So do the constant data. This is because the constant datas are stored in a special
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 9,244   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
In one of my previous post, I mentioned about breaking the executing on dll Load. This post is actually a continutation of that one.Normally if we start an application from the debugger in the debugging mode, the output window shows some messages as shown below.Loaded 'c:\WINDOWS\system32\calc.exe',
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 14,052   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
Today on Code project some one posted a question like "Is there any way to find whether a pointer points to stack or heap". Is there actually an API for the same??Well windows dosen't provide an API or a straight forward way to acomplish this. Any how we can find a pointer points to stack or heap by
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 9,844   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
What will you do if you encounter a crash in an application before it reaches the entry point ok exe. I. e the crach happends before the control reaches the WinMain. In such cases the crash might have happened in the dll loaded by the exe. To be more specific say in the DllMain() of dlls. In most ca
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 11,936   Rating: 1.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
We usually use __asm int 3 in the code to hard code break points. But have you tried setting a __asm int 3 in a template function? Like...templateclass T> int Testfunc( T Obj ){__asm int 3;return Obj++;}void main(){Testfunc( 1 );};The above code will never get compiled in vc6. It will generate the b
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 10,702   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Like the problem in displaying the message box in InitInstance of an APP class, there is a problem in displaying the message box in ExitInstance() also. Try the following code..int CMyApp::ExitInstance() {AfxMessageBox( "Some message from CMyApp::ExitInstance" );return CWinApp::ExitInstance();}The m
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 10,454   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
When a MessageBox in InitInstance didn't show
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 24,047   Rating: 4.25/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
In one our Projects at company, we used WM_DEVICECHANGE message to detect the arrival and removal of USB devices. The application was supposed to run on a machine in which will be running along with several other utility applications. Some months after the project delivery, client reported that, som
Posted: 8 Apr 2009   Updated: 10 Apr 2009   Views: 26,483   Rating: 2.36/5    Votes: 5   Popularity: 1.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
This is not 100% fool proof. How ever in normal cases, this works great. This technique can be used to find out, whether the child application was launched from a GUI application or from a Console application.if( AttachConsole( ATTACH_PARENT_PROCESS )){ AfxMessageBox( _T("Parent process is a con
Posted: 18 Apr 2009   Updated: 18 Apr 2009   Views: 10,257   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Describes how to display a modeless child dialog at the center of the parent dialog.
Windows API
General
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 13,706   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
GetFinalPathNameByHandle is an new API introduced in Windows Vista. We will look at how to resolve an issue related to its usage.
Debug Tips
General
Posted: 24 May 2011   Updated: 24 May 2011   Views: 8,954   Rating: 1.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In this post, we will see how the DumpViewer is able to open a particular file in Visual Studio and highlight the specified line.
Hardware & System
Clipboard
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 13,980   Rating: 1.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
A codeproject poster asked this question. He was already aware of the NetLocalGroupGetMembers function with which, was can the list of users in any groups in the system. How were he wasn't quite sure how to use it and there wasn't any sample code in the internet. So I wrote a sample and posted in co
No tips have been posted.
No reference articles have been posted.

Naveen
Software Developer (Senior)
Singapore Singapore
No Biography provided


Advertise | Privacy | Mobile
Web02 | 2.8.140826.1 | Last Updated 27 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid