Thats just what i wanted... Thanks a lot :) Cheers Nagu
Nagendra Kamath K
Posts
-
DLL Version Information -
DLL Version InformationI wanted to read the version of a DLL through VB6. Please try and give a detailed description (or some example code) on how to do it. I went through a similar article here. But since I am relatively new to handling assemblies in VB6, request you kindly elaborate on the solution. Cheers, Nagu It does not matter WHAT you Say. It does not matter WHEN you Say. The only thing that matters is HOW you Say. Cheers, Nagu
-
detect Win32 events?Some time back, I was developing a similar application and had faced similar problem. Then, I had put up a similar question in CodeProject but under C# section. Then I had recieved a reply saying that a development kit called MS-DDK (Miscrosoft Device Development Kit) provided the solution for this problem. Unfortunately due to lack of time, I had to live up with the computationally intensive method of doing this. You can refer this DDK to accopmlish your objectives. I am just providing you a direction. I dont have any details regarding this since I have not worked in this. Cheers, Nagu It does not matter WHAT you Say. It does not matter WHEN you Say. The only thing that matters is HOW you Say. Cheers, Nagu
-
Run my process on sytem Start upIt depends whether you want to run an Windows application or a DOS program. If you want to run a DOS program and you are using Winpx versions of Windows, then you can add a line in AUTOEXEC.BAT to run your program while the Windows boots up. If you are running a Windows based application, then you can use something called Services. There are a lot of settings which can be made to a perticular service depending on the requirements. Cheers, Nagu It does not matter WHAT you Say. It does not matter WHEN you Say. The only thing that matters is HOW you Say. Cheers, Nagu
-
Closing an open Task Manager windowHow to close an Task Manager window which is already open. Is there a way to get the process id of the Task Manager and end it? Anykind of help is highly appreciated. CHEERS I.T. D.U.D.E
-
UnRegister a Service ProcessCan somebody tell me how to Unregister a Service Process so that its name is not displayed in the TaskManager Process List. I required the solution for Windows XP platform. For Win9x platform, we can do it with RegisterServiceProcess API supported by Kernel32.dll. But the same thing is not working with WindowsXP since kernel32.dll doesnot support this API or It does not have this entry point. Is there some other way to implement this. CHEERS I.T. D.U.D.E
-
Permissions for Registry EntryI had to disable Task Manager in Windows XP using C# application. This can be done by writing a Registry Key under Policies in Registry. But the problem i am facing is that when i a logged in as a limited user, it so happens that the Windows XP does not allow a ristricted user to access this part of the registry. Hence i will not be able to create/modify that perticular key in the registry. Please tell me how to sort out this probelm. CHEERS I.T. D.U.D.E
-
Starting a Process without logging on in WinXPI am relatively new to System Level Programming. Hence i dont know anything about it. Can you please tell how to make a process a Windows NT service ? I.T. D.U.D.E
-
Lost LinuxBoot again with the linux installation cd, and repair the already installed copy. In perticular re-install the copy of GRUB/LILO.
-
Starting a Process without logging on in WinXPIf possible, How to start a process/application before anybody logs on to the system. That is my process should be running even while displaying the Welcome Screen in Windows XP. CHEERS
-
Blocking Task KeysI have gone through all the articles in CodeProject reagrding hooks. I have understood quite something regarding hooks. The problems i have are: 1) What should the Delegate function should return so as to Block the keypress or not. 2) As given above, in VC++, the author has defined a structure called KBDLLHOOKSTRUCT which he is using to find which key was pressed by type casting LPARAM to this structure. I am not able to do that and hence forth not able to find which keys were pressed. CHEERS
-
Embedding VC++.NET code in VC#.NET ProjectIs there any method of embedding VC++.NET code in VC#.NET Project and using the different functions declared in VC++ code in VC#. CHEERS
-
Image trnasfer using RemotingUsing remoting, when an Image?Bitmap is transfered, it is recieved in "NativeImage" format, from which the Image cannot be got back. Is there any other method of transfering Image using Remoting. CHEERS
-
Blocking Task KeysFollowing is the VC++.NET code for the Hook Procedure passed as a parameter for the "SetWindowsHookEx" API call. This code was downloaded from http://msdn.microsoft.com/msdnmag/issues/02/09/CQA/default.aspx Can some one give the equivalent code for the following in C#. I tried a lot to do so but all in vain.
LRESULT CALLBACK MyTaskKeyHookLL(int nCode, WPARAM wp, LPARAM lp)
{
KBDLLHOOKSTRUCT *pkh = (KBDLLHOOKSTRUCT *) lp;
if (nCode==HC_ACTION)
{
BOOL bCtrlKeyDown = GetAsyncKeyState(VK_CONTROL)>>((sizeof(SHORT) * 8) - 1);
if ((pkh->vkCode==VK_ESCAPE && bCtrlKeyDown) ||
(pkh->vkCode==VK_TAB && pkh->flags & LLKHF_ALTDOWN) ||
(pkh->vkCode==VK_ESCAPE && pkh->flags & LLKHF_ALTDOWN) ||
(pkh->vkCode==VK_LWIN || pkh->vkCode==VK_RWIN))
{
if (g_bBeep && (wp==WM_SYSKEYDOWN||wp==WM_KEYDOWN))
MessageBeep(0);
return 1;
}
}
return CallNextHookEx(g_hHookKbdLL, nCode, wp, lp);
}Even a sample project which blocks all Task Keys that is Alt+Tab, Ctrl+Esc, Alt+Esc etc.. CHEERS
-
Blocking System from Executing certain Keypress CombinationsI wanted to block certain Key Combinations pressed by the user from being executed by the System when my application is active. For example in WIN 98 when any application is running, if the user presses Ctrl+Alt+Del, the Taskmanager will popup. I want to block such events from being happening when my application is active. Such blocking is to be implemented for certain combinations of Key presses. Exaplination with some code examples is highly appreciated since i need to implement this pretty urgently. :doh: CHEERS
-
Capturing a perticular part of an ImageI have an Image. I wanted a perticular part of that image of know dimensions that is the Rectangle is know. Can some one tell me how to get this perticular part of the Image. Cheers
-
Shutting Down WindowsHow can we ShutDown Windows using APIs ? I am sure its possible with APIs. If there is another way to ShutDown Windows using C# code. Then please do tell me. Cheers
-
Docking Application to the SystemIs it possible to Dock your application to the System (Desktop). An very good example of such an application is "Magnifier" which comes bundled with Windows. Your application should behave like a Toolbar. It should so happen that the application should always be active and all the other application open should not overlap your application. Is it possible to do this ? CHEERS - NAGU
-
Masking Keyboard and Mouse EventsI am developing a software where in I require to block the usage of Keyboard and Mouse and hence forth deny the usage of the system to the user. With KeyEventArgs I can block the usage of certain individual characters. But since i want to deny access of the whole system to the user, I need to mask even the Keyboard events such as "Alt+Tab" or "Ctrl+Alt+Del" etc... Any kind of help is appreciated. CHEERS - NAGU