Does anyone know what my progress bar looks different in the Visual Studio designer than it does when i build and run my project?
In the designer i see the newer style. Progress is indicated with a solid green line with smoothed edges.
When I run my project the progress bar looks like the old style one. It has ten separate divisions t...
I have two projects: Inventario, Produccion Dampers and I added Inventario as a reference to Produccion Dampers. When I publishProduccion Dampers I don't get an error but when I try to install I get this error:
Following errors were detected during this operation.
* [2/11/2010 3:33:34 PM] System.Deployment.Application.InvalidDeploym...
I have a number of query strings looks like View.aspx?type=a&boo=bar&i=1
How to remove all parameters' values so it would become View.aspx?type=&boo=&i=
For each string set of parameters there is it's own combination of parameters, 2-3 in number.
Edit: How to remove all parameters except specific set?
...
Hi,
we have embedded the .NET WebBrowser control (actually two in different tabs, if that for some reason may be important) in a dialog and are running into a strange problem. I have not been able to reproduce the problem outside the complete application, so I assume we're doing something with side-effects elsewhere. Because of this, I ...
Is there something like twisted (python) or eventmachine (ruby) in .net land?
Do I even need this abstraction? I am listening to a single IO device that will be sending me events for three or four analog sensors attached to it. What are the risks of simply using a looped UdpClient? I can't miss any events, but will the ip stack handle t...
I'm working on a scientific computation & visualization project in C#/.NET, and we use doubles to represent all the physical quantities. Since floating-point numbers always include a bit of rounding, we have simple methods to do equality comparisons, such as:
static double EPSILON = 1e-6;
bool ApproxEquals(double d1, double d2) {
...
I can't get to do what I want. I only want accounts for non-international representatives. But when I call ActiveAccounts(), I'm not getting null, I'm getting an enumerable, which then includes null. What am I doing wrong here? Help please.
public static class AccountExt
{
public static IEnumerable<Account> ActiveAccounts( this Acco...
I've come across odd behavior when comparing strings. First assert passes, but I don't think it should.. Second assert fails, as expected...
[Fact]
public void StringTest()
{
string testString_1 = "My name is Erl. I am a program\0";
string testString_2 = "My name is Erl. I am a program";
Assert.Equal<string>(testString_1, t...
I am using the Windows API function FindFirstFileEx because it provides the capability to return just the sub-directories of a given directory (ignoring files). However when I call this function with the required flag, I still receive both files and directories.
The MSDN documentation for the FindExSearchLimitToDirectories flag used b...
While debugging an ASP.NET application, I want to get a print-out of the entire state of a very large object. I want all the properties and values in that object and the same for every object-property, recursively.
Because the front-end of the application times out after a significant delay, I can't add a watch or use the Immediate wind...
I've created a UserControl called CatalogBrowser which has a property ListedFamilies that exposes the currently listed Family objects in the control. Here's the code for the property.
public List<Family> ListedFamilies
{
get
{
List<Family> returnList = new List<Family>();
foreach (Object obj i...
I'm working on a mysterious bug in the usually very good open source project Excel Data Reader. It's skipping values reading from my particular OpenXML .xlsx spreadsheet.
The problem is occurring in the ReadSheetRow method (demonstration code below). The source XML is saved by Excel and contains no whitespace which is when the strange b...
Hello,
My goal is to record the desktop and export the recording into a arbitrary video format using C#. I have looked at DirectShowNET but it only seems to capture from devices. I think that I might be able to write my own driver that acts as a device for DirectShow. I have also read http://stackoverflow.com/questions/397754/record-vid...
Hi,
Is anyone aware of a C# library that provide a means to manage a Web like map of items, which each item can have relationships to other items in the collection/table. As an example an implementation of this with a datastore might see the schema looking like the below. Picture a page with node objects scattered across it with lines...
How do I explicityl call something like 'DoFilter' on System.Windows.Controls.ItemCollection?
I set up it's Filter property to a Predicate. I placed a breakpoint in the predicate, it reaches there only when the ItemsCollection is initialized, when I call m_ItemsCollection.Refresh() it's not.
...
I need some project that I can read it's source code and learn the design structure from it.This project should have a database layer, and business rule layer, anyone has suggestions?
Thanks in advance !
...
Please give reference/guidance to make a web application for managing all IT assest/devices .
Application consist of two component Web application and Windows .NET Application.
Client Windows .NET Application scan all active network & find all IT assests like printer,scanner & upload all data into the web application.
Now our team usin...
Whats the difference between tracing and logging in enterprise application blocks?
When to you use tracing against logging?
Any examples would be great
...
If I get the RFC-1123 formatted date of a DateTime object, it gives the current local time, but gives the timezone as GMT (which is inaccurate).
DateTime.Now.ToString("r");
returns
Fri, 12 Feb 2010 16:23:03 GMT
At 4:23 in the afternoon, but my timezone is UTC+10 (plus, we're currently observing daylight saving time).
Now, I can get a r...
I'm debugging into the .NET Framework source code to look for a bug in my application. I have two similar inputs for the code where one exhibits the bug and the other doesn't. However to follow the code path into the .NET source is quite complex.
What I'd like is a tool that can be executed for both inputs and compare the results to see...