Get maximum value for SQL DateTime in .NET
I could swear there's a property somewhere in SqlClient to do this, but both my Google-fu and IntelliSense have abandoned me. ...
I could swear there's a property somewhere in SqlClient to do this, but both my Google-fu and IntelliSense have abandoned me. ...
I load a user control in a web page which throws an exception: this.LoadControl(someusercontrol); // throws TypeLoadException The details : System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assem...
Instead of requiring my users to drop to Terminal and start my app via mono <x> command, I'd like to give them an experience of clicking on "X.app" and Mono runtime launches my .NET assemblies. Anyone done this? ...
I'm having a hard time even phrasing this question. I'm displaying preview images to users in my UI within a ListBox. When a user hovers over the image, I'd like to expand it so the user can see more detail. I've gotten to the point where I can "pop up" the image, but of course it is still within its normal position in the layout, mea...
I went today to schedule the 70-536 Framework Foundations Exam, I thought I could choose the language when registering for it, but I saw there is only one option. I guess I will have to choose the language if C# or VB.NET when taking it on one of the first screens?? I hope so, its already scheduled, and if it is in VB im screwed!... ...
This is a followup to this SO question: How do I make a collapsible UI region on the form? I'm making a winforms app with a region (panel) that is expandable or collapsible. I used the expand/collapse bitmaps from the VS2008 Image library, for the buttons. I put those two into an ImageList. I wanted the button to have no border...
I have the application using an .ico image for the taskbar and window, but how do you set up the .exe to use an icon? While on this subject does anyone have any resources on how to work with ico images? As in what size does the start bar use, and so forth? From what I can find there are tools out there to assign .exe's icon images but ...
What version should I download? I only see VS 2008 x86 and some "WOW64" stuff on MSDN. Will "Visual Studio 2008 Professional Edition (x86)" work? ...
Is Refactor Pro the only .NET Refactoring tool that supports the String to StringBuilder refactor? I'm looking for one that has a trial version of this feature to see if I like it enough to purchase. The overall goal is to tidy up another developer's VB.NET code. ...
Has anyone else had issues using Redgate's .NET Reflector on Windows 7 Ultimate 64-bit? I'm getting an error saying: "Unable to find a version of the runtime to run this application." Any ideas what's going on with this? Anyone have alternative recommendations for a .NET object browser? I'm thinking lightweight tools, not like Visual ...
I have an application that loads most of its dll's from a subfolder specified in the configuration (myapp.exe.config) file in the attribute <probing privatePath="subdir"/> My question is: Can I load a dll (say mydll.dll) at runtime, using only its filename, if it the dll lives in the same subdirectory "subdir" specified in the probing...
We currently are running windows 2008 Server Standard Edition. We are running a .net site and on some of the pages we are using includes to include some .html files that are used with our javascript. We are having an issue though with caching. When we edit one of those .html files, we can navigate to it by typing in the URL directly and ...
Is there a default IEqualityComparer implementation that uses ReferenceEquals? EqualityComparer<T>.Default uses ObjectComparer, which uses object.Equals(). In my case, the objects already implement IEquatable, which I need to ignore and compare by object's reference only. Thanks! ...
I'm looking for a good book that covers the .NET 3.5 base class library, using C# as the language. I'm going to be bringing my team up to speed on .NET in general, and I'd like to use the book as a sort of curriculum for my sessions. I don't want something that teaches the language (C#) itself, but rather the base class library (the fram...
Does anyone know if there has been a port of the GNU Ballistics library to C#, java, vb, etc? Is there a similar library out there in any other language, even C++? ...
Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + Windows Media Service 2008 on Windows Server 2008. I want to develop a custom authentication sample. I want to use C#. But what I find is C++ samples. For example, http://msdn.microsoft.com/en-us/library/dd892688%28VS.85%29.aspx Any simple C# samples? thanks in advance, George ...
Hi, I'm searching for a quick way to implement something like a DataGridView (originally component from .NET) into my JSP. Basically I'd like to do a CRUD on an entity within the same page. Do you have any idea for that? Thanks ...
For NVIDIA graphics cards, you can have two working as one (SLI). For a .NET desktop application, I need to be able to check that SLI is enabled. Is this possible? ...
I'm trying to see what certain variables' values are in a C# .NET script (it gets an XML file, extracts a bunch of nodes, builds a sorting filter of some type, applies the filter, gets the result, deletes a few things and then iterates over the results outputting them). So I can figure out what is happening where and convert the script ...
What approach should I take (if it's even possible) to unit test a standard event driven Winforms app where display and logic are mixed together. ...