all groups > c# > january 2004 > threads for thursday january 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
C# DirectPlay lobby launch not working?
Posted by Moshe Bergman at 1/1/2004 10:07:09 PM
I am trying to launch Flight Simulator 2004, and have it connect to
localhost, I can do this in C++ but not on C#...
Here is my code:
ConnectInformation info = new ConnectInformation();
ConnectionSettings settings = new ConnectionSettings();
settings.HostAddress = new Microsoft.DirectX.Dire... more >>
Enum base-type question
Posted by Tyler at 1/1/2004 9:27:04 PM
The MSDN help on the enum keyword for the C# language indicates that it is
possible to give an enumeration a base-type other than int. In my case, I
have chosen to give it a base type of uint.
The annoying thing I have encountered, is that when I switch on a uint
value, I still have to explic... more >>
Generate XML file from C# class
Posted by Arjen at 1/1/2004 8:46:39 PM
Hello,
Like my question below... sorry, I hope this is a better explanation of my
question.
What I want is to generate is a XML file from my existing C# class.
I want to use this XML file for XML serialization.
How can I generate a well formed XML file from my C# code?
Thanks!
... more >>
Advanced String Manipulation
Posted by kuya789 NO[at]SPAM yahoo.com at 1/1/2004 8:26:04 PM
I like like to randomly output phone numbers seperated by \ and / from a string
s = "\231-3423/\453-1234/\231-3473/\231-3474/"
private string GetPhoneNum()
{
s = "\231-3423/\453-1234/\231-3473/\231-3474/"
//randomly pick a phone num from string.
n = randomNum;
return n;//ie. 453-1234
}... more >>
Generate XML files from C# class (XML serialization)
Posted by Arjen at 1/1/2004 8:20:48 PM
Hello,
With XDE (xml file) and Visio (uml) you can generate C# classes code from
diagrams.
Now I have made some C# classes with Visio UML diagrams.
Inside these classes I have some variables that I want to save in an XML
file.
(XML serialization) This XML files must have a structure.
Is... more >>
How to format {}
Posted by Arjen at 1/1/2004 5:45:15 PM
Hello,
I have some code that looks like this.
public string Name
{
get
{
value;
}
set
{
}
}
How can I change it to:
public string Name {
get {
value;
}
set {
}
}
Thanks!
... more >>
How browse this newsgroup in my outlook?
Posted by Liren Zhao at 1/1/2004 5:11:01 PM
It always view in my ie browser/..... more >>
Reference controls from another form
Posted by Taryon at 1/1/2004 4:15:15 PM
Consider the Form A calling the Form B. In the Form B i need to access the
values of the Form A textbox.
Normally i create the textbox as public. BUT in this case, the textbox of
Form A will be created on the fly and i cant use the MODIFIERS.
Anyone has an idea how to do it?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Rational numbers in exif info.
Posted by Martin Stainsby at 1/1/2004 2:56:57 PM
I'm not sure whether I am approaching this correctly?
I'm trying to get the focal length from exif info stored in an image.
The Visual studio help says it is stored in "An array of two Byte objects
that represent a rational number".
Yet there are eight bytes in the info? shown below.
89 0... more >>
[newbie] list of static methods
Posted by Nikola Skoric at 1/1/2004 2:19:02 PM
Hello all,
How do I convert string to int? Say, I have "123", how do I convert it
to 123? What I need is something like atoi() function in C.
Next, is there built in function for converting numbers from one base to
another (for instance, dec to bin)?
And, where can I find a list of all ... more >>
Create an enum at runtime
Posted by Lawrence Oluyede at 1/1/2004 1:42:11 PM
I have a list of strings and i'd like to build up an
enum from them... is there a way to do that?
Thanks in advance.
--
Lawrence "Rhymes" Oluyede
http://loluyede.blogspot.com... more >>
Charts
Posted by Daryoush at 1/1/2004 1:10:44 PM
How i can create a Chart On Forms and use that chart in
vs.net ?
i think there is no chart object in vs.net and i have to
use cristal report. is this true?... more >>
loading assemblies over http without remoting
Posted by JT at 1/1/2004 11:53:27 AM
Hi,
Is there a way to have one of my assemblies (dll) be loaded at runtime from
a URL instead of locally? i.e., I would never want that dll to reside on the
user's hard drive, not even as a temp file: straight from the network into
memory. I don't want to use remoting because I'd prefer to not... more >>
File Upload Control
Posted by Jax at 1/1/2004 11:42:15 AM
I have noticed there is an inherent limit on the size of a
file you can upload using the standard HTML file control.
Does anyone know of the exact limit, anyway in which this
can be bypassed, or a place to get/buy a control that will
have a far higher maximum?
Many thanks for any feedback... more >>
BinaryWriter and string data type
Posted by John Aldrin at 1/1/2004 9:19:25 AM
Hi,
I'm looking for info that explains the format of a string data type
when written to a stream using a BinaryWriter. I've looked all over
MSDN and Internet and I cannot seem to find it.
I did some simple testing and it seems that the string data is
prefixed w/a variable number of bytes ... more >>
Full Database System Sample?
Posted by Eliezer Figueroa at 1/1/2004 8:47:34 AM
Full Database System Sample?
I want to know if there any good windows forms based database sample
application that can be downloaded.I searched the MS site but most of the
database samples are for ASP or are not full application but istead sample
of a particular feature. I am looking for s... more >>
How to get Conole output information in my winform program?
Posted by Liren Zhao at 1/1/2004 8:29:54 AM
I use some "Console.WriteLine(some strings here)" to
display some
debug information in my winform program.
How can I get the information in my programe or same them
in a text file ?
... more >>
speech engine
Posted by ibrahim NO[at]SPAM islamabad-dot-net.no-spam.invalid at 1/1/2004 7:56:27 AM
i want free speech which i can use for the dot net project (C#), which
is available on internet
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Speciali... more >>
Inherited event handlers
Posted by joe at 1/1/2004 4:05:54 AM
Happy New Year to you all and may the source be with you!
I have a class, which handles an event and I derive from
this class. I dont want the event handler in the base
class to be called anymore as it does things I dont want
it to do. I want to handle the event in the derived class.
How d... more >>
Happy New Year!
Posted by Nicholas Paldino [.NET/C# MVP] at 1/1/2004 12:00:05 AM
Granted, I know I shouldn't set my system clock so that my post appears
further down than everyone else's, but I figured in this case, it would be
acceptable =)
BTW, the time is EST (GMT -5) for those not in the same time zone.
Best wishes to all in the upcoming year.
--
... more >>
|