| |
thread by: James C. Li |
last post Nov 13 '05 by: James C. Li
why implement icloneable which seems to involve writing
public object Clone()
{
return this;
}
when I can do
myobject o1 = new myobject()
myobject o2;
|
thread by: James C. Li |
last post Nov 13 '05 by: James C. Li
If instant messaging uses IP and a Port to communicate, how do the
applications work behind a NAT?
Hi Matt,
ALL tcp protocols ( HTTP, TCP, etc ) use IP and ports cause those are the
basics elements of the protocol. If you want to know how NAT works take a
look at google for "NAT explained"...
|
thread by: James C. Li |
last post Nov 13 '05 by: James C. Li
Hi,
I've a windows' form application written in C#. I want to
drag a url's link from a website application onto my
windows' form TreeView control. I've been able to achieve
the following
1.) The description of the mouse consor when draging a
TreeNode within the TreeView control using DragOver event.
2.) Draging TreeNode from one Node to...
|
thread by: James C. Li |
last post Nov 13 '05 by: James C. Li
i,
Anyone can send me a code exaple to customize the Window
Title Bar?
I need to change the color and the Control Buttons.
Thanks in advance.
Diego
|
thread by: KPK |
last post Nov 13 '05 by: Jon Skeet
Hello:
What namespace do I need to import in order to use the description
attribute in c#? I have class with custom properties and I would like
to have a description of the properties displayed on the property
page.
Here is the format I'm using:
|
thread by: Anand Ganesh |
last post Nov 13 '05 by: Anand Ganesh
HI All,
I have an Image. I want to clip a portion of it and copy to another image.
How to do this? I know the bounding rectangle to clip.
Any suggestions please.
Thanks for your time and help.
Regards
|
thread by: Rob |
last post Nov 13 '05 by: Rob
CSharpNET is the largest email-based user-group on the Net
that is just 10 months old and with over 1000 members. You
may subscribe to C#.NET group by sending an email to:
CSharpNET-subscribe@yahoogroups.com
or by surfing to:
http://groups.yahoo.com/group/CSharpNET
http://groups.yahoo.com/group/CSharpNET/join
|
| |
thread by: Microsoft |
last post Nov 13 '05 by: Microsoft
Hi All,
Any suggestions appreciated.
I am trying to do a string search through a comboBox list,
have created a simple test which is listed below. The problem
I am having is, every time a key is pressed it echoes the char
back to the combo twice. For example, if I type D in the combo
I get back Dd. The following app works OK if I use...
|
thread by: weixiang |
last post Nov 13 '05 by: weixiang
Hi,
I am writing a program that have some filenames collected in a List View.
Then I need to display the correct icon for each of them according to the
extension of the file. In the document I found that I can use the
"Path.GetExtension()" to retrieve the extension of the file. But, how to
get the icon from the extension that display in...
|
thread by: Dmitri Shvetsov |
last post Nov 13 '05 by: cody
Hi All,
Did somebody see any standard library to calc CRC64 from something, string,
byte,... It least CRC32, although CRC64 would be more helpful.
I need to make a strong file control using this schema.
Regards,
Dmitri.
|
thread by: Goran Genter |
last post Nov 13 '05 by: Goran Genter
You have certainly noticed that PropertyGrid control shows Point, Size,
Array, etc. properties of objects with the + sign left to it, and by
pressing it you can expand child properties of Point, Size, etc... (like X,
Y, Height, Width)!
You can edit them one by one, and you get better look on every one of them
(especially for arrays).
...
|
thread by: Daisy |
last post Nov 13 '05 by: Daisy
I've got a class that contains a few public properties, and a public
ArrayList called Messages. The ArrayList will store other instances of this
class (thus, creating a tree).
My constructor takes 2 strings that just set properties on the class.
Adding a new Message into the ArrayList of another Message works fine:
...
|
thread by: Daisy |
last post Nov 13 '05 by: Daisy
I've dealt with inheriting classes and overriding methods etc., but I keep
seeing loads of examples that override WndProc, such as
http://www.codeproject.com/cs/miscctrl/treeview.asp
What's this all about? The code looks pretty nasty, but there are so many C#
examples out there writing things this way, I'm sure I'm missing something...
|
thread by: Frank |
last post Nov 13 '05 by: Frank
If I have written a C# .dll file, how can I use the .dll
file in the C++6.0?
Can anyone give me a simple example?
Thank you!!!
regards,
Frank
|
thread by: Sajid Saeed |
last post Nov 13 '05 by: Sajid Saeed
Hi,
I am trying to write an application that should get the default security
credentials from the System.Net.CredentialCache,
I am not sure what is the correct procedure to use it, and would obliged, it
someone could help me in its correct usage.
Thanks
|
| |
thread by: joan |
last post Nov 13 '05 by: joan
Hi all,
Let me explain my problem , I need to transform 1 xml file to html
using Xsl , It works fine , but my problem is how to do it.I have 1
xml file and 4 xslts! divided in 2 groups. What I need to do is within
C# chose 1 xslt template from the first group and another one from the
second group , "merge" them and transform to html. I have...
|
thread by: Vadym Stetsyak |
last post Nov 13 '05 by: Vadym Stetsyak
Hello!
I've got a class, representing Windows Form (Form1);
When I launch new thread user interface e.g. Form1 stops responding until
the worker thread is completed.
So the question - how this can be avoided. Roughly speaking I need to
perform some job after the button click and while this job is completing
user GUI can respond.
|
thread by: andy |
last post Nov 13 '05 by: Hoang Anh Tu
I have user controls(.ascx) programmed to function as modules on the same
page - default.aspx.
As you would be well aware, default.aspx has the normal html stuff:-
<%@ Page language="c#" codebehind="default.aspx.cs"
inherits="xmlportal.read" autoeventwireup="false"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>...
|
thread by: Ignacio Domínguez |
last post Nov 13 '05 by: Ignacio Domínguez
Hi. Can you help me on this? I have the following:
MyStruct myStruct = new MyStruct ();
Then a function filled up myStruct. Now I need to read the struct data byte
by byte because I have a "dwParam1Offset" and a "dwParam1Size" in it that
contains an unicode string which I need to have.
Is there any way of retrieving this information?...
|
thread by: Robert Muchacki |
last post Nov 13 '05 by: JPM
Hello all!
I'm fighting with this little problem. I'm trying to retrieve data from a
table in SQL Server 2k. I'm dead. The only result I get is retrieving the
headers of the columns - no data in it actually :/ I'm probably missing
something on the way. Could somebody explain me how do I get data and even
WHERE I should retrieve it to?...
|
thread by: JJ Lay |
last post Nov 13 '05 by: JJ Lay
I have an application that is computationally intensive. It will read and
process a DB/2 database containing over two million records. My initial
design was to build the application using C++, MPI and a Linux cluster.
However, rather than invest in the hardware and software to do this, I was
wondering about the feasibility of building it in...
|
thread by: Bob Allen |
last post Nov 13 '05 by: Mattias Sjögren
I am interfacing to a non .NET app and one of the params is of type variant.
In C# it is asking for an object. I went down that path with no luck. I ran
across using "marshal as" to convert an object to a variant. I cannot see
how to do this? I have 10 params to send a method by reference as type
variant. Is there an easy way to do this? Any...
|
thread by: Vadym Stetsyak |
last post Nov 13 '05 by: Thomas Scheidegger [MVP]
Hi there!!!
I'm looking for any resources on the subject.
Any help will be appreciated!
--
Vadym Stetsyak
ICQ 161730125
He, who commands the past - commands the future
|
| |
thread by: david |
last post Nov 13 '05 by: david
Hi all, I am new to C#, I am trying to use a 3-party dll that require
me to setup my own call back routine in a structure. All is good with
in C++ if caller in c++ but in C# I am lost.
The dll require me to pass in the following:
typedef struct my_fn_in_dll {
unsigned short version;
char * caller;...
|
thread by: Trevor Balcom |
last post Nov 13 '05 by: Jonathan Schafer
I would like to do things when my object goes out of scope, like
disconnect TCP/IP streams, serialize collections to files and so on... Would
I implement my cleanup code in Dispose() ?
Is this correct?
class A : IDisposable
{
A()
|