|
FileStream with path passed in string[] args I would imagine.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Thank you, I know it was a simple thing but I didn't really know how it worked.
|
|
|
|
|
Hi,
I'm uasing "Shared Add-in Support Update for Microsoft .Net Framework 2.0 KB908002" as pre-requesites to load some Office plug-ins. I want to know whether this plug-in has been already installed or not? So far i couldnt find proper registry entry also.. Can some one tell me?
Thanks.
|
|
|
|
|
How does C# comes into play? You want to write a code for it?
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
I have written the form in C# and I needed to know how to read the file sent via IE. Dave answered my question - IE sends you the temp file path as an arg and I can read it from there.
|
|
|
|
|
I seriously think that he wants to write a C# code to detect plug-ins in the windows registry, look bro, thts simple, do u know how to use google..........start from scratch and someone will help u out if u r struck.........we dont provide ready made solutions.........do ur homework first.......
|
|
|
|
|
Not at all, bro. I do know how to use google, bro. I used google extensively, bro, when searching for this, bro. I guess, bro I need to work on my search skills, bro. And I wasn't asking for ready made solutions. Read Dave's post above, that's all I needed. Yeah I know, simple huh bro? Cheers and thanks to Dave.
|
|
|
|
|
Hi guys!
Im trying to detect when a user "kills" my c# app using windows task
manager(so i can prevent it), i've tried with the form events _closing and _closed managing but it won't satisfy me
any one got any idea?
tancs
|
|
|
|
|
Yeah, you can try giving up, quitting or obtaining common sense.
|
|
|
|
|
what do u mean? what are those programs working like some of antiviruses that doesn't allow users to kill them from taskmanager?
|
|
|
|
|
Their called services
only two letters away from being an asset
|
|
|
|
|
so there is a solution, but if u know where should i start?
|
|
|
|
|
They never researched how to "share" keyboards and mouses in their "office"
Stop trying, you lose.
|
|
|
|
|
Those are all utilities that come with Windows. I think they're in the GetAFuckinClue folder.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Watch the language, please. Inappropriate and unhelpful.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Did someone rat me out, or do you check all of my posts as a matter of course?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
37% of our overall processing power is devoted to tracking everything you do.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I thought it was more than that.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Only 37%, seems low doesn't it?
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
They've probably got an 8-core system watching all of the forums (except the VB forums of course), and a custom event is triggered whenever I write a message, and it continues to be sent until someone looks at the message in question. Sometimes, just to screw with them, I write a lot of single-word messages just hoping to bring their event manager to its knees.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
This reminds of either a NT service or a virus. What is your application?
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
it is a kind of viewer app over the network, it simply manages computers and communicate with the central server,
like a class viewer.
so i dont want the users to close the client!
|
|
|
|
|
Still suspicious. Create something like the NT services.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
If the machine's user has the prerequisite knowledge on how to terminate a process, your process is toast. Nothing you can do.
You could use a service to respawn it, but if the service is knobled first you're screwed again.
If it is a client/server network app then use a heartbeat of some kind to detect machines with the "class viewer" no longer active and report it to the admin.
Bar fomos edo pariyart gedeem, agreo eo dranem abal edyero eyrem kalm kareore
|
|
|
|
|
If the users don't have admin privileges start it automatically with a service in an account that does and restart it as needed*. If they have admin privileges there's nothing you can do.
* in theory you could have the GUI in the service itself, but that's not a good idea, since Bad Things happen when your service tries to create a GUI object when no one's logged in and there isn't a desktop to create it on.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|