Click here to Skip to main content
6,634,665 members and growing! (16,175 online)
Email Password   helpLost your password?
Announcements
BullFrog Power
 
Search    
Add to IE Search

Articles by Naveen (1 article found)

Average article rating: 4.24

Shell and IE programming

Listing Used Files
Last Updated: 6 Jun 2008   Page Views: 74,523   Rating: 4.73/5    Votes: 52   Popularity: 8.11   Bookmark Count: 87
Licence: The Code Project Open License (CPOL)   
A ShellExtension that lists all the used files in a folder

Dialogs and Windows

Hide / Minimize a Dialog on Startup [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 4,079   Rating: 3.00/5    Votes: 2   Popularity: 0.90   Bookmark Count: 6
Licence: The Code Project Open License (CPOL)   
How to hide/minimize a dialog on startup
Find Which DLL / EXE Created a Window [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 3,304   Rating: 3.25/5    Votes: 3   Popularity: 1.55   Bookmark Count: 7
Licence: The Code Project Open License (CPOL)   
How to find which DLL / EXE created a Window

Shell and IE programming

How to open Popup Blocker Settings window of IE programmatically [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 2,597   Rating: 4.71/5    Votes: 3   Popularity: 2.25   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
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

Vista API

GetFinalPathNameByHandle API Hangs [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 2,099   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 0
Licence: The Code Project Open License (CPOL)   
GetFinalPathNameByHandle is an new API introduced in Windows Vista. We will look at how to resolve an issue related to its usage.

C / C++ Language

Dependency Checker [Technical Blog]
Last Updated: 21 Oct 2009   Page Views: 1,339   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
This is a simple light weight utility to find which all dll/exe/ocx in a folder uses a particular dll.DownloadSource File(DependsChecker_Src.zip)Execuatble(DependsChecker_bin.zip)My development environment usually includes large number of binaries. And I was working in some core library module which
new with empty bracket [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 1,390   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 1
Licence: The Code Project Open License (CPOL)   
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
How Local Static Variable Is Implemented in vc++ [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 1,743   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 2
Licence: The Code Project Open License (CPOL)   
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
Optimizing Storage for Constant Data [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 1,673   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 2
Licence: The Code Project Open License (CPOL)   
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
Loader snaps [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 1,537   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 1
Licence: The Code Project Open License (CPOL)   
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',
Pointer pointing to Stack or Heap ?? [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 2,063   Rating: 5.00/5    Votes: 3   Popularity: 2.39   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
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
Break application on dll Load [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 1,708   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
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
__asm int 3 in template function ( in VC6 ) [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 2,092   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 1
Licence: The Code Project Open License (CPOL)   
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
MessageBox in ExitInstance [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 1,900   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
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
When a MessageBox in InitInstance Didn't Show [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 2,131   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 2
Licence: The Code Project Open License (CPOL)   
When a MessageBox in InitInstance didn't show
WM_DEVICECHANGE problem [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 3,817   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
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
How to find whether the parent process is GUI or Console [Technical Blog]
Last Updated: 10 Apr 2009   Page Views: 3,369   Rating: 2.50/5    Votes: 3   Popularity: 1.19   Bookmark Count: 2
Licence: The Code Project Open License (CPOL)   
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
Centralizing modeless child dialog [Technical Blog]
Last Updated: 18 Apr 2009   Page Views: 2,172   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 2
Licence: The Code Project Open License (CPOL)   
Describes how to display a modeless child dialog at the center of the parent dialog.

Hardware & System

Function to get the local system Administrator Name [Technical Blog]
Last Updated: 8 Apr 2009   Page Views: 2,502   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 0
Licence: The Code Project Open License (CPOL)   
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

Naveen


Member

Occupation: Software Developer
Location: India India


Last Updated 23 Nov 2009
Web21 | 2.2.0175 | Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use