|
How do I issue a suspend request to the system with a wakeup time. I read about using waitable timers. But can anyone show me how to do the same with an example in c#
Regards,
Manjesh
|
|
|
|
|
i have windows xp with sp2 an i have my pc as a server i wanna know if its possible to schedule the time of my remotes users . for example
i have 2 users an i want that user number 1 can only be connected 2 hours betwen 5 an 10 a clock and user number 2 can only conect 3 hours betwen 10 an 1 a clock
please help me whit this stuff
|
|
|
|
|
Sorry I don't have my XP books handy - they're at work, as I won't have XP in the house - so I can't give you a definitive answer. Since XP is not a server OS you may not have that kind of control; if it's the Home edition you definitely don't. But if it's there, it's in the Administrative Tools section, possibly in the areas for managing RAS or Users and Groups. Do some exploring... make a Restore Point, then go hunting and make any likely looking changes. If all goes wrong, Restore.
(I hate XP, but I love that Restore feature! I wish they'd thought of it in time for Win2K.)
"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
|
|
|
|
|
i'm on windows xp and I guess I boot on a network drive or something because whenever I run cmd it displays
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
U:\>
Now, How can I get from the U drive to the C drive? Like I want to cd to c:\temp
/\ |_ E X E GG
|
|
|
|
|
C:<ent>
"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
|
|
|
|
|
|
anyone has code snippet that create a folder and set shared folder with permission?
from,
-= aLbert =-
|
|
|
|
|
No.
Paul
modified 18-Jul-18 11:59am.
|
|
|
|
|
That wasn't nice, Paul. But it was funny...
"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
|
|
|
|
|
Hm, it was intended as a standard know-it-all answer to a lounge question - looks a bit dimwitted in here though
Paul
modified 18-Jul-18 11:59am.
|
|
|
|
|
It depends upon which operating system you're using, but generally you right-click on the icon for the resource you want to share, select Properties, then wing it from there. Somewhere there will be a tab labelled "Security" or "Sharing" or some such. Selecting that tab will take you to a panel that let's you select which Users or Groups the item should be accessible to. Play a bit, and learn; you really can't break anything in this area, though you may leave some resources open to outside attack. Just don't set Administrator permissions to "Deny" and you should be okay...
"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
|
|
|
|
|
i think i made u all mis-understand.
anyone has code snippet that create a folder and set shared folder with permission?
from,
-= aLbert =-
|
|
|
|
|
|
Check http://www.microsoft.com/technet/scriptcenter/scripts/storage/shares/stshvb01.mspx
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
NICE ONE! =)
from,
-= aLbert =-
|
|
|
|
|
I've written a program that detects the presence of a keylogger on a process ... If I detect one - I wish to scan the process and find the location of the dll who's being using as a logger ..
Michael Noam
|
|
|
|
|
I just-bought-a-month-ago computer, SONY model, crush without informing me a word before it drop death. many attempt had been made to restored it but fail! according to expert, the hard disk does not want to come to live again. I want to cry out loud because there are 80Gb of my documents in that crazy computer hard disk. I suppose to buy a 500Gb backup hard drive this sunday and transfer the data from the computer. anyway, i think it know my plan in advance and it just drop dead a day in advance. This SONY computer is real smart. it out smart me in all ways!!!! anyway, i hate computers in general particularly the sony one. you know there are lot of things that we should HATE computer. one of the thing that my mind could think of is "it act like our enemy". why? because when we are in a hurry and want to work fast, "this enemy" just crowl and start to count-the-grass walking. when we are not in a hurry, it work fast. you can try if you don't believe me (when in a hurry you open many programs or many file and want to print this and that, the computer just go down, find the garden and count the grass even though your house is sky high and no green thing around....). well, well, the more i talk about computer the more i hate it!!!!!
Any idea to rescue the file, please let me know...
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
There are companies that deal in data recovery. They aren't cheap, but if you really need those files badly, and as long as the magnetic media itself is intact, that may be your only option.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD
|
|
|
|
|
Thank you very much for your comment, I might be use bart pe[^] in order to access my C: drive from the CDROM.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
My first step would be to remove the drive and install it as a slave in a second computer. It may just be a controller failure in the Sony, and your files may be recoverable by simply copying them from the old drive to another one. Sometimes drives become unbootable because of disk damage, but can still be read in this configuration. If it works, you'll save the many thou$sand$ a disk recovery company will charge you. If it doesn't work, you're no worse off than now. Good luck!
"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
|
|
|
|
|
Thank you very much for your comment, my solution could be found from here.[^]
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
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,
|
|
|
|
|
just curious, but why would you like to avoid one to kill the process ?
(is your code a virus like ? )
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
You can't. Killing a process means the OS unceremoniously rips it out of memory. If an app were hung, and the OS notified it that it was being killed, then what? The app is hung and can't respond.
An app could also do all sorts of Bad Things in response (like a virus could run another copy of itself).
--Mike--
Visual C++ MVP
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD
|
|
|
|
|
the best technique (and only technique ) for this i have seen is to run two processes, process_a.exe and process_b.exe
In each create and open a handle of the other process, and wait for close notification of the other process, when you get that notify, just shell the process again.
please dont send me a virus
[[[ sig goes here ]]]
|
|
|
|