I have an application that uses the Ultra Win Grid and has a column with a check box in it. It used to be that when I clicked on the check box it would allow you to edit it but now you can't.
Already checked and I am setting CellClickAction to Edit and CellActivation to allow edit.
I used to be using 6.3 and upgraded to 9.1. The prob...
I have two objects of the same type, I want to loop through the public properties on each of them and alert the users what properties dont match.
Is it possible to do this without knowing what properties the object contains?
Thanks
...
How come TreeView.FindName() can find things added to the Xaml doc at compile time but not dynamically added at runtime?
...
Might seem like a bizarre request, but is there anyway to run .NET apps on a locked down machine without installing the runtime? If a set of my users is going to working on machines that are totally locked down, no .NET runtime and no way to install it, is there anyway to 'host' the runtime?
I was thinking along the lines of portable u...
In .NET I have a class called Caption. I have another class called Gauge. Within the Gauge class I have a property defined as a Caption.
I am trying to figure out how to do the following:
When a certain property is changed in my Caption class how do I get it to execute a subroutine in the Gauge class? I am thinking I have to declare an ...
I'm having some difficulty with a specific Regex I'm trying to use. I'm searching for every occurrence of a string (for my purposes, I'll say it's "mystring") in a document, EXCEPT where it's in a tag, e.g.
<a href="_mystring_">
should not match, but
<a href="someotherstring">_mystring_</a>
Should match, since it's not inside a ta...
Hi
I have created a PerformanceCounterCategory like below
var category = PerformanceCounterCategory.Create("MyCat", "Cat Help", PerformanceCounterCategoryType.SingleInstance, "MyCounter", "Counter Help);
Now i would like to add a new counter to the category to monitor another item but i can't find the api call to do it.
Any Ideas?
...
We are three internal developers with a user count of about twenty. We've implemented unhandled exception handling in our Winforms app. It generates a ticket with the stack trace in our FogBugz (renamed internally to DevTracker) bug tracking system.
The goal is to encourage the user to enter an informative bug rather than simply movin...
With a .NET repeater is there anyway to call methods in the #Eval('') directive? For example, if I am binding to an object with a DateTime property, it would be really convenient to set #Eval("ADateTimeProperty.ToString('hh:mm')") or something along those lines. Is the only option to create another property with that returns a formatte...
I am facing an issue while consuming a java web service from .NET. I am able to provide the input to the web serive but not able to get back the result. The result is a custom object which is created in Java with one long, one short and one string variable. But the output I am getting from .NET is that long and short are always defaulted...
Hi Everyone,
Are the following Lambda and Linq expressions equivalent in terms of execution paths? I guess I'm wondering if the Linq is going to run differently because it's going to create an IEnumerable before determining if the enumeration has anything in it whereas the lambda expression will stop on the first digit it finds.
var x ...
Are there any tools for parsing a Visual c++ generated resource script? Is this resource script's format documented any where? I am looking for something in MFC or .net that could parse some data out of the files for reporting.
...
I know there is a way to make enum work for string types with conversions galore - the code doesn't look pretty.
Does anyone know of any way to have something like this:
public SOMESTRUCTURE SessionKeys : string
{
value1 = "value1key",
value2 = "value2key",
name = "name"
}
so later in my code I could refer to it as:
...
I have images stored in my database in a FILESTREAM and I am trying to find out what the best solution is to get that image back out into a web browser.
If I was managing the files on the file system myself, the quickest way would just be:
Response.TransmitFile(pathToFile);
This does not load the file into memory before transmitting ...
This is a pretty stupid question, but here goes:
Is there a way (in .net) to force Windows to show your system tray icon instead of hiding it? I don't want to do this all the time, but at least for the first time my application is run I would like it to be visible in the system tray.
...
I'm trying to execute a query that currently works in phpMyAdmin but it does not working when executing it in .NET using the MySqlAdapter. This is the Sql statement.
SELECT @rownum := @rownum +1 rownum, t . *
FROM (
SELECT @rownum :=0
) r, (
SELECT DISTINCT
TYPE FROM `node`
WHERE TYPE NOT IN ('ad', 'chatroom')
)t
It is using...
I'm designing a personal project which is largely database driven. I'm trying to come up with a good design for how to handle database interop, and I'd like the input of the experienced minds here at StackOverflow.
Is the following good design, or is there a more standard way of handling communication with the database?
EDIT
I was main...
How are the objects created or used in a P/invoke function or RCW native function are released/disposed?
will .Net GC take care of that?
Does GC have any control over those objects?
Is it the developers sole responsibility to release/dispose those objects by calling their .Close() or .Release() methods?
Please guide me.
Thanks and ...
I'm about to start a new C# application, which will probably take some while (read: > 1 year). I want to keep it cross-platform, that is, it should work using Mono, but my primary development platform is Visual Studio.
Now I'm looking into the test frameworks, but I wonder which one you would take for both being portable and reliable in...
In the app.config file of a .NET application there is a <runtime> element that allows you to configure various behaviours of the CLR, usually for backwards compatibility with legacy behaviours.
For example:
<configuration>
<runtime>
<legacyUnhandledExceptionPolicy enabled="true"/> <!-- .NET 2 -->
<legacyCorruptedSta...