Hi all, thanks for checking my problem:)
I'm not able to initialize a static native pointer inside a managed class.
Here's the detail: I created a C++/CLI console project and declared a static unmanaged pointer inside. However I can't initialize the static pointer with any means (but if I put the pointer into an anonymous namespace, th...
In .Net 2.0, the WinForms ListBox and ComboBox controls allow you to search through the list by pressing the first letter of the list item on the keyboard. Subsequence presses of that key will cycle through the list items starting with that letter.
A browser like FireFox on the other hand lets you "typeahead" search for items in a list...
I'm not sure if a component exists for this or if I'll have to look at how to create one, but here goes...
I'm trying to find a dropdown-style list for images I can use in a program of mine. It's fairly simple, just needs to display a few images in a grid with tooltips for each one, and I need to be able to get whichever one was last p...
Hi,
I've been doing some research on how to globally handle errors in my ASP.NET application. Can anyone suggest me a customizable error handling component to handle all .NET exception globally and log them in database(SQL, Oracle) and also send notification via mail/RSS feed.
Thanks
...
Hi.
This is just a matter of taste but I'd like to hear some of your opinions (that's also why this question is marked as subjective).
If I have a property, say
private string _Text;
public string Text;
get
{
object tmp = ViewState["Text"];
if (tmp != null)
_Text = Convert.ToString(tmp);
return _Text;
}
set
{
ViewSta...
Hi.
I have a WCF service. I need to implement IServiceBehavior in my class that implements ServiceContract. I have some some attributes on that class that specify service behavior. I wanted to ask if after implementing IServiceBehavior behaviors specified in attributes still apply.
Basically does
[ServiceBehavior(InstanceContextMode =...
I have a bunch of monochrome (1bpp) PNG images I want to load, and pass to pdfSharp.
Using Image.FromFile loads images fine, but it alawys uses 32BPP, regardless of the pixel depth of the file. That results in very large PDF files generated.
Is there a way to load images in their native pixel depth?
...
This question is an follow-up of an previous asked question.
I've written an simple program who looks like this.
string s;
do
{
using (SqlConnection conn = new SqlConnection("POOLEDCONN"))
{
using (SqlCommand cmd = new SqlCommand("", conn))
{
s = (string) cmd.ExecuteScalar();
Code2IncrementPerfomanceCounter
...
I'm not very familiar with the console application but i think its kind a interesting subject to learned. I searched for tutorials and references related to connecting MySQL database in console but no luck. So i just try and error. Please correct me I'm wrong..
I had an application where when user run the program, it'll store values to ...
in asp.net c#
how can you get all the names and values of a form that has been posted?
i.e the field names are unkown.
...
Hi, I am trying to fix client target in whole site so it would render as ie5 (dhtml etc)
I can do it induvidualy on each page with
protected override void FrameworkInitialize()
{
base.FrameworkInitialize();
ClientTarget = "ie5";
}
and i have seen http://msdn.microsoft.com/en-us/library/6379d90d%28VS.85%29.aspx
<clientTarg...
How to get the path of recent documents folder using C#?
...
I have used DICOM using MERGECOM when I was in GE Healthcare in 2005. After that I don't have much knowledge in the DICOM system.
Now we have a requirement for implementing PACS system using .NET platform.
Can you recommend a decent, good, community supported .NET based DICOM library or framework? or Do you know any commercial librarie...
I am new to linq and am trying to create some data points from a table to graph. The three fields of importance in this table are the id, the time and the value. I am writing a query to get the average value over a set time for a chosen id. The linq I have written follows:
var value = (from t in _table
where t.Id == id
...
Hi,
Is there a .NET equivalent for monitoring and management - similar to JMX?
...
I am looking to implement single sign on for two applications on different domain. Both the applications are in .Net 3.5. I understand I need
A user tries to access a web page of Website1. The system identifies that the user is not logged in, so redirects the user to the Login Website. Once the user provides correct login information an...
What are your best pratcies for Git with .net. What files do you ignore and do not add to your project type?
...
Is there a .NET equivalent of Java's List.subList() that works on IList<T>?
...
I used to build data layer by using Classes, however someone suggest to use Strongly Typed DataSets because it's faster in development. The data layer that I'm going to build should support multi DBMS(Oracle,MSSQL, MySQL..).
how is better build it by using Strongly Typed DataSets or by using Classes?
...
Hi,
I have a simple WPF application which is already running. Can i access its objects like properties using reflection? So that i can use these object to do some operations like click on button or entering text in text box in the already running application.
Thanks in advance.
Akash Kansal.
...