all groups > c# > august 2004 > threads for sunday august 22
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
GENERICS
Posted by Antony Kumar at 8/22/2004 10:03:02 PM
Hi
I am new to Visual C#.NET 2003.
How could i use Generics in Visual C#.NET 2003. Pls provide step-step
information to do it in Visual C#.NET 2003.
--
Beginner
Visual C#.NET2003... more >>
How to show Unicode value of a string/char in C#
Posted by Nick at 8/22/2004 9:55:34 PM
Hi,
I would like to know what method can show the unicode value of string
and char in C#
Thanks.... more >>
How to know when an Event is done executing?
Posted by Poewood at 8/22/2004 9:25:02 PM
I put instructions within the Resize Event handler of a PocketPC program.
The instructions basically reset the sizes and locations of the objects on
the form. I base everything on the Form Height and Width. The problem the
resizing doesn't occur. The variables are set but the objects don't ... more >>
problem with refreshing a datagrid
Posted by Jeff at 8/22/2004 9:13:27 PM
IDE: VS 2003 :NET
OS: XP Pro
My app have a form with a tab-control on it. The tab-control have 2
tabpages. One of the tabpages displays a datagrid, and the other tabpage
displays details (order date, name, address etc) about the selected row in
the datagrid...
My problem is when I enter a... more >>
threading question
Posted by Jon Pope at 8/22/2004 8:48:33 PM
I've got a basic question about threading which I'm hoping someone here will
be able to answer:
Let's say my calling CallingClass has instantiated and started a worker
thread. When my worker thread has completed, it fires an event which
CallingClass has an event handler listening for.
M... more >>
Unexpected behavior: TypeConverter tc=TypeDescriptor.GetConverter(t);
Posted by kw at 8/22/2004 8:24:11 PM
I'm getting different behavior from what I would expect and was hoping
someone could clue me in. At run time I need to examine a property of an
object for a custom TypeConverter, then use that converter on a value.
Here's the deal:
object[]
attrs=(object[])PropertyInfo.GetCustomAttributes(... more >>
Provider error '8007000e'
Posted by Dayron at 8/22/2004 8:11:58 PM
Hi, I use ASP code to generate report that I retrieve about 100,000 to
800,000 records from database using ADODB.Recordset. But when i run the
code, it show me the following error.
Provider error '8007000e'
Not enough storage is available to complete this operation.
/e-survey/progress3.asp,... more >>
Control for HTML, RTF, Plain Text?
Posted by pnp at 8/22/2004 6:47:02 PM
Does anyone knows of a control that supports these formats?
Thanks in advance,
Peter
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Rich text box question.
Posted by pnp at 8/22/2004 6:37:49 PM
Is there any toolbar in a rich text box control that can be used for
formating its contents?
Thanks,
Peter
... more >>
Virtual Method Question
Posted by wackyphill NO[at]SPAM yahoo.com at 8/22/2004 6:27:50 PM
I read in one of Jesse Liberty's books that:
"Because ToString() is a virtual method in the base class Object, it
is guaranteed to be available in every derived class." (P.179
Programming C#)
My question is, wouldn't the ToString() method be guaranteed to be
available to derived classes ev... more >>
a question
Posted by 246C57AE-40DD-4d6b-9E8D-B0F5757BB2A8 at 8/22/2004 6:25:29 PM
Hi.
Is there any chance to work for Microsoft?
Thanx.
... more >>
Recordcount return -1 with ASP
Posted by Dayron at 8/22/2004 6:02:01 PM
I discovered that my asp code retrieve the record from the database and
I wish to get the recordcount of the record. Unfortunately, I always get
-1 instead of the correct record count.
I have try to use the below statement which I search through the forum
and this is the only answer for gettin... more >>
ProgressBar for Recursiv function
Posted by Marc van den Bogaard at 8/22/2004 5:19:37 PM
hello together!
I have a function in my programm set runs recursiv through a directory
and lists all files in the directory, subdirectory, just everything.
my issue is now, how do i manage the progressbar
that it shows me the current status from 0 - 100%.
i tried to count all files and do it ... more >>
Array of WebBrowser
Posted by zorhel at 8/22/2004 3:16:31 PM
Greetings,
I need to create a lot of instances of WebBrowsers (let's try 100) and store
that in a WebBrowser[] array according my following code, using Visual
Studio 2005 Beta.
private class Test
{
private WebBrowser[] _browser;
private void OpenBrowser()
{
for(int i=1; i<=100; i++)
{... more >>
debug in real time
Posted by Aaron at 8/22/2004 2:58:46 PM
is there a program that allows me to debug a webiste written in c# or vb in
real time?
It would provide me with the list of resources that the website is using.
(varaibles name, type, size, value...)
ie. see what variables are declared and what are the assign values as people
visit the websi... more >>
FontDialog (bold, italic)
Posted by Tim Bücker at 8/22/2004 2:33:33 PM
Hello.
I want to use the FontDialog to select a font, a font color and a font style
(bold, italic, ...).
Having a property for the font and font color, these are easy to read out
once the user clicked Ok.
But how can I determine if the user selected bold, italic or normal font
style as there... more >>
How to get all tables from Database?
Posted by Kruno Milicevic at 8/22/2004 2:27:27 PM
How to fill DataSet with ALL tables from database without naming each of
them in sqlString for myOleDbCommand.Commandtext...
Is there some simple sql expresion like this:
string selectString="SELECT someColumns FROM AllTablesFromMyDataBase"
Or must i try to find solution written with c#-code... more >>
Exception handling
Posted by Jesper Ordrup Christensen at 8/22/2004 2:27:04 PM
Say I've created a piece of code that involves both sql, io and some number
conversions. Being a responsible developer I have tried to catch all of the
exceptions - but how can I be sure?
Is there a way to list exactly which exceptions that are not handlet?
(design time)
I could of cause... more >>
.NET design question
Posted by TomTom at 8/22/2004 1:55:20 PM
Hi,
I am creating a simple .NET UI app and have a question on the way parameters
are passed between classes. Here is the situation.
1. I created a UI (Form1 class). This UI has many UI controls.
2. I created a separate class called MyClass.
3. MyClass needs to know what values are assigned ... more >>
No sourcecode documentation visible in Intellisense from my own class libraries
Posted by Roberto Rocco at 8/22/2004 1:40:09 PM
Hello,
Whenever I use methods from my class libraries I don't get any =
Intellisense support of the source documentation I supplied.
When I use the same code directly instead (i.e. adding the class =
directly to my project and not using the assembly dll of my class =
library) then I get Intel... more >>
DesignTime question
Posted by Tamir Khason at 8/22/2004 11:25:04 AM
I have a user control (control_1) wich holds other user control (control_2)
In control_1 there is:
if(!DesignMode) {cont = new control_2; }so in design mode I can not see the
user control_2 inside, this works fine untill I add control_1 to form or
other control. In this case the constrain !De... more >>
java api is better than .net api(.net framework class library)
Posted by Fei Li at 8/22/2004 10:37:01 AM
Java api is html doc. 3 panels, one for namespace, one for class and one for
class detail/methord detail.
normally people only remember the class name or guess the class name could
be. In java api you can find it quickly. How can I do this in .net api? I do
not know which namespace it is.
... more >>
Line break problem
Posted by Nurchi BECHED at 8/22/2004 7:45:45 AM
Hello, my dearest respected brother, All!
I am writing a simple p2p messenger (like Net Meeting)
It is working fine except for it is not braking line properly.
The following is a block of code that receives a message
on the server:
if
((this.server!=null)&&this.server.ServerStarted&&this.se... more >>
Help ArrayLis won't store, and how to remove duplicates????
Posted by boy_wonder48 NO[at]SPAM hotmail.com at 8/22/2004 7:19:37 AM
Hi I'm still having some problems getting my head round this language.
A couple of things don't seem to work for me. First I am trying to
obtan a count of the number of words in a sting, so am using the split
function with ' ', but how do i get it to take into account
punctuation marks such as '... more >>
Problem with multiple matches
Posted by josephgigi NO[at]SPAM hotmail.com at 8/22/2004 6:02:16 AM
I have the following expression
\<A\s*HREF\="[\w|_|\-|\/]*\?[\d|,]*">(?<LinkNum>\d*)\<\/A\>
This pattern works perfectly when I apply the pattern against the
single string such as
"somebody tried to do this <A
HREF="/cgi-bin/show_case_doc?9,3834,,,">92</A> on or before 8/11/03"
I get 92 ... more >>
import dll's
Posted by menkaur at 8/22/2004 3:33:01 AM
How to import my classes implemented in dll's?... more >>
question about CreateIdentityPermission
Posted by frédo at 8/22/2004 2:40:59 AM
Why CreateIdentityPermission() is asking an instance of
Evidence? I don't understand what it is made for and
anyway from where I should take it?
I paased null and everything seems working fine.
thank you... more >>
Caching approach in API
Posted by Anders Borum at 8/22/2004 1:29:11 AM
Hello!
I am developing an API that supports caching and would like your comments on
my implementation (and thoughts on the subject).
A set of Service classes have been designed, allowing the programmer to
access the functionality in the API. A Service could for instance allow the
programmer... more >>
line number question
Posted by Marge Inoferror at 8/22/2004 12:46:28 AM
Well, 2 questions, actually...
I get an error when my form's window gets covered by another window. I =
can resize sucessfully all day, but when the window is covered by =
another window - it bombs Here is the error:
Unhandled Exception: System.NullReferenceException: Object reference not ... more >>
|