|
How to get IDE device information from registry in Vista? In Windows XP I am able to retrieve that information from following path:
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 1\Scsi Bus 0\Target Id 0\Logical Unit Id 0
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 0\Logical Unit Id 0
But this path does not exist in Windows Vista. So where should I look in registry now for getting the same information?
|
|
|
|
|
I have an DOS based application running in Windows 98. I want to disable the 'close' button (when running in a window). Is there a registry edit for this? I googled for it, returned 712,000, I read until the articles were becoming off subject.
Thanx in advance
Jude
|
|
|
|
|
AFAIK, I don't think you can. That little button doesn't belong to your DOS app process, but the emulation window that you started it in. The DOS app doesn't have any way of knowing which CMD window it's in.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Have a look at SetConsoleCtrlHandler .
CTRL_CLOSE_EVENT
2 A signal that the system sends to all processes attached to a console when the user closes the console (either by clicking Close on the console window's window menu, or by clicking the End Task button command from Task Manager).
|
|
|
|
|
Hmmm...didn't know about that one!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
How do I reliably drop the file cache in XP? I need to do some benchmarks between two loading methods of ~1 GB of data for a the best method. To get accurate measurements I must ensure that none of the data is loaded from the cache. I have been rebooting between tests but that takes around 5 minutes so I was looking for a better method.
|
|
|
|
|
i known i am to late, but here is it:
http://www.microsoft.com/technet/sysinternals/FileAndDisk/Sync.mspx
|
|
|
|
|
bru4you wrote: http://www.microsoft.com/technet/sysinternals/FileAndDisk/Sync.mspx
Thanks for th link. I believe when I wanted to do this I found that link but I was not sure that was the tool I needed for two reasons. First is that my source is a RAID array and second is that I am not sure (from the docs) that it actually wipes out the read ahead cache which is essential.
John
|
|
|
|
|
hi,
the other way is to turn off write-back caching on RAID controllers !
set it to write-thru.
bru4you
|
|
|
|
|
Although my raid controller was a bios one I am not sure that would have worked either as I was concerned with benchmarking read performance.
I guess I should tell you what I was doing.
My application (medical research grant) has to load cases of two views of a breast that are taken typically as 50 to 85 slices which when animated give a 3D view of the breast. Each slice is a ~5MB dicom file which needs to scaled to fit two 2048x2560 medical imaging monitors and also it needs to be converted from 14bit to 8bit grayscale to display. The problem is that loading the case takes 1 to 2 minutes when the data images are loaded this way. And since doctors do not like when I waste their time I had to find a way of speeding this up. With the raid I benchmarked it reading at 100MB/s so that theoretically I could read 1GB (larger than most cases) in 10 seconds but with loading the case took much longer because of the time spent seeking to > 100 files.
I could have easily avoided this problem with background loading and a machine with > 4GB of memory but the problem here is that the display card has no 64 bit drivers so I had to go to great lengths using memory mapped files to background load 1 case in advance and drop the memory mapped files out of the address space when the 3GB of usable address space ran low.
John
|
|
|
|
|
hey john,
i understand your problem with loading the dicom slices.
i am CIO of an datacenter.
We hosting 7 hospitals with 2500 beds and 4500 employiees.
i tell you our configuration:
our dicom files are stored at a netapp-920c metrocluster.
with 2 gbit ehternet-interfaces.
in the network we use cisco-3750 as backbone-switches.
the backbone-switches between the storage an the radiology-workstation
have 4 x 2 gbit thruput.
the radiology-workstations are from DELL.
high-performance workstations with dual-core prozessors.
an each workstation are 4 monitors. two of them are 2k montitor grayscale.
the workstations have gbit-ethernet cards.
if you like, i send you tomorrow the config. of the workstation.
but all of them .... speed is relativ.
there are so much components between storage an workstations.
and .. you are not alone on the network.
our doctors must also wait 1 -3 minutes before loading
the dicom-slices from the storage has finished.
bru4you
excuse my bad English
|
|
|
|
|
bru4you wrote: with 2 gbit ehternet-interfaces.
Ahh, You have gigabit in your hospitals. At my hospital the standard is 10MBit / Half duplex and even though they install 100Mbit cisco switches they set them to operate at 10MBit. How frustrating... But at least they allowed me to setup my own private gigabit network not connected to theirs.
bru4you wrote: if you like, i send you tomorrow the config. of the workstation.
No that is ok. I have no plans on any more hardware changes as I am in the middle of rolling out a new dual processor dual core box with hardware raid 5 and with 32 bit win2k3 R2 enterprise I was able to install 6GB of memory with 2 free dimm slots. I will spend a little time with some software tweaks (I write all the software from scratch) to make better use of the new system I hope to put this project to rest and to move on to my next project.
Thanks for writing back and saying what you do. I find that interesting.
bru4you wrote: excuse my bad English
Don't worry your English is perfectly understandable to me.
John
|
|
|
|
|
Just added a 2003 server to a network. It is not the DC, just an ordinary part of the network that happens to be running server. I checked the application event log and there were two errors in it following joining it to the domain. The first was error 1006, ".. cannot bind to my.local domain ...", and the second was error 1030, " ... unable to ... Group Policy ...". Not sure of exact wording on the second one but you get the idea.
I have gone through several message boards looking for possible causes. All of the suggested fixes do not apply (i.e. the system is already configured as suggested). So, I took the next step of removing the computer from the domain and re-adding it. Following the reboot the computer joined the domain correctly (or at least there were no errors in the event log). This lasted until the next reboot when the messages reappeared.
Several of the boards I read talked about one or the other message appearing in the log repeatedly, but in my case they just appear the one time. If I check the system event log after a few hours there will be error message about the new server not being able to receive NTP messages from the DC, so the problem is persistent. During the time the computer appeared to be joined to the domain these messages were not appearing in the log.
Any ideas of what to try would be appreciated...
>>>-----> MikeO
|
|
|
|
|
Today I tried something different. I removed the computer from the domain and rejoined it. Then I shutdown the computer and turned it back on with no errors. I did this twice more with no errors, then I restarted the computer without shutting down and the errors were back. The errors are there now whether I shutdown or not.
Any suggestions on this would be really appreciated.
>>>-----> MikeO
|
|
|
|
|
Mike Osbahr wrote: Any suggestions on this would be really appreciated.
It almost sounds like its not really getting added into Active Directory when you add it. Log into the DC, is there an entry for that server listed in Active Directory Users & Computers? Try deleting the entry (if one exists) disjoin the server from Active Directory and rejoin it. After that make sure that there is an object listed in the DC. Also are there any entries in the DC’s event log?
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Thanx for the reply. That's what most of the boards I read suggested. It was getting added to Active Directory and DNS. There were no messages in the DC event log when I rebooted the other server (two of them actually). I finally put an SMC 10/100 adapter in a PCI slot and used it instead of the built-in Ethernet. It worked the first time.
>>>-----> MikeO
|
|
|
|
|
Mike Osbahr wrote: I finally put an SMC 10/100 adapter in a PCI slot and used it instead of the built-in Ethernet. It worked the first time.
Interesting, thanks for replying back. Glad to hear you figured it out...
I take it there was no faults registared on the NIC?
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
A client of mine has one of these with a duplexer, connects via a JetDirect card (I must point out at this juncture that we didn't supply any of the hardware.
They use MS Office 2003, primarily Word and Excel, plus a number of custom written apps. Printing from Word and the other apps works fine, but there is this weird thing that happens if they switch from Excel to Word, and back again.
Say they're entering figures in a s/sheet, and they alt-tab to word to double check something, then alt-tab back. They finish punching in the numbers and hit the print button on the Excel toolbar (standard, not customised). Instead of getting a print, they end up with a PCL file in the current folder.
None of the other apps do this, not even the ones I wrote
Unfortunately, this happened with Office 2000 as well, so their own IT people upgraded the machine to 2003, but no help (XPSP2, btw).
Now this plainly doesn't make sense, because it only happens if they switch away to word and back again.
Anyone any ideas? I'm trying to get driver versions etc, but it's a tad tricky, since their own IT people are remote from the site, and so am I.
Steve S
Developer for hire
|
|
|
|
|
Hi,
Try to reproduce it once again, and watch for tooltip on the 'print' button. It always displays the default printer (or at least the one which is currently set up for use with Excel). Is it "print to file" when the problem is going to occur again?
Regards
|
|
|
|
|
Nope. The tooltip correctly displays the printer it's going to use, and using the toolbar button or the menu option makes no difference, it still dumps PCL.
OTOH, if excel is launched, a worksheet is loaded, and printed with no switch to word and back again (whether via Alt-TAB or directly via the task bar) it doesn't happen, so it seems to be some odd behaviour when switching from one app to another.
Steve S
Developer for hire
|
|
|
|
|
|
hi,
i want to get the user's loginid in to my VB / ASP applications.
can anyone please help.
you may please throw some light on various ways of getting this info.
|
|
|
|
|
Hi,
I added a customized button in IE that Shows a customized toolbar. Problem is that I can't make it HIDE the toolbar. I don't know if I have to change button's CLSID in registry, as I suspect that the following key
CLSID = {E0DD6CAB-2D10-11D2-8F1A-0000F87ABD16}
refers to a button that only SHOWS the toolbar. It should have the same behavior as IE "Favorites" button.
How can i find out which CLSID belongs to IE "Favorites"?
Anyone ?
Thanx in advance!!!
|
|
|
|
|
A few of you may know that last night 3 of my servers went down and it was 3:00am before my admins were ble to restart them (I'm that guy who needed the coffee).
What i want to know is what problems do you have your servers. Is it normal for me to have a crash a month? I have always had these problems with my servers.
Note: It isn't user error on my part because since about 2-3 years ago i rarely ever need to touch them. I have people who manage them full time.
-- modified at 11:15 Tuesday 3rd October, 2006
Brad
Australian
Have you tried Rebooting it?
|
|
|
|
|
Servers get old and start failing. We see it all the time. HDDs start losing sectors, the Motherboard starts having loose joints, network cards become flaky. We've seen it all. Typically our servers last around 3 years.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|