|
Hi ,
I have a problem for which, I found no solution till now. Would be very happy if you could help me in this. This is in Windows OS.
I have a C# .NET windows application running. I go to TaskManager and kill the process. Now, I want my application to be aware of this killing.I tried all the WIN API's and events too but nothing is fired back to the application.
All these Closing and Handle destroying events are called only when I close the application.
Please help me in finding a solution for the same.
Thanks and Regards,
|
|
|
|
|
Manivannan:
Windows would'nt definitely support this. Had there been an exposure of API call from Windows trapping Kill from TaskManager, Spyware, Viruses and other malicious programs would become very overjoyed.
Deepak Kumar Vasudevan
Personal Web: http://vdeepakkumar.netfirms.com/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
Only one way I know - you must write a driver that hooks a NtTerminateProcess, NtShutdownProcess functions exported by ntdll.dll. From user-mode you're not allowed to hook this functions.
|
|
|
|
|
We are working in a new program at work and this is the code for the macros. I was wondering what language this is. Thanks.
<?xml version="1.0"?>
-<TNBRIDGE>
-<Macros MRUName="rc">
-<macro version="1" autosave="False" Name="rc" datetime "6/27/2005
10:23:15 AM">
<Action Row="3" Col="5" Type="1">nx</Action>
<Action Cursor="168" AidKey="ENTER" Type="2"/>
</macro>
-<macro version="1" autosave="False" Name="amb" datetime "6/27/2005
10:28:36 AM">
<Action Row="1" Col="53" Type="1">017</Action>
<Action Cursor="61" AidKey="ENTER" Type="2"/>
</macro>
</Macros>
</TNBRIDGE>
|
|
|
|
|
This is not a language. What you have here is an XML format data file.
A picture is worth a thousand words, but it uses up three thousand times the memory.
|
|
|
|
|
|
As PJ stated, this is a data file.
I've worked on numerous client/server projects lately that involve client apps sending requests to a server app via an XML file. The server app then returns success or failure via XML as well.
Your example doesn't necessarily have to an advanced client/server situation, but it's definitely a file that is used by some application in its work.
(There's no way to tell what the actual application is written in by knowing that it uses XML files)
Cheers,
Tom Archer - Visual C++ MVP
Archer Consulting Group
"So look up ahead at times to come, despair is not for us. We have a world and more to see, while this remains behind." - James N. Rowe
|
|
|
|
|
Hi,
I need to know how to capture the killing of a C# windows application from task manager.Does any event of the application can be trapped to know this.
Please let me know your suggestions
Thanks
|
|
|
|
|
|
Hi I am new to regular expression, I have situation where I need to grab the value from the html page between the html tags and write out some where in that page. for example if I would like to grab the date between the open tag and close tag below. what should I do? Assume every page I will have Date_x0020_updated in side of open tag and close tag.
<mso:Date_x0020_updated msdt:dt="string">2005-04-06T00:00:00Z</mso:Date_x0020_updated>
Thanks in advanced
Lair
|
|
|
|
|
Use the method getElementsByTagName with the arguement "mso:Date_x0020_updated" which will return u a collection of those objects in the html page. Then with each HTML object call "innerText" or "innerHTML" to obtain the content between the object tags. No need for regular expressions to do this. or if getElementsByTagName is not available and you are using the HTMLDOM then try the document.all.tags("mso:Date_x0020_updated") to get a collection of objects and then for each item in the collection use innerText or innerHTML.
Cheers,
-Erik
|
|
|
|
|
Hi all,
sorry, I'm not sure whether I post this in right place or not
could anyone help me where I can find the code coverage tool that supports both Java and C/C++ languague
Thanks in advance
|
|
|
|
|
Suppose I want an application which takes a source file and outputs its data members and functions.
Supposed to develop into a kind of class view explorer.
Regarding parsing the source file ....
should i go for using regular expressions rules for this parsing or
should i go for a language representation in context free grammer[CFG] and use the CFG rules for parsing
or is there any other possible ideas for source file parsing
awaiting advice
fordge
|
|
|
|
|
I have developed IP SoftPhone based on H.323 Protocol in vc++;
It has traditional calling features like :
1)PC-PC and PC-PSTN CallHandling
2)CallTransfering
3)CallForwarding
Extra feature:
A)Browsing facility
ajmal siddiqi(ajmal_qau@yahoo.com)
|
|
|
|
|
Hi all!
I just want to make an application to autosave my "opened or active documents"..
I have searched a lot regarding this matter but....
anyways Please help me in this matter
I'll be very thank ful to you..
waiting for your kind reply
Muhammad Amir-ul-Amin ( M e e R )
|
|
|
|
|
I need to create a method to collect the event and audit information from all of the computers in which I am responsible for. I have created a database, DSN, vbscript, and made it into a service. I am still having problems making the service part work. It will start and then stop immediately. The source is available if any one is interested in helping with this project.
Thank you,
Scott A. Dyer
sadyer@ucdavis.edu
|
|
|
|
|
You might check the account the service runs under. If it is LOCAL_SYSTEM_ACCOUNT then it might not have network permissions to go out to read the other machines. If it is a local user account, then make sure the user account has enough admin and netwokring privileges to query the other machine's information.
|
|
|
|
|
We are moving our access application on windows forms. There is a builtin option in MS office tools like AutoCorrect option. like we do typing in word docuemnt and incase we do some typo mistake in speed it automatically correct that word. Automatically uyse suggestions froim the spelling checker.
I hope there would be an easy way in .NET to use this file and use its capabilities as well. An urgent reply with any help code example project will be highly appreciated.
Thanks in advance.
|
|
|
|
|
I would LOVE to see an Article that steps the reader through creating some sort of Custom Evidence. Serializing that evidence and compiling the result into an Assembly using the 'AL' utlity. Then implementing a Custom Membership condition evaluating the Custom Evidence. Correctly adding the Xml representation of the Custom Membership to a Code Access Security (CAS) Permission set and GAC. Finally, the article could finish off by executing the Original Assembly that the evidence was compiled into and seeing if it actually works!
Basically, I don't see enough information out there that describes an end-to-end scenario where Custom Evidence, Membership Conditions, and Permissions/Permission Sets are implemented and used. Yet I CAN see why these could be useful. (Like if you wanted to limit the Time of day that an assembly was allowed to execute or something like that.)
Chad Stoker
|
|
|
|
|
pls can anyone help me with the source code to enable me convert from exlcel to pdf?
|
|
|
|
|
I want to write a VS.NET 2003 "Add-in" which can auto insert some controls (such as TextBox, Label, ListBox, etc.) to current .aspx page at design-time (NOT run-time).
Thanks a lot!
|
|
|
|
|
|
hi all!
Can any body guide me how to and where to start i want to work on thumb recognition device. i need efficient thumb comparing algos and guidance related to it
THNX
I M new in .net
|
|
|
|
|
Hi All,
I want to investigate if there is a way to convert a Dll File which is not a Com Component to a Static Library File So that it can be packed into the Installation Program. I tried one Tool from Binary Soft called "Dll to Lib" it is a fantastic tool. & free to use ( I hate it when it displays a Message while using that very Lib. File). But i want to know if anybody knows similar tool Open Source or Free.
If it is not then OpenSource Comunity must Develop it.
Thanx.. all
Manmohan Singh Sarwara.
|
|
|
|
|
You can use the VC++ compiler's command line tools to do this already. It's a manual process so perhaps if you created a very simple shell around it that's all you would need.
How to create .LIB without Source or OBJ[^]
8bc7c0ec02c0e404c0cc0680f7018827ebee
|
|
|
|