EventLog Class and Machine Name (Connecting to remote machine eventlog).
Hi all,I am trying to write to an EventLog on a remote machine and am getting an IOException stating "Network path not found". Now the computer name I am referencing can indeed be found and if I type a...
View ArticleReproducible bug in ZipFile CreateFromDirectory
When creating single zip file from large directory of logs (over ~45GBs) by calling System.IO.Compression.ZipFile.CreateFromDirectory, the function finishes without any errors, however the resulting...
View ArticleHelp with following REGEX, how to ignore GOTO, but match GO
Hi,I have the following Regular expression for helping to parse TSQL scripts.System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex(@"^(\s|\t)*go(\s\t)?.*",...
View Article32 or 64 bit windows?
I need to prevent installing an application in a 64-bit environment. How can I determine if the environment is 64-bit?
View ArticleEncryption using Rijndael AES using 128 bit keys, 16 byte blocks and cipher...
Hi,I tried a lot of algorithms about Rijndael AES 128 bit keys (16 byte blocks and cipher block chaining), I try with this example: Text to...
View ArticleSocket.Receive() multiple calls necessary
Hi,When larger byte[]s are Sent/Received, we need to call Received multiple time, to get the sent amount of data.Reading the MS docu (http://msdn.microsoft.com/de-de/library/26f591ax.aspx) it...
View Articleread or deserialize file
hiI have a problem reading a file created in mfc project; i want to read its contents using c#it is saved as xxx.dat; i suspect it is a serialized class; because the file stores information of three...
View ArticleLenovo Solutions center wont work. Keep getting error message about framework...
Keep getting the following message when trying to open Lenovo Solution Center:This application requires the following version of the Microsoft .NET Framework: 4.0 You can download and install this...
View ArticleMicrosoft.BCL.Async Library Windows Phone Class Library
I'm a bit puzzled and could do with some help. I have the following code for calling a webservice using the BCL.Async - UploadStringTaskAsync , the code below works fine when its in the xaml.cs class...
View ArticleHide process in task manager
How to hide process of my application in task manager in vb2005 ? i have tried it, but it not successful.I dont want user to kill process of my application.aAny solutions?
View Articlecompare text with Server name
i want to compare the textbox.text with the name of the server, can any one please help me, i am beginner in this program.
View ArticleIs Rfc2898DeriveBytes class accessible via com?
Note:sorry I'm not sure if this is the right place for this topic.I was trying to use Rfc2898DeriveBytes in a php application so I wrote: $obj = new...
View Articleinfo on sound recognition required
hey.. i just wanted to know that if for instance i want to detect the sound of crash or maybe door bang etc! would we use microphone sensor for tat purpose or some other built in class can also be...
View ArticleCannot reference a .NET 4.5 PCL from a console app
Hello all,I'm trying to reference a PCL whose target framework is 4.5 from a console app. Specifically, the PCL is set to Profile49, which translates to .Net 4.5 + WP8. As soon as I instantiate any...
View ArticleFM20.DLL not registering (Error Code 0x80040151)
Hello,I apologize if I'm posting this in the wrong forum. If this is the case I'd appreciate it if someone could suggest a better place to ask this question.I'm trying to register a FM20.DLL file on a...
View ArticleEventLog.EventWritten fires erroneously
I have a Windows Service that monitors the Application Event Log and is based on the EventLog.EventWritten event. It runs on several machines, and there are times when the entry below fires over and...
View ArticleCreate .bmp file in chunks
HiWe need to create/save .bmp file which is huge in size through our application. We can not create such a file using any of the .net classes like BitmapSource and BmpBitmapEncoder due to size...
View ArticleRegex: Ignoring / skipping digits within an input-string
Hello@all,I´m using REGEX to query an input string for different formats. All regular expressions are stored in a table - through looping throough the dataset I do a Regex.Match against each table...
View Articlebyte array from registry is not converted properly by readbyts function
Hii need to convert c++ code that reads registry to c#; however while the c++ returns expected values the c# returns mostly "" or cryptic values;in the debugger when i check the byte array returned by...
View Article