|
Leoinlove wrote: I need the code
I need a car.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
I too Vasudevan.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Did you consider applying appropriate NTFS permissions onto the folder?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
hi all,
I am using Windows XP with service pack2 which was working fine till one month earlier. now my machine gets restarted every five minutes. i could not find the reason for it.
i had already asked a suggestion here, about the local network connection plugin. until it gets started i could not perform any other operation. but now,
even after the connection is loaded, my machine gets restarted.
on tracing the event viewer,
i found out the following errors.
Event id :7034
The Message Queuing service terminated unexpectedly. It has done this 1 time(s).
Event Id : 7001
The Message Queuing Triggers service depends on the Message Queuing service which failed to start because of the following error:
After starting, the service hung in a start-pending state.
Event ID : 7022
The Message Queuing service hung on starting.
Event iD:7023
The Computer Browser service terminated with the following error:
This operation returned because the timeout period expired.
Event ID:7024
The SQL Server (SQLEXPRESS) service terminated with service-specific error 2148081668 (0x80092004).
Event ID : 7000
The Google Update Service service failed to start due to the following error:
The system cannot find the path specified.
Event Id:7001
The avast! Antivirus service depends on the avast! Standard Shield Support service which failed to start because of the following error:
The system cannot find the file specified.
The avast! Standard Shield Support service failed to start due to the following error:
The system cannot find the file specified.
Application POpup
Application popup: mqsvc.exe - Application Error : The exception Breakpoint
A breakpoint has been reached.
(0x80000003) occurred in the application at location 0x00000000.
Click on OK to terminate the program
Click on CANCEL to debug the program
i think might be due to the messanging service. could i set the service to manual instead of automatic.
Please help me with suggestions
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
There may be several reasons. A HJT log will reveal everything. But this is really not the place where you could possibly get help with HijackThis logs. I suggest that yo go to bleeping computer forums, and they'll do the needful.
|
|
|
|
|
hi,
Thanks very much for your response.
I have posted in the bleeping computer forums.
Thanks once again
Regards
Anuradha
|
|
|
|
|
Through my code, I am generating a file. I need to do the following
1. Protect the file, so that no one can modify it.
2. Make the file undeletable, so that not even the administrator can delete it.
Need to do this all programatically.
If any of you have any suggestions please reply.
Thanks
|
|
|
|
|
How are you generating your file? If you are using CFile, look at CFile::ShareExclusive()
|
|
|
|
|
Leoinlove wrote: 2. Make the file undeletable, so that not even the administrator can delete it.
Not going to happen. Even if you take away the administrator's rights to the file, they can take ownership and just reset the security. Local administrators can do anything on a machine, by design.
|
|
|
|
|
Hello,
I need to find out programatically the encoding format of a text file.
Do text files, have a header which contains the encoding format.
If it does then how do I view it/access it ?
The encoding I am referring to is - ANSI, Unicode, UTF8, UTF4, etc.
Any help is appreciated.
Thanks,
\deepu
|
|
|
|
|
Plain text files don't have any kind of header. The only reliable way to find out the encoding is to ask the person who created the file. If all you have is the file with no information about the language and character set, you can only guess and there's no guarantee that the result is correct.
|
|
|
|
|
My customer is copying their sales brochures onto thousands of USB drives. The problem is every time they insert a USB drive, PnP starts up the insane "Found New Hardware Device" process. It can take over 40 seconds per drive which really makes this app useless. The drives are identical accept for their serial numbers and they are only inserted once.
We've tried turning off the serial number recognition and it just doesn't work. We are still getting massive PnP delays and thousands of registry entries. We are looking to write a new driver if needed, just wondered if anyone else is fooling with this PnP too?
Has anyone found a way to avoid this lengthy delay by preloading a device driver? Similar to the NT4 days before PnP existed? Is there another way to fool PnP into bypassing the "New Hardware" routine or can I turn off PnP for certain device classes?
Any help is appreciated. You can tell by the time of day we are putting way too many hours into solving this deal breaker problem!
|
|
|
|
|
Ted Herron wrote: We've tried turning off the serial number recognition and it just doesn't work.
How exactly are you doing it?
|
|
|
|
|
Hello, I'm writing a digital image application and do not want the Windows WIA wizard popping up all the time. How do I disable WIA autoplay for all devices?
Note: we've tried to disable the service completely but then loose access to the cameras.
|
|
|
|
|
The wizard, wiaacmgr.exe, why not try this out - enter this program's details into your firewall settings and then set to disallow it from running.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Hi Richard, this doesn't work. I've actually renamed and deleted the wiaacmgr.exe in previous attempts and a new one is replaced.
Pretty sure the WIA service dll is controlling this process. I need to find a way to turn off its Autoplay. Here is a link to the UI I'm trying to get rid of:
http://www.tedherron.com/wia.jpg[^]
Its actually funny its this hard to turn it off. Tons of people can't seem to get it working!
|
|
|
|
|
Now I know, from your image link, what you were asking for.
You might be able to influence the autoplay handlers using the Microsoft TweakUI powertoy utility. Run TweakUI, tree on left, open up My Computer then AutoPlay then click the Types and Handlers (you'll need to do each)
Types if you uncheck the enable autoplay for CD and DVD Drives as well as for enable autoplay for removable drives, then, if necessary, edit the relevant Handlers by unchecking the relevant Supported Media checkbox, then you may have got what you need - Presumably, no more autoplay dialogs.
Whatever you do, make sure you take a note so that you can reverse changes made. Let me know if it worked!
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Hi Richard, yep I tried the Tweak UI tool as well. From its UI you'd think it would work as I disabled EVERYTHING I could but it still didn't work. You can see what I did in Tweak here:
http://www.tedherron.com/tweak.htm[^]
I'm sure there must be something in the registry to get this done.
|
|
|
|
|
I shall experiment using Process Monitor and an external USB Hard Drive and try and see what it calls in registry. I'll let you know sometime later today/tomorrow.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Hi,
I have not tried it, but I would if WIA was in my way:
- Start/Run: services.msc
- Select Windows Image Acquisition
- Click "Stop"
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
*laugh* I think about doing that night and day! The problem is when I completely disable the WIA service I can't get to the camera at all. With System.IO not working cameras / video devices I need to keep WIA running but want to kill that damn Autoplay window!
I'd sure love to take a bat to the person who decided to remove camera drive volume access from System.IO. I understand WIA has advanced functionality but why completely remove file based access to cameras and devices which essentially are removable storage volumes?! I've spent far too long learning WIA just to get a few files off cameras when I could have done this entire project in a day using System.IO.
|
|
|
|
|
OK, so I should expect the same trouble if and when I decide to switch to Vista.
Any luck with Richard's TweakUI suggestion?
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Luc, apparently it didn't help. However, I was curious of the activities when a USB Hard Drive newly inserted into USB port (PC never seen this device before), when, using SysInternals Process Monitor. Why, you get similar windows reaction if you insert a USB Hard Drive as you would if you insert any USB device including Cameras, and the amount of data recorded was astounding. It was still astounding after filtering. Registry Activity exported to a CSV file is 790KB and File Activity exported to a CSV file is 212KB. And all of that activity within a matter of seconds.
Having had a look at those activity entries, and the other stuff that Process Monitor records, it is, frankly, far too much time consumption just to find the odd entry of interest. But if anybody wants to analyse those activity files, i'll make them available minus any recorded personalised data items.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Backing up a removable disk to the registry? That's a novel idea.
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Nothing of the sort. Novel if it were true.
modified 1-Aug-19 21:02pm.
|
|
|
|