all groups > c# > may 2005 > threads for sunday may 1
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
closing of a process
Posted by lkr at 5/1/2005 10:28:05 PM
hi
i am doing a socket program. and i m invoking a whiteboard application in
server side and at the same time it should be invoking the other end ie in
client side. i want to close the application in the client end when i close
it . how can it be possible in c#
expecting ur reply
lkr... more >>
Hyperlinks on a DataGrid
Posted by Ruy Castelli at 5/1/2005 9:59:14 PM
Hello,
I'm trying to get the details out of a datagrid component and it works fine
when I'm accessing the first page of the datagrid, but when I try to click
on the details hyperlink for an item that is not on the first page, the
web-page displays the first page of the datagrid again and sh... more >>
Circle is not round
Posted by dever at 5/1/2005 7:49:09 PM
I used Graphics.DrawEllipse Method (Pen, Single, Single, Single,
Single) method to draw circle but the circle is not round.
Any suggestions?
Thanks
... more >>
Abstract class or interface?
Posted by Brett at 5/1/2005 7:35:19 PM
I'm still trying to figure out concrete reasons to use one over the other.
I understand the abstract class can have implementation in its methods and
derived classes can only inherit one abstract class. The interface has
implied abstract methods/properties and derived classes can inherit mult... more >>
Calling a main thread method from a worker thread
Posted by Hao L at 5/1/2005 6:24:54 PM
For example,
void WorkerMethod() { ... UnregisterAllHotkeys();}
void UnregisterAllHotKeys { for(...) {UnregisterHotKey(...);}}
UnregisterHotKey is an API function that must be on the thread that
RegisterHotKey was called in order to unregister any of the hot keys
RegisterHotkey registered. ... more >>
Paging problems
Posted by Ruy Castelli at 5/1/2005 4:44:16 PM
Hello,
I'm learning to code in C# and I created a DataGrid component, which I
couldn't get it to work properly either using "Next >>" and "<< Previous"
buttons or using actual page numbers.
When I use the "Next" and "Previous" buttons, I move on one page (going from
page 1 to 2). Then if... more >>
Threading
Posted by MacKenzie Mickelsen at 5/1/2005 3:50:33 PM
Hey everyone
I am new to threading. Does a thread stop/die once the method attached to
it ends?
Also does anyone know where I might find a tutorial on threading?
Thanks
Kenzie
... more >>
What is [MTAThread] & why doesn't VB have it?
Posted by Brett at 5/1/2005 12:28:01 PM
C# code automatically generates [STAThread] or [MTAThread] references.
Single or Multi apartment threads. What exacty does this do and what will
happen if I remove it?
Is MTAThread necessary if I want to use multiple threads in my app?
Also, why doesn't VB use STA or MTA thread?
Thanks... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Errors in C# 2.0 specification?
Posted by Smarty at 5/1/2005 7:43:01 AM
I guess there are many errors in current version of C# 2.0 specification.
Let's see one of many examples(I use C# Express beta 2, but think you can use
any C#2.0 compiler). So, in document
http://download.microsoft.com/download/8/1/6/81682478-4018-48fe-9e5e-f87a44af3db9/specificationver2.doc
... more >>
problems with user control
Posted by Jason Winters at 5/1/2005 2:19:36 AM
I have implemented a user control in c# .net 2002 but the problem is that
the control keeps disappearing off of the form for no reason. I am not
making any changing to the form or the control. It disappears off of all
the forms that it is on. Any hints why this is happening?
... more >>
Design Ideas
Posted by John Lee at 5/1/2005 1:01:20 AM
Hi,
We are planning to use SQL 2005 as database backend, VS.NET 2005 to develop
service layer component (accessing SQL 2005 and taking advantage of
Transactions namespace, etc.) and create web services then the User
interface will be developed using VS.NET 2003 (I wanted to use VS.NET 2005 ... more >>
Parsing XML
Posted by Fabio Cannizzo at 5/1/2005 12:00:00 AM
I have an XML file based on an XSD schema.
It represents the content of a treeview (or a menu system), where the nodes
are always of the same few types, but can be arbitrarily nested.
I am writing my own recursive parser to read the file, but I wonder if there
is some method ready to use p... more >>
Invoke Error
Posted by Boni at 5/1/2005 12:00:00 AM
Dear all,
I am trying to dynamically create the instance
(withActivator.CreateInstance) of cManop class
This class uses as reference Dep4Man class.
But somehow at the invokation time I get a exception, that Dep4Man class
couldn't be found. The class is regersered with regasm Dep4Man.dll /code... more >>
Newbie: static objects across different processes are shared?
Posted by Fabio Cannizzo at 5/1/2005 12:00:00 AM
My assembly contains some static objects, e.g.
public myClass {
static int i = 0;
}
If the DLL is loaded by two processes, do these share the instance of "i"?
What if the DLL is in the GAC?
Thanks,
Fabio
... more >>
|