all groups > c# > november 2004 > threads for saturday november 20
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
create public message queue at remote machine
Posted by deepak at 11/20/2004 11:13:01 PM
I have to create message queue at remote machin. My code works properly when
i use console application in c#. But it throws exception whenever i try it on
web application in c#. My code is
MessageQueue.Create("FormatName:DIRECT=OS:MachineName\\QueueName");
or
MessageQueue.Create("Ma... more >>
regex question
Posted by Dirk Reske at 11/20/2004 9:57:52 PM
Hello,
i don't know if this question fits here.
How can I extract all links out of a web pages source?
<a href="microsoft.com">Go here<"/a>
I want only microsoft.com....
thanks
... more >>
Infinite value?
Posted by ORC at 11/20/2004 8:56:09 PM
I've read somewhere that C# has an representation of the Infinite value but
don't remember where. I need to set a double to Infinite - how to do that?
dValue = Inf; ???
Will an old Visual Basic program that imports the data from my program be
able to understand the 'Infinite' value?
Thanks
... more >>
A good C# book with OOP concepts
Posted by Trying2Learn at 11/20/2004 8:27:21 PM
Hello,
Can anyone suggest me a good intermediate level C# book that teaches
OOP concepts too. I saw Beginning C# Objects: From Concepts to Code by
Jacquie Barker, it seems good but I want a second openion.
Your helpful suggestions will be welcome.
Thanks... more >>
Array.Sort a Static method?
Posted by Rene \(Programmer Wannabe\) at 11/20/2004 8:03:45 PM
Why do I have to resort to using the static method of the array like this:
int[] someArray = new int[3];
Array.Sort(someArray);
Why wasn't the Sort method for the array implemented like this:
int[] someArray = new int[3];
someArray.Sort();
Thank you.
... more >>
I need to pass between classes in the same namespace but unsure how
Posted by sparks at 11/20/2004 8:03:21 PM
Ok I have a person class and a files class to output to a database.
the question I have is if person has name, and address for example
can I pass person object instead of each individual item in the class?
public class Person
{
private string Name;
private string Address;
}
a function ... more >>
View selected item in listView
Posted by Alberto at 11/20/2004 6:58:09 PM
I select an item in a listView by code and it works fine (thanks to Morten
Wennevik who tell me how to do it) but if the item is out of screen (there
are a lot of items) I'd like to see it selected. Actually, the item is
selected but I can't see because is out of screen.
Thank you.
... more >>
overriding the Size property in Control?
Posted by ORC at 11/20/2004 4:25:39 PM
How do I override the Size property in a user made Control (e.g.: public
void Graph : Control). I'll need to set gridsize etc. that is dependent of
the control size and therefore I thought that I would set these properties
in the overriden Size property., but I get an error message when trying
t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Threading
Posted by Mark at 11/20/2004 2:23:37 PM
Hi,
Normally in what kind of situation system will abort a thread created
manually ? And how do I know the thread is aborted by system after I start
it?
Thanks!
Mark
... more >>
Data structures
Posted by freddy at 11/20/2004 1:47:02 PM
I need a good book on data structures like they have to c and c++. It should
cover link list, stacks, single list and so on.... more >>
FTP Upload using FtpWebRequest problem PLEASE HELP
Posted by SevDer at 11/20/2004 12:50:13 PM
Hi,
I am trying to write a simple application which copies the predefined
files (hardcoded in the code) to my ftp server.
I couldn't make it working. I don't want to use any 3rd party
components, because I want to learn. (I am using .NET Framework 2.0, but
I don't think my problem is bec... more >>
Circular listview
Posted by Alberto at 11/20/2004 12:44:25 PM
I need a listview where the user can select the items with the arrow keys
but I also want that it works in a circular way: if you are in the first
item and press key up, the last item is selected (the same with the last
one).
I wrote this code for the keyDown event of the listView:
if (l... more >>
Convert.ToDouble() or (double) ?
Posted by ORC at 11/20/2004 12:43:48 PM
What is the difference between:
Convert.ToDouble(Int16number);
and:
(double)Int16number; ?
and which is the fastest?
Thanks
Ole
... more >>
String Conversion Alternatives - One Method Better Than Other?
Posted by RC at 11/20/2004 12:35:31 PM
Just wondering if there are good reasons (performance, ?) to use one of
these string conversion alternatives over the other:
1. Convert.ToString()
2. someObject.ToString()
Example:
Convert.ToString(DataRow1["SomeValue"])
vs.
DataRow1["SomeValue"].ToString()
Thanks
... more >>
Generic types performance oddities (4x4 matrix multiplication test)
Posted by Eran Kampf at 11/20/2004 12:11:27 PM
Hi,
I am currently working on a C# numerics library (Sharp3D.Math -
http://www.ekampf.com/Sharp3D.Math/) and I decided to test the performance
of generic types to see if they're worth the effort.
I tested performance of a 4x4 matrix multiply operation, the solution on how
to use numerics wit... more >>
TextArea Length ???
Posted by Samir Patel at 11/20/2004 11:50:54 AM
Hi
I am using Textarea type.I want to set maximum length to the textarea.
I am using following code for the same,but it is not working,
<textarea name="txtDescription" cols=10 rows=3 axlength=50></textarea>
<asp:TextBox Font-Names="verdana" Runat="server" ID="tforumtext"
TextMode="MultiLine" ... more >>
C++ structure to C# structure - help needed
Posted by B Vidyadhar Joshi at 11/20/2004 11:29:19 AM
I have converted a few C++ structures to C# structures. However, when I use
them in the code, I get errors in "internal static BluetoothDeviceInfo
Create()". I feel I'm doing something wrong while converting the union.
Could someone help please?
/*
typedef ULONGLONG BTH_ADDR;
typedef str... more >>
Console App Basic Question
Posted by Dave at 11/20/2004 8:42:06 AM
I created a console app in Visual Studio 2003 using C#.
How to I distribute this app after I build it?
It is my understanding that a C# app will run on any machine with the Net
Framework installed.
Do I simply copy the exe file to the machine on which the console app is to
run?
And i... more >>
Implementing interface problem
Posted by hex at 11/20/2004 7:09:05 AM
Hi
I make a class "MyClass" and this clas implements the Interface ICloneable.
I want when I instance an object from MyClass and I call obj.Clone() it
returns an object of MyClass type.
for example:
public class MyClasss : ICloneable
{
public void A();
public object Clone(){} // Th... more >>
Using Regular Expressions
Posted by bernardpace NO[at]SPAM yahoo.com at 11/20/2004 7:07:46 AM
Hi,
I have a text file full of html tags. I would like to extract the
text that is situated between two specific tags. The two tags are
<span class="serif"> ????? </span>.
Now I would like to get the text that is marked as ?. Its length is
not predefined.
Can someone help me out.
... more >>
Visual Studio going open source?
Posted by james NO[at]SPAM architectbook.com at 11/20/2004 4:27:49 AM
Read about it at http://blogs.ittoolbox.com/eai/leadership... more >>
ANN: WinFX SDK Preview
Posted by Thomas Scheidegger [MVP] at 11/20/2004 12:46:47 AM
For MSDN-Subscribers now available:
http://msdn.microsoft.com/subscriptions/
( Tools, SDKs, and DDKs | Platform Tools, SDKs, DDKs )
Microsoft WinFX Software Development Kit (SDK) "Avalon" Community Technology Preview Edition
http://msdn.microsoft.com/Longhorn/understanding/p... more >>
|