So I have a large set of data objects, arranged Hierarchically, i.e.:
Project Node
- High Level Node
- Mid Level Node
- High Level Node
- Mid Level Node
- Low Level Node
- Mid Level Node
- Low Level Node
- More Data
- Low Level Node
And I...
I have looked around at a few but all of them seem pretty incomplete or have ugly rendering. The ones that look ok completely lack documentation.
Anyone know of a good one they use?
I have a C# application that uses a legacy C++ dll that runs an operation on a set of Images. During testing some of the output images created by the dll had strange artifacts in them, weird cropping and resizing going on that it wasn't supposed to do.
After some pretty intensive testing it...
So I have a group of controls, all created dynamically and added to a panel. On creation I set each of thier context menu properies to a context menu I have created. I want the user to be able to right click each control, and select "Disable Cotrol" from the menu, at which point the control...
I think I may have seen this before, but does anyone know how to do this in VS 2008?
When I type an if statement i.e: if(a == b), I would like the editor to automatically do a newline, open bracket, newline, tab, newline, close bracket, then put the cursor at the end of the tab.
I want to execute some simple code, i.e. myControl.BringToFront(); when a button is selected at design time. I have a form with about 10 panels, the panel that is shown depends on the buton that was last pressed. It works fine in run time however design time is kind of a pain, having to...
I have an app that uses dllimport to call a function in an old VC++ 6 dll.
In XP the function on average takes 1-2 seconds to complete. In Vista it takes an average of 28 seconds.
Anyonw know how I can speed this up?
Ok, since I use repeaters and other types of controls that rename controls on the client side, and since I also have a lot of javascript that calls on these controls, I have to output the javascript using controlName.ClientID all over the place to ensure that the controls are named properly...
This one has been bugging me all day. Usually I try to catch as many errors as possible in each page. However because I have an upload form, and if the file uploaded is larger than the server limit (4MB by default) it will cause an application error, the page never fires. So I cant test for...
I am designing a rather large SQL 2k5 DB. I need to track changes on certain tables, and I also need the ability to "roll back" changes.
Heres and example of a table and its log/archive
UserRoles
---------
UserRoleID
UserID
RoleID
UserRolesArchive
----------------
UserRoleID
UserID
RoleID...
I have an asp.net app, that when it's finished walking the user through a process, submits a form to a legacy(non .net) app which needs email and password parameters.
The problem is the controls get renamed the something like CTL$MAIN$email and CTL$MAIN$password
How can I force them to stay...
So i have a file in my App_Code directory called Globals.cs
public class Globals
{
public static string devSqlConnString = "....";
public static string prodSqlConnString = "....";
public static System.Drawing.Size MaxWorkingSize = new Size(400,600);
public static...
Hello all,
I am attempting to convert an algorithm from Pascal to C#, for the most part it went pretty easily, until I came across "sqrt", which I assumed was Square Root, then soon after was a "sqr" which I assume is something else?
Can anyone explain this one to me?
I've been using VS.Net 2k5 for a while now, but just yesterday noticed the "Clean Solution" and "Clean Project" options in the build menu.
What are they for?
That is the Question...
So we are developing a new version of our application, to replace one developed way back in the ancient days of computers (1996)
The currently running version is a wonderful tool, however it is a dog, it is hard coded to use interbase (blech!) as its back end. It gets...
I have a webservice, mapperservice.asmx, which calls the code behind page defined in App_Code\Service.cs
This service is now live, so I would like to have a dev version next to it. So I copied both files, so now I have mapperservice_dev.asmx, and App_Code\Service_dev.cs
But even without...
I'm assuming theres a way, from a windows app, to read a cookie from the users PC.
The problem is, my application is downloaded from a website. (actually, from many websites) and the boss wants the app to retain user information, such as email and password, that the user entered on the site...
I have a class called "Accessories" which Inherits "Surface", which inherits from the TreeNode class
A new instance of Surface class adds a class called "Region" as one of its nodes. It does this in the constructor, shown here:
public Surface()
{
Nodes.Add(new Region());
}
The Accessories...
I have a webservice, one method, "GetSites()", returns an object of type "SiteCollection" which is a collection of "SiteDefinition" objects (derived from CollectionBase). The webservice compiles ok, but when I try to compile the app that consumes this webservice, I get the error:
Cannot...
I guess the topic title says it all.
I have a simple class, with two strings and a date time, and would like to prevent duplicates from appearing in a collection, so need to do a quick compare.
Is there a reason Equals() exists when we have the ++ operator? Whats the difference and which is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.