nmapi parsing pst files
is any sample how to parse pst files? official site has nothing ...
is any sample how to parse pst files? official site has nothing ...
Hi guys. I am wondering about general performance of LINQ. I admit, that it comes handy but how performant is LINQ? I know that is a broad question. So I want to ask about a particular example: I have an anonymous type: var users = reader.Select(user => new MembershipUser(reader.Name, reader Age)); And now, I want to convert it to t...
So the scenario is as follows: I have a 2-3 gb large files of binary serialized objects, I also have an index file which contains the id of each object and their offset in the file. I need to write a method that given a set of id's deserializes them into memory. Performance is the most important benchmark and keeping the memory requir...
[got a bit further so its updated] Hello There, i really hope you are able to help me! Now the first part of my code does work, and I do get my report numbers out in my combobox, and i'm able to write that number to a lbl. now I need to take that number and get the rest of my data from my Access 2003 database, and drop them in a strin...
I have this code: using System; using System.Text; using Tamir.SharpSsh; using System.IO; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { SshExec exec = new SshExec("192.168.0.1", "admin", "haha"); exec.Connect(); string output = exec.RunComma...
I just fired up Reflector and peered into MultiCastDelegate.CombineImpl and saw some very lengthy code... every time two delegates are combined (read: every time you attached more than one event handler to an event), the following code gets run, which seems inefficient for such a fundamental performance critical feature. Does anyone k...
Is it possible to capture the 'live' thumbnails from the Win7 taskbar? I want to display this preview (of another window) in my application, but how to extract those previews using .NET? ...
Hello StackOverflow! I need to write a very high load UDP server. I'm using .Net. How do I use the Socket class to achieve this? I am familiar with the winsock API, and completion ports, and what i would do there, is to use several threads to accept sockets using a completion port, and also to receive in the same manner. My server nee...
I have this one gigantic complex LINQ to SQL query that I need to optimize somehow, because the background C# compiler completely hogs the CPU and I can't type or edit my .cs file normally in Visual Studio 2010 (every letter, especially if IntelliSense wants to pop up, lags horribly). The culprit is this: var custFVC = (from cfvc ...
I have had recently one of those really bad interviews, where they play good cop/bad cop with you. Whatever I replied wasn't good enough for one of them and my confidence was shrinking minute by minute. His final question that really confused me was the following: if a control would need InvokeRequired would there be a difference in doi...
There is at least three well-known approaches for creating concurrent applications: Multithreading and memory synchronization through locking(.NET, Java). Software Transactional Memory (link text) is another approach to synchronization. Asynchronous message passing (Erlang). I would like to learn if there are other approaches and dis...
I am trying to check if a string ends in "@something" and extract "something" from it if it does. For example, I am trying to do something like this: string temp = "//something//img/@src" if (temp ends with @xxx) { string extracted = (get "src"); ... } else { ... } How can I accomplish this? ...
hello. I've a program working as client and server. I'm using wcf services with BasicHttpBinding and the program is running in a console application. When i moved the code to a windows forms application, everything stops working. When the client side invoke one operation, it doesn't returns. When some operation on server side is invo...
I’m an experienced VB.NET developer, who wants to start with C#. I’m searching for a web based comparison between both languages syntax as quick reference. I found myself arranging VB.NET syntax templates such as... Public MustInherit Class BaseClass Public MustOverride Sub PublicMustOverrideSub(ByVal byValParam As Integer, ByRef b...
Been trying this for a while now. All solutions I've seen on the net don't seem to work, specially the really simple way to do it. WMPLib.WindowsMediaPlayer c = new WMPLib.WindowsMediaPlayer(); IWMPMedia i = (IWMPMedia)c.currentMedia; c.currentMedia is always null. It seems that new WMPLib.WindowsMediaPlayer(); is always creating a ...
Dear ladies and sirs. I have two machines in different domains. The domains are not known to each other (no trust between them). I wish to use the net.msmq binding to communicate data from one endpoint to another. So, let A and S be two machines, where A must be able to send messages to S. Then, in the config file of A, there is this ...
Hello, i've written written a code for counting each byte frequency in binary file. Using Linq. Code seem to slow when performing the Linq expression. Its seem hard to implement Parallelism on this kind of logic. To build the freq table over 475MB it took approx 1 mins. class Program { static void Main(string[] args) { D...
I found some examples of how to create unit of work with ef4, i haven't used di/ioc and i would like to keep things simple and this an example (90% inspired) and i think it's ok but since i am looking at a pattern to use from now on i would like to ask an opinion one last time. public interface IUnitOfWork { void Save(); } publ...
I have a process that retrieves html from a remote site and parses it. I pass several URL's into the method, so I would like to ajaxify the process and give a screen notification each time a URL completes parsing. For example, this is what I am trying to do: List<string> urls = ...//load up with arbitary # of urls foreach (var url in u...
I have a list of alpha-numeric values that I need to search through using a "greater than or equal to" and/or "less than or equal to" operator. Example list of values to be searched: a b c d e f User enters b, and specifies to return everything "greater than or equal to" it. Expected results: b c d e f What is the regular exp...