No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
22 Posted Topics
I am attempting to fix a computer that was attacked by a nasty virus. I have recently zeroed the drive to wipe it clean. I am now trying a fresh reinstall of windows XP and the computer will not recognize my hard drive. It also will not recognize my second …
In the VS command prompt that is part of the VS SDK you can enter the following to generate an xsd file from an xml file: xsd XMLfilename.xml This will generate an xsd file with the same name as the xml file Then you can enter: xsd [.xsd file generated …
I am currently serializing objects from my C# code to XML files. Somehow I need to also encrypte the XML file. What is the best method available that would allow me to do both the serialization and encryption?
I am writing a forensic disk processing utility in which I cannot write to the disk at any cost. What is the best way to ensure that I am not writing to a hard drive when I am accesing all of its files? I have made sure that all of …
What is the best way to pause a thread? I tried thread.ThreadState = ThreadState.WaitSleepJoin but it says that the property thread.ThreadState is read only and I cannot assign to it. Furthermore, What is the best method to assign a value to a variable that more than one thread accesses. I …
I am having a problem with a System.InvalidOperation exception. There is a combo box in my code and when the index is changed i have a a treeview item that is cleared and then rebuilt. However, when I go to add the first node I receive the following exception: System.InvalidOperationException: …
VS 2005 does not include the crc32 checksum in their crypto library and I was wondering if anyone knows where I could find a very fast algorithm. I currently have three different algorithms but none of them are much faster than Md5. I know for a fact that the crc32 …
I have created a listview in my C# form and when i add an item through my code I change the background color of my cells/rows. However, when i scroll over them at runtime the color defaults back to white and then they stay white. I have different tab pages …
I am using the invoke() to call a delegate in order to communicate with another form in a different thread. The code is below. You can see at the bottom (before the stars) where the thread is started. The method below that is being called by the delegate in the …
I am trying to find a way to monitor additions made to the registry during the installation of an application. Does anyone know how you can monitor not just changes but the addition of keys to the registry in real-time. I know there are many before and after snapshot programs …
I have an XML database and I want to insert an element into each entry in the database. Currently it looks like this: <?xml version="1.0" standalone="yes" ?> - <SAFDB> - <entry> <name>2Mosaic_0_2_2.zip</name> <application>2Mosaic</application> <version>0.2.2</version> <crc32>0B59ABC4</crc32> <md5>EBD2356D2F5AC8A929B8118D60E4C932</md5> <sha1>45E78DC66E2E5A42E8FB118430A1C8D16092DBF3</sha1> <sha256>DDD4BB2AECC1743B0141BD307AC8CFF96E7D333334D16E914DF63B38355AE905</sha256> </entry> - <entry> <name>2Mosaic.exe</name> <application>2Mosaic</application> <version>0.2.2</version> <crc32>C5C58201</crc32> <md5>5FAFBACE2114026CE44EAD88AA6760DD</md5> <sha1>D2A606D05ABF1FE128473FDA8837DE309BAE227E</sha1> <sha256>95D5301607C4B13D92C30C343B36A4EC57810C27AA96A3C5B561622D575ABED8</sha256> </entry> - …
What is the fastest way to get a total of the files on a given drive using C#? I have been thinking about using a seperate thread, but I would have to wait too long for it to count every file. Is there a faster way than counting each file …
I am using the command in my code to retrieve my drive types: "string[] drives = Directory.GetLogicalDrives();" and I get the error: C:\Documents and Settings\Robert W. Lipscomb\My Documents\Visual Studio Projects\WindowsApplication1\DirTree.cs(8): The type or namespace name 'Scripting' could not be found (are you missing a using directive or an assembly reference?) …
C:\Documents and Settings\Andy M. Moore\My Documents\Visual Studio Projects\caller\trunk\OfflineRegistry\OfflineRegistry.cs(203,15): warning CS1591: Missing XML comment for publicly visible type or member 'SecondSec.SERC.Common.ContainerObjectModel.RegKeyContainer' What does this mean?
When I attempt to build my program I get the following: ------ Build started: Project: caller, Configuration: Demo-Release .NET ------ Performing Pre-Build Event... Pre-Build Event failed ------ Starting pre-build validation for project 'Installer' ------ ------ Pre-build validation for project 'Installer' completed ------ ------ Build started: Project: Installer, Configuration: Demo-Release ------ …
I receive the following 2 error messages when I attempt to Build my application, and I cannot resolve them. C:\Documents and Settings\Robert W. Lipscomb\My Documents\Visual Studio Projects\caller\trunk\Installer\Installer.vdproj Unable to find source file 'C:\Documents and Settings\Robert W. Lipscomb\My Documents\Visual Studio Projects\caller\trunk\bin\install\data.enc' for file 'data.enc', located in '[TARGETDIR]', the file may be …
You have programs running at startup. Click Start. Run. enter "msconfig" go to the startup tab and uncheck the items that aren't supposed to be there. This won't catch everything because some startup processes like to hide, but it is a start and should help. You also need to run …
I am completely unable to boot my compaq presario from the cd rom drive. I have gone into BIOS and none of the cd drives are listed for the boot order. However, I know that it is seeing them because i have just used a bootable version of DOS and …
1. You shouldn't use the same name for 3 functions. If you use the same name for muliple function definitions at the bottom of your code the C++ compiler will then attempt to match the inputs to the correct definition. Sure this will work but it is not good practice. …
I have an old compaq deskpro Short Form Factor. I don't know if anyone is familiar with this model or not. Anyways it contains a Pentium III SECC2 processor. This is the model of the Pentium processsor that is built on the card and it slides into a slot on …
Yes, some boards do in fact have jumpers that allow you to adjust the bus speed. It just depends on the board you own. It will be in the manual.
If those are processes running on your machine you need to eliminate a lot of them. Many of those are unnecessary. You need to go into your computer's startup and uncheck the boxes of programs you do not recognize or do not use. I also recommend not using IE. The …
The End.
acezrwild817