Is there an ORM out there that supports ESE?
Well, I started writing a managed ORM for ESE based on the ESE interop project. I was wondering if anyone knows of any other ORMs out there that support ESE? ...
Well, I started writing a managed ORM for ESE based on the ESE interop project. I was wondering if anyone knows of any other ORMs out there that support ESE? ...
Lets say i am developing a chat, first you come to a login window and when your logged in i want to use the same window but chaning the control :P how would be the best way to desight this? is there any good way to implement this what root element should i use? Thanks a lot!! ...
Hi, I have posted a question few days ago about Querying on collections with the Criteria API and after all the answers i see that the thing that i am trying is not possible with the Criteria, there is a bug for the situation in nhibernate and also in hibernate I was using DetachedCriteria to get all criterias together and the list is ...
Hi misters, Is it possible "kill" the thread of a BackgroundWorker? In my DoWork event, I can't check the cancellation flag, because I have a blocking call to an external COM interface or a query to a database. CancelAsync doesn't cancel the call to COM. How can I do it, please ? Any suggestions will be very appreciated. Thanks in a...
I've got a method that takes in an HttpRequest object and performs differently based on what User Agent is set. I'm trying to unit test it and am having a heck of a time tracking down how to set the User Agent string. I've tried the raw HttpRequest object and a variety of other objects that eventually yield it to no avail. Does anyone...
I have a clickonce application and i want to deploy 2 versions of the same application with different config files. So the package is published from the same solution but with changed configs to different urls: Example: App1 is launched at http://myserver/app1/myapp.application and app2 is launched at http://myserver/app2/myapp.applicati...
There's a number of posts here on hashing of passwords and numerous recommendations on how to go about doing it, but before I go off and write something based on the suggestions here, is there a standard library I can use to save me some time (and potentially blushes, knowing how complex this stuff can be). My criteria is it has to work...
I added a new ADO.Net Entity Data Model into my project and used the Update Wizard to add tables into the model. Five of the selected tables were added to the design surface. Two other tables will not add. I select them in the wizard and click Finish, yet they never show up on the design surface. Is this a bug, or are there some situ...
I came across this link today that offers a ToolStripProfessionalRenderer implementation for the Office 2007 look-and-feel. From what I can tell, it would be fairly straightforward (albeit tedious) to customize this to support various other themes, such as the silver and black themes of Office 2007. More specifically, I'd like to find ...
Once upon a time, a young, naive engineer thought it would be a good idea to separate out some of the functionality for his app into a COM component, written in C#. Visual studio had all the tools to do that, right? .NET was practically made for this, right? HA! He said, this will be easy. I'll have decent separation of components, ...
I want to write a function like so, public System.Windows.Input.Key ResolveKey(char charToResolve) { // Code goes here, that resolves the charToResolve // in to the Key enumerated value // (For example with '.' as the character for Key.OemPeriod) } I know I can write a huge ...
I'm trying to look at the best way of changing the value of an element in XML. <MyXmlType> <MyXmlElement>Value</MyXmlElement> </MyXmlType> What is the easiest and/or best way to change "Value" in C#? I've looked at XMLDocument and it will cause a load of the whole XML document to memory. Could you do it safely with the XMLReader....
Ok. I'm not asking for a plssendcodezkthx. But I am somewhat new to FP and I'm trying to figure out how to do this, because I know the code I have won't accomplish what I'd like to achieve. So all arguments about optimization aside, here is my code Then I'll explain. let moveBoids boids = boids |> List.map (fun(boid) -> let...
In the following c# code, how do I get rid of the objects when it's no longer useful? Does it get taken care of automatically, or do I need to do something? public void Test() { object MyObject = new object(); ... code ... } ...
I have a build system that is complex enough that AssemblyInfoTask ends up being too fragile to use pre-compile to set AssemblyFileVersion. Is there a way (code or tool) where I can update the file version, product, copyright information for a DLL, EXE, etc. post-build. I want to make sure that I'm updating both the real file version i...
Is there a way to test different languages in a Windows application without changing the localization of the OS or adding code to the application to forcibly change the current culture? Perhaps some type of a launcher that will launch the application with a specified culture? ...
FileMaker Pro has a feature that allows client applications to auto-locate their server's IP address and connect to it. What is the best way to do this using a general purpose language like Java or .NET? ...
Ok, I'm reading data from a stream using a StreamReader. The data inside the stream is not xml, it could be anything. Based on the input StreamReader I'm writing to an output stream using an XmlTextWriter. Basically, when all is said and done, the output stream contains data from the input stream wrapped in a element contained in a p...
I have been a web developer for my entire development career. Nearly 100% microsoft focused the entire time. I have been using .Net, both C# and VB.Net, since beta. I now find myself in a position to where I have the opportunity to start doing some WinForms development in C# using the 3.5 framework. As with anything new, I am excited abo...
I wish to load and use a font to a desktop application in C#. It's that possible without installing the font on the system? It's a kind of question like this but not from a DLL. I want to load from font file. ...