all groups > c# > march 2008 > threads for saturday march 8
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
Please help with generics
Posted by James at 3/8/2008 11:30:27 PM
Hi there,
I've have a class called Edge, with the following signature:
class Edge : IComparable{
....
....
....
}
And another class called CompareEdge, with the following signature:
class CompareEdge<T> : IComparer<T> where T : IComparable<T>
{
....
....
....
}
However, In my... more >>
Lambda and generics function
Posted by LiquidNitrogen at 3/8/2008 11:17:28 PM
Hi guys,
As a new .net generics learner could some one care to explain what is
the difference when i declare the function such as
void function(Action<String> customAction)
{
customAction("rohit");
}
and
void function<String>(Action<String> customAction)
{
customAction("rohit")... more >>
display View output in DataGridView
Posted by viepia@nospam.com at 3/8/2008 9:13:48 PM
Hi,
How do I go from a text file containing:
CREATE VIEW MyView
AS
SELECT * FROM MyTable
where my VS2008 LINQ application knows the database MyView is targeting ==> to a
DataGridView.DataSource? The database had dozens of tables; my application needs to
handle any VIEW possible; in... more >>
visual studio
Posted by Analizer1 at 3/8/2008 8:30:13 PM
anybody know anything about visual studio 2005
and new fonts not showing up on the font selection window of a control
thanks
... more >>
ArrayList error
Posted by John Rogers at 3/8/2008 7:40:09 PM
How do I fix this error?
ArrayList customerArray = new ArrayList();
customerArray.Add("Tester");
customerArray.Add("Testing");
Error 1 Invalid token '(' in class, struct, or interface member declaration
222 26
Thanks
... more >>
ListBox entry with \n (multiline)
Posted by Stefan P. at 3/8/2008 6:35:16 PM
Hi everyody,
I want to diplay strings of some objects in a LixtBox.
Sometimes the text is longer than my ListBox and a horizontal scrollbar
is displayed.
Is it possible to get the ListBox to display the Text in multiple lines
(per entry)?
I found some controls on CodeProject but they a... more >>
form resize event
Posted by Analizer1 at 3/8/2008 5:21:44 PM
i can't seem to capture the mimimize and maximize
to resize my controls...
what event is it
thanks
... more >>
C# XML Documentation Processor Option
Posted by Jacob at 3/8/2008 5:03:00 PM
I've seen NDoc for .Net 1.1/1.0 assemblies, but does there exist a
lightweight (or in-depth as long as its freeware) processor for VS2008 which
will create simple webpages which show the comments. In VS.NET, there was a
Tools -> Build Comment Webpages option, but it is no longer there in VS20... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to detect if a register string existed
Posted by ad at 3/8/2008 4:50:29 PM
Hi,
How can I detect if a register string existed with c#
... more >>
Handling application initialization errors
Posted by colin at 3/8/2008 1:34:11 PM
Hi,
a lot of times someone installs my aplication and gets an
application initialization error, is there a method to intercept this
and give more details as to whats failed ?
obviously the handler cant be part of the c# .net application that is giving
the initialising error as its probably ... more >>
control
Posted by Analizer1 at 3/8/2008 1:08:25 PM
What is the property that shows text when there is a mouse over on a control
Client Application
thanks
... more >>
Need help with a project that will suggest correct spelling
Posted by Danny Ni at 3/8/2008 1:01:11 PM
Hi,
I am going to work on a feature that will suggest correct spellings if user
input a misspelled word, pretty much the same way Google does with Google
Search. I have no ideas how to do this, can someone give me some
suggestions?
TIA
... more >>
Ping Class
Posted by Luke Davis at 3/8/2008 12:33:38 PM
Is there a class that handles a Ping command in .NET? I'm hoping to
get the response or at least a boolean if the location could be reached
or not.
Any ideas?
Luke... more >>
How to deploy an app with a sqlexpress db along with it?
Posted by sherifffruitfly at 3/8/2008 10:36:50 AM
Hi all,
I made a c# app that includes a sqlexpress database. I can't seem to
find the mdf file though, so I'm wondering exactly how/whether I can
give the app to my friend to use/test. Will the db be created on the
fly when my friend runs the app?... more >>
Regex to with whitespace or tab or newline, can't seem to get it to work.
Posted by DotNetNewbie at 3/8/2008 10:24:33 AM
Hi,
I have text in a file that looks like this:
[
2
in stock]
What kind of regex could get the '2' ?
I tried this:
string regex = @"[\s]*(?'stock'.*?).*in\sstock]";
But it didn't work ... more >>
Settings invisible field values for user created rows in DataGridView
Posted by Sin Jeong-hun at 3/8/2008 3:49:42 AM
My application has a DataGridView, and lets users input new rows in
it. It uses the VS.NET generated class mechanisms, so there are three
components like XXXBindingSource, XXXTableAdapter and XXXDataSet.
Everything is fine except that there is a hidden field (meaning a
field exists in the data... more >>
|