|
|
|
Thanks Michael ... it was really very helpfull ..
Regards
Abhinav
HCL Technologies, Noida(India)
|
|
|
|
|
Here[^] is the description of this file from Microsoft.
|
|
|
|
|
I was trying to retrieve the USB's VID(vender IDentifier), and I was expected to provided with a hexadecimal number like 0X-* to compare against, but actually It was a human readalbe string like say "Samsung". When I look into the registry, I found out under the registry path HK_LOCAL_MACHINE/SYSTEM/CONSTROLSET001/Enum/USB there contains several USB VIDs, but none of them contain human readable string they're just numbers. But when I look down further there's a USBSTOR directory which has the name like "Disk&Ven_FUJITSU&Prod_MHT2030AT&Rev_009B", "FUJITSU" is just what I wanted but is there any corresponding relation exists between USB and USBSTOR directory?
-- modified at 0:50 Monday 24th October, 2005
|
|
|
|
|
Let look back in the USBSTOR directory, then to the disk folder and try to find the key FriendlyName . I think you might satisfy with its name that you might want to use. Let me know if it is match what you need or not?
|
|
|
|
|
Hi Roath:
Later I came to know that there's two categories about USB disk ID, One is Vender Code(I mentioned in previous message), another is Vender IDentifier(What I wanted)!
Yeah, The registry key FriendlyName and the other Device registry property codes in SETUPAPI.h catchs my eyes too!But the question is I get nothing when I used SPDRP_FRIENDLYNAME in SetupDiGetDeviceRegistryProperty(...) under NT probably in Win98 too
The current implementation was using device interface GUID in SetupDiGetClassDevs() then using SPDRP_HARDWAREID in SetupDiGetDeviceRegistryProperty(...), In this case SPDRP_HARDWAREID was like
USBSTOR\DiskManufacturer__Mass_Storage___0.00. It works well under NT, but corrupt in Win98 because of the device GUID I used! But usb device GUID(not previous device interface GUID) works well under both scenarios, but SPDRP_HARDWAREID in this case was like USB\Vid_0457&Pid_0151&Rev_0100(Vender Code)
It seems the same SPDRP_HARDWAREID in one USB disk present different forms, Under USB registry dir is USB\Vid_0457&Pid_0151&Rev_0100, STOR\DiskManufacturer__Mass_Storage___0.00.
under the USBSTOR, which all have the same registry key "HardwareID". And USB simply doesn't have the FriendlyName key, which USBSTOR does, So I don't think FriendlyName will work under Win98 either!
I plan to turn to DevMgr.dll, ideally I can find one of the functions in this dll which helps me to locate the Disk Drive tree item, and then enumerate through its child, finally find the item I want! But that may not be feasible!
|
|
|
|
|
Hello. I'm not sure if I'm posting in the wrong section. Sorry if I am. Umm.. so I've become accustomed to using a middle click to close tabs (like in Firefox)... is there any sort of way to make a window close by clicking on its entry in the taskbar?
Brian
|
|
|
|
|
Sure! Right-click on it in the Taskbar, then select Close.
"...a photo album is like Life, but flat and stuck to pages." - Shog9
|
|
|
|
|
Haha, nooooooooo! I want to be able to middle click on it and close it! I'm far too lazy for the above listed action. Haha, well... not really, but it would be a little more convenient if there was a way to close a window with a middle click.
Brian
|
|
|
|
|
How about clicking on the close button which is located on the upper right of the windows? it just a single click.
|
|
|
|
|
hi, how to you ..."echo" environment variable like JAVA_HOME on command line console?
Thanks.
|
|
|
|
|
'SET' will display all of them
'SET variablename' will display an individaula one.
The good old fashioned DOS commands!
"An education isn't how much you have committed to memory, or even how much you know. It's being able to differentiate between what you do know and what you don't." - Anatole France
|
|
|
|
|
|
Type the following at a command prompt:
echo %JAVA_HOME%
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Of all the MS cl documentation I have read over the years,
SET /P has tons of info. Sort of an MS version of BASH if you ask me.
"What's Linux, Daddy?"
"DOS on Steroids, Son"
|
|
|
|
|
I have developed my own image file format for compressing stastic images(VS.net - C#, C++).
Now how can I assosiate windows explorer to show my images files as thumbnails?
|
|
|
|
|
When I try and print a Web Page or e-mail I get the following error:-
Error: Interface not registered
URL: res: To print off a Web Page I have to copy into Wordpad or Word and print. Also many links on pages cause the browser to hang.
Need to stop the navigation and go into the URL field, move to the end and press return. i.e. all I get is the hour-glass when navigating to another site.
I did try and register the file; regsvr32 shdoclc.dll , but got the error:-
shdoclc.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered.
This is a pain and I have run my anti-virus, Adware, Spy-Bot programs and I also have ZoneAlarm installed. But nothing seems to sort out this problem.
Any suggestions please!
|
|
|
|
|
It sounds like the shdoclc.dll file has been corrupted, or is the wrong version for your OS. Try running SFC (System File Checker) to test the file. If that doesn't work, check the version number of the file, then compare it to the correct version. You can find a listing of versions at TechNet[^] under the Troubleshooting and Support menu.
"...a photo album is like Life, but flat and stuck to pages." - Shog9
|
|
|
|
|
Hi,
I am encountering a strange issue in my Windows XP Workstation.
The audio driver or speaker does not play. When I goto to Device Manager, Uninstall and then click 'Scan for hardware Changes', it finds the Speaker and now it is able to play. (It gives two balloon tips after detection: Found 1 new hardware (RealTek Audio); Your hardware driver is installed and ready for use)
But when I reboot my system, the settings are lost and we need to go through the above settings again.
Parallely, I observed that USB also has an yellow exclamation mark. How to get the default Windows XP driver for this. Is it anyway related to the above issue or is an isolated one?
Any clues?
Vasudevan Deepak Kumar
Personal Web: http://www.lavanyadeepak.tk/
I Blog At: http://deepak.blogdrive.com/
http://deepakvasudevan.blogspot.com/
|
|
|
|
|
Try to check your right. Make sure that you are in the group that have an appropriate right to install device driver.
|
|
|
|
|
|
Ok, then try to look at this: Right click on my computer and choose Property then go to the Hardware tab and click on button Driver Signing and find that an option Warn is select and check your hardward driver whether it is sign with Microsoft for safety used.
|
|
|
|
|
Hello guys,
I would like to set , for example D:\MYFOLDER\MYPROJECTS as a default folder(instead of C: ) when I run cmd , does anyone know how to do this ?
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
|
|
|
|
|
If you want to set the default path to a different directory, you may do so by editing the registry.
Launch the Registry Editor and navigate to:
HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor
In the right-pane, double-click Autorun and set the folder there, preceded by a CD\ (as you type in DOS).
Kaushik Baruah ,
Programmer Analyst
Cognizant Technology Solutions,India
|
|
|
|