all groups > c# > march 2007 > threads for saturday march 17
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Simple problem: Why does this cause a massive memory leak?
Posted by Simon at 3/17/2007 10:37:13 PM
Hi all,
I have a huge memory leak problem in what is really very simple data
insert code.
In my app I'm trying to use a typed dataset to insert into a database.
It adds quite a few rows (say hundreds). Unfortunately it has a big ass
memory leak and I dont understand why.
The code belo... more >>
How does Service.svc change in WCF when you start adding classes to the project?
Posted by Ronald S. Cook at 3/17/2007 12:47:25 PM
I was able to do my first Windows Communication Foundation test project and
all worked well.
But now I want to add a second class to my service.
There is that Service.svc file that has only the following in it:
<%@ServiceHost Language="VB" Service="MyService.clsCountry %>
But now I've ad... more >>
Button_click
Posted by Chris at 3/17/2007 12:35:23 PM
How do I get a toolbar button to execute the code of another buttons click
method?
I am embarrased to ask but I cannot get it to work.
thanks
CM
... more >>
static and non-static methods with the same name and signature
Posted by Andrew Robinson at 3/17/2007 9:58:32 AM
I would think that I could do this but apperently not. "'Class1' already
defines a member called 'Read' with the same parameter types"
public class Class1 {
public void Read() { }
public static void Read() {
new Class1().Read();
}
}
... more >>
read Meta data/headers
Posted by boarderstu NO[at]SPAM gmail.com at 3/17/2007 9:55:45 AM
Hi All,
I'm looking for some tuts or advice on reading Meta data from files -
preferably Exif data, any body got any advice on this?
ta
... more >>
about DataGridViewComboBoxCell
Posted by aXqd at 3/17/2007 8:58:53 AM
i want a editable comboboxcell for a datagridview, i have done these:
[dgvConfigShow is a DataGridView]
public partial class Form1 : Form
{
....
private static List<string> _tempList = new List<string>(new string[]
{});
....
private void lbTypes_SelectedIndexChanged(object sender, EventA... more >>
How to open a url link in s sharp?
Posted by HackerisNewKnight at 3/17/2007 6:59:26 AM
hi all,
i used to open a url link in visual c++ like this method:
shell_execute("groups.google.com","open",NULL.NULL,NULL),
how can i do that in csharp?
could anyone help me?
thanks
... more >>
Urgent!! DataGrid OnSortCommand not fire if UserControl is added in the ASPX
Posted by ºa¤Ö at 3/17/2007 3:13:04 AM
Dear All Experts
I faced a problem, I had developed a UserControl (just a simple display the
website logo), and added into a ASPX page.
Inside the ASPX, i have a DataGrid control, and it contains OnSortCommand
defined.
However, when I try to sorting the datagrid, no any event is fired up. I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
noob.. no functions in C#?
Posted by Glenn at 3/17/2007 1:58:12 AM
Searching the "How Do I.." pages.. I don't see anything about
functions like classic C/C++. If I want to do even a one-time
operation, I _have_ to create a class? Seems weird to have to define
an "object" when I will never use it, just would be creating it to run
something one time. ... more >>
UUDecoder
Posted by Dave at 3/17/2007 1:24:49 AM
Hi guys,
I have several thousand mail files I need to extract attachments from. Most
of the attachments I can read but some are in a different format as shown
bellow. I've found some code for decoding the data but I can't seem to get
it working. I think the formatting with the new lines is ... more >>
Embed a Custom Cursor?
Posted by bern11 at 3/17/2007 12:09:48 AM
How do you embed a custom cursor? The help says:
// On the command line:
// Add the following flag:
// /res:CursorFileName.Cur,Namespace.CursorFileName.Cur
What if you are compiling with the IDE? I don't see a 'command line
options' field anywhere...???... more >>
|