|
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.
|
|
|
|
|
Hi,
I wanted to know how we can differentiate between old and new xp os.
What are the version numbers for each?
By old and new i mean that in one any one can access C:\Program Files and make changes.But in new only admin can make change to C:\Program Files.
I hope i am right in my understanding
Thanks
|
|
|
|
|
The difference between the new and the old os xp version is that, the old xp os
has only limits in terms of updated services, while the newer release now has a lot of services being installed into ur drive whether it is useful or not to your program. that is how, many of us has its own questions why my pc is too slow for my machine that has a 2.66ghz speed, 512mb of ram and intel boards?
i hope that this would be a help.
THANKS TO: LINUX SLACKWARE, for releasing the new version of slackware.
|
|
|
|
|
The two major editions are Windows XP Home Edition, designed for home users, and Windows XP Professional, designed for business and power-users.
Windows XP 64-bit Edition - Designed specifically for Itanium-based workstations.
Windows XP Professional x64 Edition
Not to be confused with the previous 64-bit Itanium edition of Windows XP, this edition is based on Windows Server 2003 and supports x86-64 extension of the Intel IA-32 architecture.
Windows XP Media Center Edition - Designed for media center PCs.
Windows XP Tablet PC Edition - Specially designed notebook/laptop computers called tablet PCs, the Tablet PC Edition is compatible with a pen-sensitive screen, supporting handwritten notes and portrait-oriented screens.
Windows XP Embedded
An edition for specific consumer electronics, set-top boxes, kiosks/ATMs, medical devices, arcade video games, point-of-sale terminals, and Voice over Internet Protocol (VoIP) components.
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
Start-->Run
type in the box winver.exe
Then google the version number.
“If we are all in agreement on the decision - then I propose we postpone further discussion of this matter until our next meeting to give ourselves time to develop disagreement and perhaps gain some understanding of what the decision is all about.”-Alfred P. Sloan
|
|
|
|
|
Just look at the differences between the versions when you run winver.exe...
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi all.
Is a windows service running under LocalSystem account capable of creating a hidden window, thus it can receive windows messages from the OS or the rest of the windows, even if it is not interactive?
I am writing a service using asynchronous sockets and I wonder if such sockets mechanism would work to a system service.
|
|
|
|
|
I don't know. What is keeping you from trying it and looking for the result/error/exception?
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
|
|
|
|
|
Services can create hidden windows as long as they are created with the interactive flag. Interactive Services[^]
Asynchronous (non-blocking) sockets, per se, work fine. I've never used the built-in socket classes (CSocket or CAsyncSocket) - I've always written my own since I don't like using the windows message loop as my notification mechanism.
Judy
|
|
|
|
|
I have an icon in the tasktray that won't go away. It keeps poping up a security alert from some stuck software there by Antivirgear.
How do I remove it? I have scaned the registry and have removed all references that I could find. I have search all the files, removed all the files it instaled, etc.
The World as we think we know it Has a lot more to it than meets the eye.
A Mad Scientist who has seen it for himself....
|
|
|
|
|
Well... reinstall the software that sends the icon. Also: It may be a Windows Security center alert. Then you will have to go to the security center, warning options and disable the "alert me if no antivir was found" option.
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
|
|
|
|