Just sort the table directly:
dTable.DefaultView.Sort = ColumnName & " ASC"
Begginnerdev commented: Please don't revive 3 year old SOLVED Threads. -2
navyjax2 -1 Junior Poster in Training
I found out you have to first create DataColumns and make their ReadOnly property equal to false (dc = new DataColumn(); dc.ReadOnly = false; ). You specify a dc.DataType and dc.ColumnName and then add the "dc" to a datatable (dt.Columns.Add(dc)). Then you can populate the row's columns (dr["myColumnName"] = someData) and add the row(s) to the DataTable (dt.Rows.Add(dr)). You can then set DataGrid1.DataSource = dt and do DataGrid1.DataBind() and it works. You do NOT need to go through a DataSet, and that would be extra work - even on a database query, since you can cast an ExecuteScalar as a DataTable and then fill the GridView directly ( DataGrid1.DataSource = dt; DataGrid1.DataBind() ). See http://www.csharphelp.com/2005/12/introduction-to-datatables-part-i/.
-Tom
navyjax2 -1 Junior Poster in Training
Using that first poster's code, I get System.Data.DataRow.DataRow(System.Data.DataRowBuilder) is inaccessible due to its protection level (regardless of if I run the code within "protected void Page_Load(object sender, EventArgs e)" or return a DataTable from another function back into Page_Load so it can use it for my DataGrid) and anywhere someone has posted something about DataGrid1.CurrentRowIndex - when using that I get System.Web.UI.WebControls.DataGrid does not contain a definition for CurrentRowIndex. I'm using the DataGrid in a ASP .NET AJAX-enabled site, using .NET 2.0 in Visual Studio 2005.
navyjax2 -1 Junior Poster in Training
If it's a problem with Quickbooks, I'd say uninstall it from your Add/Remove Programs section of your Control Panel, then re-install it from its CD. You can also contact Intuit for help at 888-222-7276 or http://support.quickbooks.intuit.com/Support/ContactSupportStep1.aspx.
If it's an issue with the Windows calc.exe, copy it from C:\Windows\system32\calc.exe on a computer where it works to the same place on the one where it doesn't. Good luck.
-Tom
navyjax2 -1 Junior Poster in Training
I would try another hard drive, if you've gotten your data off of the old one, if your blue screens continue after a reformat. If a new drive doesn't work (still blue screening), try taking out all cards except for the video card, and re-install XP onto the new drive one more time. If that works, install the new cards and their drivers one-by-one and reboot after each installation to discover which one is malfunctioning.
If the new drive doesn't work (still blue screening) after the XP install, try reseating the RAM and the motherboard battery as the next steps - third step is to get a new motherboard (and perhaps processor & fan, if they don't make mobos for your processor anymore) if those steps don't correct anything.
Blue screens can be serious and usually indicate hardware issues (failures or incompatibilities), as long as you didn't install any new software or do any driver updating recently. If things had been working for a while, and it happened "out of the blue" (excuse the pun), usually that means failures.
Good luck.
-Tom
navyjax2 -1 Junior Poster in Training
string text = txtBody.Text.Replace(Environment.NewLine, "<br />");
Worked fine for me when putting it into a new MailMessage:
message.From = new MailAddress(txtFrom.Text);
message.Sender = new MailAddress(txtFrom.Text);
message.To.Add(txtTo.Text);
message.Subject = txtSubject.Text;
message.IsBodyHtml = true;
string text = txtBody.Text.Replace(Environment.NewLine, "<br />");
message.Body = text;
-Tom
navyjax2 -1 Junior Poster in Training
Code works great, thanks for posting.
-Tom
navyjax2 -1 Junior Poster in Training
navyjax2 -1 Junior Poster in Training
Yes, http://www.syspro.i12.com/auto/dlremove11.htm has the same program as the previous link had before. Thanks for popping in that link :)
That link will let you download the program, but it is missing a vital OCX file (comctl32.ocx), and the program will tell you it needs it in order to run. For those that download the program from that link above, you'll need to get the OCX file from http://www.afreeocx.com/ocx/info/comctl32_ocx.html and click the Download comctl32.ocx link on that page. It will need to be saved into the same folder as the program is, after you extract the Remove program into its own folder from the .zip file it comes in.
One last note, just in case it needs to be said again: The Remove program can be used for any program, but should not be used lightly. It will only take the program out of the Add/Remove Programs list, it does not actually remove any program itself or its files. For that, you have to look at the registry and make sure the entries for whatever program you are taking out are removed, and then delete the program's files manually.
Tom
navyjax2 -1 Junior Poster in Training
I'm not sure if you still need this solved or not - this is an old post and came across it while looking for something completely unrelated, but in any event, I think I might have a solution you can try to implement:
<HTML><HEAD><TITLE>TEST</TITLE>
<SCRIPT language="JavaScript">
function loadBox(stuff) {
document.Form1.TextBox2.value = stuff;
}
</SCRIPT>
</HEAD><BODY>
<FORM name="Form1">
<INPUT type="textbox" id="TextBox1" value="Stuff here"/>
<INPUT type="textbox" id="TextBox2" />
<INPUT type="button" value="Click Me" onclick="loadBox(document.Form1.TextBox1.value)">
</FORM>
</BODY></HTML>
Not sure if it'll help, but it copies text from one textbox to the next with an 'onclick' event of a button. You pasted way too much code for me to go through to figure out if what you are trying to do is done on an interval or what (next time, just the applicable code you are trying to fix might be ok, or simplify it down to something like what I have above), as I'm not a PHP guy and hate the language, personally (it's just JavaScript on crack and I'd rather stick with the simpler, CLIENT-SIDE, and therefore FASTER code), but I would just tell you that you should probably just add the contents of the first textbox to the second at the same time as you do the first box. Just, within the same function that populates the first box, tell it to do a document.Form1.TextBox2.value = variable (and variable equals the same variable as the text that #1 got), rather than try to do some sort of poll of the box …
navyjax2 -1 Junior Poster in Training
Glad you were able to get it back. I did forget to mention that with some sound drivers, it may require a reboot for it to fully take after you get the "Multimedia Audio Controller" back in the Device Manager and start (and finish) your real sound device's driver's installer. I don't know if that was really your issue or not, though. Sorry for not getting back here til now. Glad the other guy was able to help you with your volume control icon.
-Tom
navyjax2 -1 Junior Poster in Training
Yeah, everything with the CD-ROMs that I could find looked good in the BIOS, and when Windows did work, like I said, they were able to read discs fine (which means the BIOS did see them and transfer them over to Windows with no issue). It was even when the drives worked fine in Windows that I still couldn't have it boot a CD. If the drives weren't seen by the BIOS at all, I would think I wouldn't even get a "Press any key to boot to CD" when inserting an XP disc and have it "try" to do something when I hit a key (spin up the disc, like it did, but still give a black screen back). I thought it might be a video problem, that stuff was actually happening, just not being displayed, except it didn't make sense to me for video to drop out completely on an XP disc boot, and just freeze with the text still displaying when running a Linux disc if that was the case. All the AGP settings looked good in the BIOS and were set for what I set them to before when I first got the board when I got Windows working the first time.
I basically just convinced myself it was a bad board & put back the old one I saved over the weekend. It had that issue with Windows, anyway, where it tried to say there was a problem with the registry (C:\WINDOWS\system32\config\system) - well …
navyjax2 -1 Junior Poster in Training
Had a similar problem with same board & setup.
You have to specify in the BIOS what type of video card you're using (i.e. PCI vs. AGP as the initial video: Init Display First), and the memory it has (i.e. AGP Aparature Size = 128MB, 256MB, etc.). That and setting the boot order will probably get you where you need to be.
I haven't been able to get it to boot to CD, though. Luckily at the time I was just upgrading to this board from an earlier 1.6 GHz P4 CPU to a 3.0 GHz Dual-Core Pentium D, so I didn't need that. But now, a little over a month later, the OS is having registry corruption issues and I do... Probably board is messed up as I've cleared the BIOS and re-setup all the options I needed that got it working before and it still doesn't boot to CD. I mention that I cleared the BIOS above because one time before that I managed to do that (remove the battery, replace) and it booted to the hard drive fine without those pesky registry issues, but then after the very next restart it has registry issues again.
But, again, boot to CD never worked... I figured it was something I could get around to later, try replacing the CD drive, etc., but the thing has 2 CD drives and neither would boot, though they did read a discs when Windows was working before, and the "Press …
navyjax2 -1 Junior Poster in Training
The "Sounds and Audio Devices" section in the Control Panel isn't where you want to go. You want to look in the Device Manager (right-click "My Computer" and hit Manage, then Device Manager). If you have "Multimedia Audio Controller" under the Sounds, Game and Video Controllers section instead of Realtek x-y-z-whatever, then start your installer for the driver (the WDM_A401.exe file) and reboot. If it doesn't install correctly/craps out either during or after that, then you'll need to find another file. I posted directions on how to find your exact driver earlier in this post - obviously that driver isn't the right one if that is what is happening. Remove it from the Add/Remove Programs section. Using your motherboard's CD is best, if you have that. If you are having issues even after using the motherboard's CD (or manufacturer's driver from their website for your board/computer), then I'd recommend just doing a Repair Install if you have Windows XP SP2, if you have the CD. (It is different than a full install - you choose "Enter", F8 to agree to the EULA, then "R", when you boot from the XP SP2 CD, in that order. You'll have to enter the Product Key and re-activate Windows, so be mindful of that.)
Good luck.... Tom
navyjax2 -1 Junior Poster in Training
The whole reason it gets identified as C-Media Audio is because, and this is just my belief, but I think either someone at Microsoft or whomever created the original Realtek AC'97/Avance 97 sound components/chipset/drivers got a wild hair up their butt and decided that when they were going to update/upgrade the driver set for these components that that would be what it would be called. Or maybe a company called C-Media bought the rights, which is more likely. I don't know for sure, but I do know that if your system is identifying the device as this, it's not that it is misreading the components/chipset, etc., quite the opposite. It is trying to load the updated/upgraded driver, which doesn't work I've seen in about 95% of the cases I've seen, unfortunately. Whatever C-Media INF file they created is what has that reference and its entries into the system are only replaced when another driver is installed in its place as the CurrentControlSet sound driver in the registry (in HKCU). Finding & deleting the INF will not help you, nor just the entries, either. It all must go.
The key is getting rid of, or at least fooling the system into thinking it's gotten rid of, that newer C-Media driver by getting rid of the system files and registry entries as I described, then taking it out of the Device Manager and then re-installing the old driver. More importantly than that, though, is that if you don't get the RIGHT …
navyjax2 -1 Junior Poster in Training
To find out what onboard sound device you have:
If it is a brand-name computer (i.e. Dell, HP, etc.) - I would advise going to the company's website under their support section, looking up your make/model of computer (i.e. Dimension 4500, Pavilion xf335, etc.) for its specs. Dell even has it where you can put in the service tag and download the driver from that (there may be a couple of different ones for each service tag - it doesn't hurt to use trial and error - just use the Add/Remove Programs to find what you installed that doesn't work and remove it from there before trying another (and reboot as prompted), so pay attention to the name it installs as (i.e. SoundMAX Audio, etc.).)
If you have a computer built from parts - consult your motherboard manual for what chip number/chipset your audio device has and use my link from my earlier post to download the driver. If you don't have the manual, but have the box, google the model of the motherboard to find out the sound device. If you have neither box, manual, and the board has no distinguishing marks to say what model it or your sound is, or you just can't see them, then I would recommend to get a PC auditing program that can tell you what your hardware is. AIDA32 is a good one (http://www.sofotex.com/AIDA32-download_L9326.html), Belarc Advisor (belarc.com) is another.
Good luck.
navyjax2 -1 Junior Poster in Training
s046134, if you unzip your files, if you find a setup.exe, run that. If you just have an .inf file with some .dll files or something with no EXEs, then go to the Control Panel and step through the Add New Hardware wizard. Tell it to not search Windows Update. If it asks you if you want to install the Multimedia Audio Controller or something else, pick the Multimedia Audio Controller, otherwise install under "Sound, video, and game controllers". Tell it that you have the files yourself and wish to direct Windows to the files. Browse to that folder with the unzipped files when prompted and double-click on the .inf file. It should give you a list with your sound device listed (if multiple are present, pick the latest and one that has a "digitally tested" logo by it that looks to be right for your motherboard/sound card - consult your manuals for the right model if many are present or lookup your computer's model online to get its specs, whatever you have to do, but you MUST choose the right one!) and from there you should be able to "Next" your way done. If it says the software is not compatible with your hardware or some such error and doesn't give you a list, hit Cancel and find the right driver online for your sound card/motherboard.
navyjax2 -1 Junior Poster in Training
You aren't having a "boot sector" issue, and I doubt it has to do with having 2 hard drives or anything to do with any hardware configuration other than that relating to sound, as long as no Operating System (OS) is on that backup drive. But this is a sound driver file/issue that comes from the OS's ability to direct sound to your sound card/speakers using those driver files - nothing to do with hard drives, a floppy drive, CD, etc. The only BIOS settings that might ever be involved here are those relating to sound/your sound card.
If you have sound, but are getting the cmicnfg.cpl errors at startup, all you need is my "cosmetic" fix - so called because everything is working, just you're getting the error 'cause the registry can't process cmicnfg.cpl. Just remove the cmicnfg.cpl line from the registry key. "HKLM" refers to "HKEY_LOCAL_MACHINE". That solves that.
If you are not getting sound, refer back to my post and read all of my entries carefully & thoroughly - there is also an issue where sound won't come back for all users or a new user when they log in before the instructions are followed again under the next/new user's account, as well.
Good luck,
Tom
Having the same problem. Went into REGEDIT but could not find HKLM\.... Was having problems with video locking up. Was directed by Microsoft to go to realtek and download the Win XP update file …
navyjax2 -1 Junior Poster in Training
If you have the SP2 upgrade CD from Microsoft (that you can order for free off their site if you dig deep enough), or are installing from scratch with a full (not just upgrade) XP SP2 installation CD, you can use that to get a system to SP2 without having to have SP1 installed first. However, if you go to Windows Update with a generic XP, it will make you install SP1 first just because and only because Microsoft is requiring at least SP1 just to use the update site (to get anything after that level, anyway), but isn't making SP2 mandatory to use the Windows Update site. So to re-cap, SP1 will come up before it will let you upgrade to anything else on that site, but only for that reason. Bottom line is that SP2 is the culmination of everything, and has patches that have superceded SP1 and would replace them if they were there originally, or will just add them if not already present. Once the system is at SP2, it is at SP2 - it doesn't matter how it got there.
navyjax2 -1 Junior Poster in Training
Take a look at this: http://groups.google.com/group/microsoft.public.win2000.general/browse_thread/thread/b61c922d599cae49/1a598fce8f80f60f?lnk=st&q=Windows+logon+sound+does+not+play&rnum=3&hl=en#1a598fce8f80f60f.
I actually doubt it has to do with TweakUI, for them or for you, as I've ran that great utility from Microsoft just fine, but the people involved were running W2K and not XP, which is what TweakUI was made for (XP). I'm not altogether certain all the different stuff involved, for them or for you, but I do know how to get your logon/logoff sounds working again.
It sounds like the profile, or perhaps more specifically, perhaps just the ntuser.dat file has become corrupted. A new profile and profile migration is in order.
Go to the registry. Your key you will be looking for is HKLM\Software\Microsoft\WindowsNT\CurrentVersion\ProfileList. Find the key in there that corresponds with your present/old username (click on the subkeys there, check the path in the right-hand-side window, look for C:\Documents and Settings\usernamehere). Delete your present username's key, but ONLY that key - and note, you will be unable to log into your computer with that account - if it's the only one on the machine besides the built-in "Administrator", you may want to create another admin account before my next step I'm giving and log into that instead of Safe Mode as I'm describing. Reboot. Start up in Safe Mode by hitting F8 just after your motherboard BIOS finishes, choose Safe Mode from the menu. This way you can be logged in as "Administrator" and out of your old profile, and don't have to create any …
navyjax2 -1 Junior Poster in Training
Maybe you could check your sound scheme to make sure there is a logon and logoff sound selected for your profile. Long shot, but good to check: Control Panel, Sounds and Audio Devices, Sounds tab. Select "Windows Default" in that drop-down box. You can even scroll in that "Program Events" box for a "Start Windows" sound under the "Windows" category, select it and hit the Play button and see if it plays. Even if it doesn't, you could hit Apply and OK, and reboot and see if it works after that. If not, you can go back to that "Start Windows" sound and hit "Browse" and replace it with a sound that does work, perhaps.
Since you are able to play some sounds, just not the logon or logoff one, it doesn't sound like it's the sound driver to me. If you did want to try it if nothing else works, though, I'd say to uninstall your current sound driver from Add/Remove Programs and the Device Manager, and download the SiS driver from their site and forego the motherboard CD -
You can go to http://www.sis.com/download/, click on Audio Driver, SiS 7012, then your OS, and hit "Go", then click the link for the driver, then hit download.
navyjax2 -1 Junior Poster in Training
Important files? They get re-installed when you run the Realtek AC'97 Audio installer.
If you can't get it working under the logon user that had it mess up as, you probably don't have the right Realtek installer - there are multiple types even for this same driver - Device Manager won't show you the difference - I also found that out the hard way. You basically should go to your computer manufacturers site & download the sound driver for your model there. Takes the guess work out of it.
As for that "asshole" part, if you were so smart, you'd be posting up things to help people as I am trying to do, instead of insulting those that are just trying to help because you didn't read a post thoroughly. Issues like these that are really in-depth and get into the registry and system file structure should never been done whimsically without reading everything in the post first, so your comment that I conveniently left the multiple user part at the end really shows a lack of good common sense, that you're complaining about it. I didn't find out about that part myself until I posted it, where and when I posted it. Be glad I at least thought to add it.
MartyMcFly commented: Well said, and good post throughout, MartyMcFly +1
navyjax2 -1 Junior Poster in Training
Was supposed to have had a reply to that first post but I must've only hit Preview Post instead of to Post Reply or whatever :o . That first post was just the introduction for this thread. My real story is the compilation of a week's worth of pain in dealing with a Reader error that I solved that was poorly documented on the web, so I wanted to spare others my grief by opening up this thread, and invite others to share their issues/stories to provide a kind of knowledge base for Acrobat/Reader in the future. So here's my story....
Was upgrading to Adobe's Acrobat Reader 7 on a client's computer from version 6.0. All well and good. I open Reader 6.0 and go to Help > Check for updates. Finds the 7.0 update, starts downloading it. Great. FEAD Optimizer starts unpacking it, gets to about 80% and then poof!
Computer reboots!! :evil:
So I thought it was just maybe the laptop got overheated. I'll just let it be off for a while and then turn it on cold, I figure. So I re-tried the install using 6.0's update feature after doing that. Again, a reboot! Ok, so maybe I should just re-download the installer directly from Adobe - maybe it just got corrupted during the download. I get AdobeRdr70_enu_full.exe directly from the Adobe site, run it, same thing! :evil:
I decide to pull the unpacked setup files from a computer that had a successful …
navyjax2 -1 Junior Poster in Training
Yes, very deserving of a thread, as techs have all come to know and love this beast of a piece of software that never seems to either 1) install correctly, or 2) run correctly... Figured I could post up this for all the noobs and techs alike to give us all something to chat about, and maybe solve some issues.
navyjax2 -1 Junior Poster in Training
So SP2 only remove the shourtcuts to these programs and not the program !
No - she actually DID lose the programs after installing SP2 - she said she had to copy them from a collegue's computer to put them back on. Not trying to be a smart @$$ or insulting, I just didn't want people getting the wrong idea.
The calc.chm file is the help index file for the calculator. It needs to go in C:\WINDOWS\Help and will be found there on any Windows XP computer, and you will also need the calc.hlp file in that same folder, if you want to do the file replacement, like you did before. After doing that, you can try to put the check back in the Add/Remove Windows Components checkbox to get it to re-recognize calculator, if you want, like you did for Sound Recorder. You may get two calculator shortcuts if you do this, though, like one in your Start Menu, the other in the All Users one. If that happens, just go to C:\Documents and Settings\your user name\Start Menu\Programs\Accessories and delete that calculator shortcut. The other will remain because it's in the All Users start menu. Good luck.
navyjax2 -1 Junior Poster in Training
Not a problem, thanks for the praise. I just hope you uninstalled the C-Media driver and re-installed your old one and did a reboot to be sure C-Media didn't come back - I thought I had beat this one a couple of times before my final solution, only to find it come back on me after a reboot. If you had sound the entire time, but just had the startup error, all you had to do was delete the cmaudio string in HKLM\Software\Windows\CurrentVersion\Run.
But this is something XP will always do when you log on, for those that may be wondering why it always re-installs at startup, is a hardware detection. If any driver files are missing for devices it detects, if it has the files, it will reload the files (if it doesn't have them, it prompts you to tell it where they are). Usually this is good. In this case, if the C-Media wasn't working, it can be bad, if C-Media is removed without re-installing a good driver, since XP will be auto-reloading bad files. But if C-Media was working, just giving the cmicnfg.cpl error, just get rid of the Run string for cmaudio to keep it from checking for that on startup and giving the error, as the driver itself is good. Anyway, glad I could help.
navyjax2 -1 Junior Poster in Training
Just wanted to comment on that one post a few posts back, referencing a post that referenced an Experts-Exchange solution, for Win98. The solution on that site was to figure out your sound card model and get and install the drivers for it. Well thing is, I would think they wouldn't install after you have the C-Media ones installed - even on Win98 you should have to remove the C-Media ones first. Hopefully those with XP will know that if they did this, it would just find and install the drivers again, so it isn't that simple in XP, so you have to do it in such a way that XP won't put back the C-Media drivers before you get the chance to install your model's previous driver. My way does that, even if a bit tedious - believe me, I tried it their way when I was trying to figure this one out and it didn't work, so hopefully those with XP will know to not follow the Win98 solution, as XP would always put back the C-Media drivers. Win98 doesn't, and so it's a little easier. I didn't go the hard road for no reason.
That said, the idea of having XP installed on a separate partition or hard drive in the same computer is a great idea to take care of issues like this, though you don't necessarily need Partition Magic to do it unless you want a smaller area than the entirety of a second …
navyjax2 -1 Junior Poster in Training
If all you have to say is "Security software is not needed, only I know how to set up a system and I'm not going to tell you how" then I'm afraid you're simply wasting space making comment!
Couldn't have said it better myself.
I will agree that much, if not all, of what you said, catch, was stuff us as admins were not taught in our bachelor's or MCSA courses and would have to do graduate/specialized IT security training to learn (i.e. DBAC, RBAC, etc.), however - that does not make it foolproof as far as practicality to simply rely on OS security to avoid viruses or attacks, and I was speaking entirely of Windows, not any other OS you or your teams may have come across, created, or implemented, as Microsoft has 90% of the market today and what is really what people would want to worry about. Chances are, if you're speaking of any other OS, they have their own proprietary security or permissions or controls that probably DOES in some way allow you to do what you are trying to divulge, but are withholding. But I challenge you to do this with a typical corporate networked, multi-user Microsoft 2000 or XP Pro system.
In Windows, you can't always be logged on as a standard user - you will eventually have to install programs, and likely eventually have one you'll need to stay online, or at least networked to a computer that could be online, …
navyjax2 -1 Junior Poster in Training
Please tell me what ATI card and Catalyst version you are using. If you're using a Radeon AIW 9200, maybe I can do as you suggest so I can get it to work if you could tell me what Catalyst version to use - none of the others past 4.10, I believe, come out and say they support the 9200, even if it might be backward compatible from the later video cards. I'd just like to know what Catalyst is supposed to work before I do it, and if I have to uninstall my display driver and/or video controllers first, then that's just what I have to do (because an in-place upgrade was what I had been doing before, and indeed what I may need to stop doing to get it to work :) ).
navyjax2 -1 Junior Poster in Training
I don't know what version ZoneAlarm is at now, but according to a link posted earlier in this thread, versions 3.7 - 5.0.590 are not a good idea with SP2:
http://support.microsoft.com/default.aspx?kbid=884130&product=windowsxpsp2
Thought I should mention that before everyone went to ZoneAlarm, thinking they were safe as far as a better firewall than SP2's, but still went ahead and upgraded to SP2, anyway, and found themselves with problems.
Have found that the ATI AIW Radeon 9200 driver I use (Catalyst 4.10) is not XP SP2 compatible (get a black screen about 30 secs. after log-in), and neither are any of the updated Catalysts from 4.11 and later, up to 5.5. Have heard it could actually require a motherboard BIOS flash, but haven't researched it thoroughly yet.
To that guy with the Win98 CD thing and partitioning the drive, if you are still monitoring this thread: Anytime you re-partition a drive you are going to be performing a "clean install" because your partition table is what tracks how your drive is set-up and how it sees the data, and re-doing this resets all of that, requiring a re-format that should have occurred during your XP installation (not required separately if installing XP from image or CD). All of your data previously will have been lost, along with programs, as you would have seen.
navyjax2 -1 Junior Poster in Training
You may ask, if the entries are mostly back but you have the "Multimedia Audio Driver" now, what the point was of removing the registry entries in the first place if you were just going to have to delete the entries again when all you had to do was to delete 3 files to prevent the installation from completing. The reason was to buy you time to delete those 3 files before the installation completes, because it takes no time at all for those files to copy.
- As long as you have the generic "Multimedia Audio Driver", run the setup.exe for Realtek AC'97 and it should install correctly.
- You'll need to do these steps for each user on the computer.
Deleting the temp files I mentioned didn't seem to have much effect on this issue, but I put it in just in case before. It can be done or skipped, and can try it with or without.
Sorry, I haven't been able to figure out how to get a driver Windows has in its driver list OUT of that driver list once it has been added. As with any manufacturer, if you install their drivers, Windows remembers them and keeps them in its list from then on and will access that list when trying to install/re-install devices. I don't know how to remove them from it, so this is the best I can do. Maybe someone else knows where that driver record is kept, …
navyjax2 -1 Junior Poster in Training
Quick summary:
- Delete the cmaudio string from
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run. This will get rid of the error on startup, but only because you're taking the command it uses to load this driver at startup out, thus preventing it from loading at startup. This part is a cosmetic fix, essentially.
- Do a Find in the registry (Start, Run, regedit) for all keys related to cmaudio and C-Media and delete them. Delete the string Cmcpls from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Cpls to get rid of the Control Panel icon.
- Delete the files
C:\WINDOWS\System32\cmirmdrv.exe
C:\WINDOWS\System32\cmirmdrv.dll
C:\WINDOWS\System32\cmuda.dll
C:\WINDOWS\System32\cmicnfg.cpl
C:\WINDOWS\System32\Drivers\cmuda.dll
C:\WINDOWS\System32\LastGood\cmicnfg.cpl
- Download this remove utility from
http://ekiis.com/Freesoft/binary/remove11.zip
and run the file you find in the zip file - it can be ran without extracting it from the zip. Take out the C-Media Audio Driver line.
Reminder: This utility is for taking the name out of the Add/Remove Programs section only, and while it can be used for other programs in this way, it removes it from the program list ONLY and doesn't actually remove the program. But it is nice for something like this. (98/ME/2000/XP)
- Go to your Device Manager (right-click "My Computer", hit "Manage", then find Device Manager in the Computer Management console). Right-click the C-Media WDM driver under Sound, video, and game controllers, hit Uninstall. At this point, open up the C:\WINDOWS\System32 folder, make sure there are no blank spaces (View -> Arrange Icons By -> …
navyjax2 -1 Junior Poster in Training
I'm glad to hear I helped someone out, and for the good comments. I'm just glad, as well, that I was able to get it working again for myself! Of course it's always good to share the wealth. Keep up the good fight. Tom
navyjax2 -1 Junior Poster in Training
Sorry you're back into it again. We'll watch for ya when ya post up again after the uninstall/re-install of the keyboard. Might want to do the virus scan again since it worked before, then the uninstall/re-install while off the internet (taking out your Ethernet or phone cord), and a reboot. Might even give HijackThis! a try for something like this, since it's one of those recurring things after you think you've fixed it. Could be you're downloading something to replace what you're getting rid of, and that usually signifies spyware.
Microsoft's own Anti-Spyware utility
http://www.microsoft.com/downloads/thankyou.aspx?FamilyID=321cd7a2-6a57-4c57-a8bd-dbf62eda9671&displaylang=en&Hash=6XXRWN9
I might be completely off the mark, but with stuff like this, I don't take chances. Only when I've used every tool I can think of, and registry hacking, do I throw in the towel and re-install the system. Hopefully you're up to the tools.
Tom
navyjax2 -1 Junior Poster in Training
Misinformed? How about the fact I have seen things firsthand? Can you say that you are an administrator of a network that has seen such things as non-application oriented scripts that will run regardless of the permissions you lock down on your computer? How about UNIX scripts that are not bound by Windows permissions? I've seen it happen on both my home network and the one I work on at work where things are not bound by simple Windows NT permissions. Where do you get off at? What experience do you have? Are you actually a legitimate Systems Administrator, or are you just a hobbyist?
You can't lock down your Temporary Internet Files folder to have only read permissions to it or you'd never get internet pages (they are downloaded off the internet for you to view them, after all, requiring "write" permission somewhere). And little good restricting a user's account would do if they are already a standard user. And how can you restrict an admin account without reverting it to a standard user account? Far as I know, unless you know something I don't, at least with XP, it's only either/or, nothing in-between. I know there are those that would say never log in as an admin unless you're going to install stuff. Yes, that is why they were created like this in the first place. But that is inconvenient and inefficient, and will not stop scripts that don't use normal install channels from running unblocked if …
navyjax2 -1 Junior Poster in Training
FIXED - for both users! But you guys aren't gonna like it 'cause I think I got real lucky.
OK, made sure all files were deleted and registry entries gone, right? Do the Device Manager "Scan for hardware changes", but I had C:\WINDOWS\System32 open at the same time. Saw it putting in those @#$% C-Media files again - cmuda.dll, cmirmdrv.exe, cmirmdrv.dll. Deleted them as soon as they appeared. C-Media could not finish installing. Left me with what I needed, the generic "Multimedia Audio Driver" with an exclamation point that I wanted. Immediately ran setup.exe for Realtek AC'97, rebooted, and works great.
navyjax2 -1 Junior Poster in Training
Obviously check to see if cmicnfg.cpl is in C:\Windows\System32 and C:\Windows\LastGood, and delete it if it is. I deleted everything in C:\Windows\System32\ReinstallBackups, but to no avail. Sound is still good on my side, though :-) .
navyjax2 -1 Junior Poster in Training
Forgot to mention: Must delete cmuda.dll from C:\Windows\System32\drivers as well. And that was supposed to be Cmcpls in the other post for the "Cpls" section, not CMCPlus - wrote that kinda hurridly, but hopefully you all could figure it out.
Side note --- I have found that on a computer with muliple users with this issue that, when they log in, the C-Media driver kicks in again, and this fix won't work on their side of the fence, though your side that you started all this on and fixed will work fine. You would have to try to find out where the cab file or whatever it downloaded into/as and delete that for this to work, as it's obviously still pulling that C-Media driver from SOMEWHERE - I haven't found it yet, as I thought it would have been in one of those Temp locations - always good to delete those out from time to time, anyway. I don't know if I'll waste my time with it or if I will find it, since it's just me and my wife and it's just her side that's messed up now, and she has her own computer and doesn't log into mine very often :cool: . Have some other things SP2 messed up that I think I'm gonna just fix with a re-install rather than taking the weeks to find one cab file that has what I'm looking for, but thought I'd pass on the warning to not expect a complete …
navyjax2 -1 Junior Poster in Training
First one for me, seeing a virus that takes out your keyboard! Sorry I wasn't more help, and that I was more skeptical, but at least you got your keyboard working. Assumed that since you said you had already done a virus scan that it wasn't a virus. Glad Kaspersky worked out.
There's also Sophos, at least a version of it anyway, that is ran off of a DOS prompt that I've used at work in Command Prompt Safe Mode (hold F8 at Windows Logo to get the option to use this) off a CD we use that is really good, will detect stuff that Symantec/Norton don't, like this virus apparently, when we find out we've been hit by a virus the our AV missed. But Kaspersky is probably just as good, obviously, so at least you've got a couple of alternatives now to whatever you normally use. Personally, I've gotten more false positives with Norton/Symantec and McAfee than they actually find real infected files, and they won't find others that other AVs I've used (like Sophos, PC-cillin, Avert) DO find... makes ya wonder how safe we all really are...
navyjax2 -1 Junior Poster in Training
Just a quick thought... you said
"the reason for this is because it is saying that it doesnt recognize any previous versions of windows installed on the hard drive"
This sounds like you have an Win 2000 Pro upgrade disk.
If this is the case you have to have an older windows on your machine first.Upgrade disks require an older version to be installed already.
Now that I think about it this sounds like your issue. Damn I feel dumb. Good job figuring that out, dewman - I forgot they made upgrade discs to 2000 instead of just full versions.
navyjax2 -1 Junior Poster in Training
There is no amount of application security, NT or otherwise, that will prevent you from receiving viruses on a Windows machine. They come as an attachment some people actually inadvertently run, or even as a TEMPORARY INTERNET FILE off of a site you may visit, without you even knowing, and do not need for you to run them for them to do what they are going to do. Some just report back to the person's server information about you, like what sites you've visited from your history logs, and don't affect applications or application security at all. Some disrupt network communication - which can affect ANY computer, not just Windows PCs. To say that NT application security will protect you is definitely a giving in to a false hope, especially without a firewall that lets that nasty traffic right in. Have fun getting your trojans.
navyjax2 -1 Junior Poster in Training
So now you can't access the files at all? When do you get the explorer.exe error? On log-in? If you open a folder?
You can do a Ctrl+Alt+Del and look in the Task Manager, see what else is running that doesn't need to be, and close it (right-click, hit "End Process") and see if that keeps Explorer happy. If it's a needed process it won't let you close it, so don't feel like you're going to break anything here. vs7jit.exe is a good place to start if it is present, and if this works, doing a Start, Run, type
"C:\Program Files\Common Files\Microsoft Shared\VS7Debug" /regserver
and reboot might help permanently. If msiexec.exe is to blame, reinstall Windows Installer and do a similar Start -> Run with C:\winnt\system32\msiexec.exe as the address.
If you can't access the data at all because of Explorer crashing, but have access to another computer and a genuine XP CD, I'd suggest going to http://www.nu2.nu and creating a boot disc to get your data to a USB drive, or find out what NIC driver it takes and add it to the files pebuilder.exe will use to create the disc to allow networking the files to another computer (USB drivers are included, but you have to supply your own NIC drivers). Scroll down to the downloads and "Getting Started" section on the link to start you on your way. After you have your data, I would concur with your IS guy - time …
navyjax2 -1 Junior Poster in Training
Have you tried Safe Mode, Safe Mode with networking, or Enable VGA Mode on the F8 menu yet? If it still blue screens after resetting CMOS (remove the power cord and motherboard battery for a while, probaby 5 mins. is enough), assuming you have access to another computer, preferrably with a CD-R/RW drive, you can create a boot CD from a Windows XP CD that will allow you to read the data on the drive and get it to a USB hard drive or network it to another computer/network storage at the following link:
- you'll have to scroll down to the downloads section and scroll a little bit farther down to the "Getting Started" section. It has all the instructions there, just follow them closely. You can even add plug-ins into it to get other functionality, like web browsing, virus scanning, etc. You'll use pebuilder.exe to create an .iso image after you select what to include and copy in the files to the appropriate directories (especially the XP NIC driver if using networking! USB drivers are included already), then you can use a program like Roxio or Nero to open it and burn the boot CD.
The CD will be good on any computer as long as it meets the minimum specs for XP, you have the RAID drivers loaded on the CD if you attempt to boot a RAIDed computer, and you have that computer's NIC driver loaded on that CD.
…
navyjax2 -1 Junior Poster in Training
I'm assuming that you are booting to the Windows 2000 CD to install it? Are there any RAID drivers involved or is it a straight-forward install?
If this is a straight-forward install and you were booting to the W2K disc, your BIOS is set to boot to CD, and then if KillDisk didn't work right, I would suggest this method if you have or can borrow another computer:
You could use Disk Management, but the drive has to be slaved into or otherwise attached (they have USB devices/hard drive enclosures for this if you don't want to mess with jumper settings) into a pre-existing system that already has XP or 2000 on it. If you slave it in, as long as you can read the markings on the hard drives, and assuming they are marked, make sure your drive's jumper is set to slave and the pre-existing drive to master with slave (or just master if option not available). You'll obviously have to open the computer to do all of this. Hopefully you'll have a dual ribbon that will permit this (will have two IDE connectors for connecting two drives), or otherwise they're $10 at the local computer store if there's just one connector on that wide cable going to your hard drive - just replace your old single connector cable with the new dual, but match up the pins on the motherboard connector to have the empty area on it match the blanked out square on the …
navyjax2 -1 Junior Poster in Training
Well, the Add/Remove Programs tool is VERY important if the programs you install don't have an uninstall link.
But I wanted to post this much - I had an issue on a person's computer similar to this one where I would try and try and try to launch "Add/Remove Programs", and it would not, no error, it just didn't do anything. At the same time, the double-left-click would act like I had clicked on the object's properties for anything else (normally a right-click, then a left-click on Properties in the menu that would appear). Right-click worked like normal, so I knew left and right mouse keys weren't switched. Folders were opening in separate windows instead of the same one when opening them (which I was doing by right-clicking, then left-clicking on "Open" in the menu, or just hitting Enter when I got tired of that) - going to Tools -> Folder Options revealed that folders should have been opening in the same window, not multiple. Switching that setting had the desired effect, to open folders in a single window, but stated that I was really supposed to be opening multiple windows as the actual selection.
The way I solved all of this? I went to the Device Manager (right-click My Computer, hit Manage), right-clicked the mouse, hit Uninstall on the Mouse, rebooted as it said to do, went back in, right-clicked the computer at the top of the Device Manager and hit "Scan for hardware changes", rebooted as …
navyjax2 -1 Junior Poster in Training
I would replace the $10 cable before making any grand assumptions. If there is feedback from a shorted IDE ribbon cable, it could cause the CD-ROM to send such a "damaged" signal and any time a variant happens in the electricity of a system, or error signals like that occur, you are lucky if you are not blue-screening, let alone your computer just freezing, your CPU going into freeze-mode (where it goes to overdrive at 100% and tries to send out data, but can't because the system is no longer requesting it because the system is frozen) and it gets over it. Obviously if you have reformatted & reinstalled XP, it is not your hard drive or anything to do with XP - it is hardware. I would even venture to say it could also be the CD-ROM itself if the cable replacement doesn't go well. Trust the errors to tell you what is wrong. It's when they don't that it's time to worry.
navyjax2 -1 Junior Poster in Training
Try going to the Device Manager (right-click My Computer, hit Manage, Device Manager will be listed as a clickable item in the console that will appear), uninstalling the keyboard, then re-installing. When you have the Device Manager up, expand the keyboard section, right-click the keyboard icon, hit Uninstall. Then, when finished, go to the computer icon at the top there and right-click and say "Scan for hardware changes". It should install your keyboard automatically. If it complains about a driver not available, you will need the CD or you can probably find the driver .inf or setup.exe file on the web.
navyjax2 -1 Junior Poster in Training
Start -> Run -> type msconfig
Go to the startup tab. Take checks out of the boxes for stuff you don't need/want to start up with your computer. You might find there's some spyware/adware in there - WinToolsA (WebSearch Toolbar), gator, crap like that, slowing down your boot. If you see this, you may want to download Microsoft's Anti-Spyware tool at
Otherwise, look at what else is there that you don't need, just don't disable things like mouse or keyboard items that could be there (point32, iTouch, mmkeybd, etc.), or you'll lose the special functionality to your devices that those programs provide. msnappau, drgtodsc, qttask, ypager, dumprep, tkbellapp, and mimboot are OK to uncheck, and are common if you have Roxio, MSN Messenger, QuickTime, MusicMatch Jukebox, RealPlayer, or Yahoo Messenger. Look at the file path in the Command section to tell you what it is. If in doubt, leave it alone. Hit Apply and OK when done, and reboot. You'll get a prompt when you return about the fact you adjusted your boot process - hit the checkbox on the nag screen to never show up again (though it always will if you ever do an 'msconfig' again - a bug XP has) and hit OK. Hope it works out.
navyjax2 -1 Junior Poster in Training
This was an error I found on my computer that I did a search on the web for a quick and easy fix for. I found this forum that had my error and symptoms, but found no one had a solution. The thread was closed because the original poster had not responded to the posts in over a year, even though it sparked a lively discussion with others saying they had same problem (at which Daniweb admins kept scoffing! I say LET THEM POST! Even if they don't have an answer, knowing that others have the same issue and finding out how it was caused in each case can be very good and help toward a solution!). I thought that was @$$ and was what made me join this forum, to give those having this problem the answer they deserved and not the closed thread they got in return. Whataloadacrap.
Background: This error occurs after trying to uninstall the updated (and overrated) C-Media WDM Audio Driver for onboard sound that appears after upgrading to XP SP2 and/or going to WindowsUpdate. Likely the driver didn't work, so you tried uninstalling the driver and were going to put back the old Realtek AC'97 driver, but couldn't get rid of the updated driver.
To fix: Start, Run, type in "regedit" (no quotes), and delete the cmaudio string from
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run. This makes it so it will not run on startup and try to find the cpl file that was deleted during …
ziad.kandalaft commented: Thanks solved +0
navyjax2 -1 Junior Poster in Training
The fact that you're using a hub instead of a router could be an issue in and of itself, but for a separate reason than file sharing, so for the sake of argument I'll assume that you have internet connectivity and DHCP has assigned your computer's IPs, and I'll let that slide. You can check this by doing a Start -> Run, then type in "ipconfig /all" (no quotes) and see if DHCP Enabled is "Yes" under your "Ethernet adapter Local Area Connection". If you do have internet on these computers I'm sure it is "Yes". I would do this on both computers, anyway, to verify DHCP is enabled and that they are not sharing the same IP address.
(Why use a router instead of a hub --- If your Internet Service Provider (ISP) had assigned & given you a static IP address, or switched to this form of addressing, and you set up both computers with this IP, or under DHCP/automatic addressing, you would not have internet in this configuration, as both computers would need to have different IPs and ones that conformed to the ISP's network. A router separates you onto your own network, away from all that. But while using a hub, the ISP would not be supplying DHCP in order for you to receive any address, so setting them up for automatically receiving an IP does no good, since they already gave you one by telling you what to use. If you have DHCP enabled, …