|
Thanks alot.
I will try this and let you the result.
v
|
|
|
|
|
It worked.
I appreciate your help.
v
|
|
|
|
|
Cool ,
Just out of curiosity, can I ask what your program does?
//Johannes
|
|
|
|
|
I am having my laptop I wanted to log its startup time and shutdown time in a text file so that i can see whether my laptop was used when I was not at home.
thanks
v
|
|
|
|
|
There is another way you can do that, i'm quite sure windows has it, but i cant remember what its called, you can like make it log things for differnt accounts. But your own program is probably allready better.
If you end up not wanting people to use it at all then just specify a power on and bios password, and protect all windows accounts with passwords
//Johannes
|
|
|
|
|
Yes you are right.
But I enjoyed making this small program
and also I want to catch my brother as he is saying that he does not uses my laptop and works on his own desktop. Lets see
v
|
|
|
|
|
Haha yea, stuff like that is fun make it like do weird stuff to, so he thinks he broke it, like play with Beep() or SetPixel()
//Johannes
|
|
|
|
|
Thats great.
Thanks for the idea.
v
|
|
|
|
|
So if your program finds activity on your laptop when you are not around, how will you know for certain it belongs to your brother? The evidence would seem circumstantial.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I have a fresh installed xp in my pc connected to a network.. and i forgott to disconnect it from the network while under installation process.. a trojan horse virus has infected me first before i've installed the norton 2007 systemworks w/ anti-virus.. that's why i intend to full scan the system for me get rid of it that virus.. and it was resolve and the virus was remove completely..
but the problem is??
the virus has change my xp system registry making it possible to create a Windows System Folders from my dirve C: like ProgramFiles and MyDocuments and DocumentSettings to be duplicated in the same location... and everytime i've created a new folder inside my drive C:? it always duplicated and once i've delete the new folder i've created? only one of the duplicate is erase and i cant erase the other because windows prompt me like this:
"Can not delete file: Can not read from the source file or disk" "click OK"
and when i intend to create a folder with the same foldername "PROGRAM FILES"?? then WINDOWS is restricting me to create a folder which already exitsing with the same name, and also the same with other folder besides from system folder inside drive C:\??
i know that creating folder with the same foldername in the same directory or location is restricted... but the troublesome is how's that happen that even i restarted xp i always see the duplicated folder of PROGRAM FILES and others system folder and also the new folder i've lately created.. even if run xp in safe mode or either command prompt safemode.. still i see those bunch of duplicated folders and i observe that those duplicated folder name is just something shortcut to the original folder... but even shortcut has different foldername or filename and they just the same on the target isn't it?? correct me if im wrong...
im not good in XP OS trouble shooting specially when it comes registry editing but as of my openion theres something registry related here needs to be fix... correct me im wrong...
Please anybody have an idea to deal with this problem and fix this annoyance..??
please???
thank you so much in advance to anybody's concerned...
|
|
|
|
|
Hello all,
I have a multi-core PC. How do I use both cores at the same time ?
Is it sufficient to start a second thread ?
Using Visual C++
Are two window procedures executed on different processors ? I guess not : I assume that as long as there is only one thread in an application, it runs the Window procedures sequentialy.
Thanks in advance for your help
Jean-Marie
|
|
|
|
|
Hi,
the operating system will look at all threads from all processes; any thread that
is not blocked (waiting on I/O completion, on timer timeout, ...) is "ready" and
a candidate for execution. These get ordered by priority, and the highest N are
selected to become the "current threads" on hardware capable of running N threads
concurrently (as in an n-way multi-core).
Each Control needs to be handled by the thread that created that Control, and normally
Controls are linked tohgether on Forms and the like, so typically they all get
serviced by a single thread, the GUI thread.
An app with only one thread will benefit from a multi-core only by the fact that
the remaining Windows activities can be executed by the other parts of the multi-core
(remember those dozens of processes and threads outside your app!).
To really take advantage of a multi-core you must either have several heavy-duty apps,
or have an app with several well-organized threads (so two or more threads
are likely to be "ready" at the same time).
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Hi!
I have been googling since yday, and even tried using all combinations, but had to ping you experts for some serious help!
How to I set properties for COM port using DOS in Win XP?!
No it may sound simple enough to use the mode com1:4800,n,8,1 and whoala! but nope i need to change the extended props like Timeout, XON/XOFF, CTS handshaking, DSR handshaking etc.
I tried mode com1: 4800,n,8,1,on,off,on,on,off,on,on but DOS duzn like the command and says "BAD COMMAND"!!!
Pls help its freaking me out!!!! I would really appreciate ur help!
------------------------------------
Vision is the ability to see the invisible
|
|
|
|
|
There are no options for this. All of this is controlled by the application opening the port for communication. There settings you see merely set defaults that each application can either use or ignore and set their own when they open the port. Just about all applications just ignore what you set in the Device Manager or using MODE.
|
|
|
|
|
Well, what properties are set using an application are reset to the defaults when the system is rebooted. However the mode command in DOS helps set the properties for the COM port and written straight to the registry.
I found out the way to change these settings, althought the change was trivial!
mode com1: baud=4800 parity=n data=8 stop=1 to=ON xon=OFF odsr=ON octs=OFF
and the properties are changed for com1!!
Thanks for the help!
Cheers!
------------------------------------
Vision is the ability to see the invisible
|
|
|
|
|
You actually have an application that still uses that old stuff?
|
|
|
|
|
Well, I haven't been able to find information anywhere else. I've tried Google, etc. Over the past two weeks or so, my computer has been acting strange. First, it would freeze after running idle for so long, and the light on the computer that indicates 'Busy' would stay on. I figured it was because I only had 256MB RAM and was using VS2005 Pro, Photoshop CS3, and other similar applications.
So I upgraded to 1GB RAM. Well, things load quite a bit faster. But at times my computer will still run EXTREMELY slow. Even when I first turn it on, open WinAmp, open Yahoo! Messenger, and open Internet Explorer. When I look in the Windows Task Manager, I see multiple instances of applications running. But they're like this:
'Winamp.exe'
'Winamp .exe'
'Winamp .exe'
And it's like that with a few applications. When I look in the application folder, those files exist. But the '* .exe' files are always several KB smaller than the actual application .exe. When I try to delete the files they will stay gone ... until I run the program again, and those files are right back in the folder, and right back in Task Manager. And when I attempt to close out one of the duplicates in Task Mgr., it closes the entire application, along with every 'instance' that's running.
Has anyone seen this before? I have no idea what's going on. LoL. But it's REALLY annoying. I'm thinking some sort of virus, though hoping not. But that's what it sounds like to me. =P
Thanks in advance,
Matt U.
P.S.
System Specs:
Windows XP Professional SP2
1GB DDR 333MHz RAM
2.6GHz Pentium 4
|
|
|
|
|
It does sound kind of weird, with a system of that specs you shouldnt really have any speed problems.
I can say that ive never seen or heard of multiple processes with a space before the file extension, so i dont know what it is. But i guess it could be a new way for malware (spyware/virus) to try hide within known processes as much as possible. But then again if the spyware is trying to hide, then it should'nt affect system perfomance. Since the when you delete the ' '.exe files they come back after re-running the main program i would really think thats it some type of malware, thats placed itself inside the main original .exe. and creates more of itself to try to run more (and infect more files). (the basic way of how a virus spreads)
Try using some varous scanners like the following:
Trend Micro House call (online free scan against virus and spyware)
Lavasft ad-aware SE personal (free spyware/adware scanner)
s&d search and destroy (free spyware/adware scanner)
You might also want to install something like avast (free for home use) and do a pre-boot scan. In other words do a virus scan before windows logon, and therefore before the virus loads (hopefully)
(you might want to install avast in safemode and then directlyh after perform a boot scan. note that you will have to re install avast in normal mode for it to be able to create the services to work when a user is logged in)
It could also be time for a clean window re installation, cause as you might know windows is kind of self degrading (time bomb).
Hope this helps
//Johannes
|
|
|
|
|
Malware, most definitely. Try to run a scan from an unaffected system (Boot a Live-CD with anti-virus software - i think both UBCD and EBCD (Ultimate and Emergency Boot CDs) offer a scanner, but I cannot be sure.
Possibly Brontok.CV:
http://www.sophos.com/security/analyses/w32brontokcv.html[^]
Cheers
Sebastian
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Well, I found out what the problem was with the slow performance. I actually began to receive BSoD's quite often. Sometimes I could sit at the computer for three or four hours, and sometimes only three or four MINUTES are Windows loaded, then the BSoD would appear. It was always something different. Two different times it mentioned 'sysaudio.sys' and 'win32k.sys'. Other times it didn't mention a specific filename.
I found out that it was my stick of RAM. My computer is supposed to take 333/266MHz DDR. The RAM I had was 400/333MHz. But I don't understand why it was giving me problems because I installed the RAM about a week ago. I didn't have the problem immediately after installing the 1GB RAM.
But today I replaced the 1GB (and returned it to the store) with the original 256MB RAM that originally came with the machine. My computer has been on ever since I did that, and I haven't had a single problem out of it. Well, no problem except for slow performance due to only 256MB RAM. =P
I don't know what the deal is with the space between the filenames and their extensions. I installed my anti-virus (Panda Titanium Anti-Virus 2008), updated the virus definitions, and immediately ran a complete system scan afterward. It didn't find any problems except for a stupid adware object. So I don't know what is going on with it.
Thanks for the help though.
|
|
|
|
|
I really hate to say it like this, but:
Are you WILLINGLY ignoring the fact that your computer is infected with malware? Are you oblivious to the fact that there IS MALWARE THAT CAN HIDE FROM AV-SOFTWARE OR DISABLE THE SOFTWARE by manipulating the AV-configuration?
The deal with the space between the filename and the extension is that you are infected. You need to boot the computer into a seperate system. I suggest Knoppix. Then download some AV-software, along with recent sigs, THEN rescan. Then use a different software. Check your WIN.INI, SYSTEM.INI, Registry etc. for autostarts.
Dammit, don't be a security risk, I beg you. You're supposed to be a professional...
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Hi all
m using Windows XP Professional. I lost Folder option menu from Tools menu so i format all system with fdisk then i install XP but now When i click on
Tools >
Folder Options >
Viewtab >
show hidden file and folder system restart
my system gets restart
same thing happen with my another system also
Is there any virus or spyware
The Stifler
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
My software requires the configuration of a certain group policy setting. This setting can be found within gpedit.msc at "Local Computer Policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment", and is called "Deny access to this computer from the network". I am looking for an automated way to configure this setting, but haven't had much luck. I've found other group policy settings in the registry, but this one seems to be stored elsewhere.
I'm not picky about the solution, as long as it can be performed by an installer.
|
|
|
|
|
hi all
i am using windows XP Pro.
when i start command prompt from RUN or from accessories it get flick and command window gets close.
please tell me what i can do to start that command prompt
The Stifler
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Open your WINDOWS folder, sub-directory, system32, and locate, cmd.exe
click
|
|
|
|
|