all groups > c# > december 2004 > threads for saturday december 4
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
how to store key value pairs ?
Posted by Tom Gao at 12/4/2004 11:09:49 PM
if I wanted to store value in a key-value pair how do I do it ? I want to
keep them in order of A C B D... so this means I can't use sortlist and I
also can't use hashtable as it means I would lose ordering
Thanks
Tom
... more >>
C# property usage question
Posted by vh at 12/4/2004 10:03:36 PM
Hi,
I'm new to C#. Most examples about properties I found are sth like the
following:
class A{
private int property;
public int Property {
get { return property; }
set { property = value; }
}
}
My question is, Can I simply do the following:
class A {
public int Property;
}
... more >>
Built in function for text cut-off?
Posted by Davids at 12/4/2004 9:45:31 PM
does C# (or even .Net) have some built in function to make a cut off in a
lengthy text, eg cut all text behind the last space (or carriage return)
occuring after - say - the 300th word? I know how to code this, just thought
there'd be some built in function?
... more >>
Managing Nulls in the DB
Posted by Simon at 12/4/2004 8:43:12 PM
Hi all,
Do you think the best way to avoid the problems of nulls in the database is
just to provide default values via the db schema?
Alternatively, is it better to allow nulls, seeing as the "absence" of data
is an entirely valid and useful value?
If the later is true, is there a bette... more >>
Get some value from XML file
Posted by David at 12/4/2004 8:21:54 PM
Hello.
I have XML file like this:
==========================================
<?xml version="1.0" encoding="utf-8" ?>
<Language>
<English>
<Captions>
<Name>Some caption</Name>
</Captions>
<Messages>
<Name>Some message</Name>
</Messages>
</English>
</Language>
=========... more >>
Missing Classes in the System.Web Namespace
Posted by Typpo at 12/4/2004 7:59:01 PM
Hi all,
I'm trying to use System.Web.HttpUtility.UrlEncode() method, but I keep
getting the compiler error:
"The type or namespace name 'HttpUtility' does not exist in the
namespace 'System.Web' (are you missing an assembly reference?)"
I am using System.Web and C# 2005 Express Edition ... more >>
metadata operation failed (8013110E) : Database file is corrupt and may not be usable.
Posted by Tomas Vera at 12/4/2004 7:41:53 PM
Hello All (This is being cross-posted to the C++ group),
I've started receiving the subject message during a compile of a C++
based interface module used in my C# based WebApp. This module exposes
some functions from our main Windows DLL to my web app. I get the same
error message whether I co... more >>
XML creation XMLTextWriter vs MSXML
Posted by JD at 12/4/2004 6:14:17 PM
Hi --
When I create an xml data stream using C# XMLTextWriter I can use
WriteStartElement/WriteElementString and WriteEndElement. Works great. Now
I'm trying to add elements to an existing piece of xml using C++ and MSXML.
And I'm have a difficult time creating elements and appending child... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Managed C++
Posted by Bern at 12/4/2004 6:09:01 PM
Will managed c++ be compiled into MSIL or native machine language?
... more >>
Launch another application from within C# Winforms application
Posted by sutcliffe_grant NO[at]SPAM hotmail.com at 12/4/2004 5:16:44 PM
Hi
I am trying to use ShellExecute to launch an application to display a
certain file.
The variation on the theme is that I need to be able to specify the
application to launch and not simply pass the file name (which will
then result in the application associated with the file extension to
... more >>
yes, i'm a complete retard probably asking a simple question :-)
Posted by Steve at 12/4/2004 3:57:43 PM
any my question is: how would you go about changing the style of an
application (form)
ie make a square form round or appear round???
any comments appreciated
cheers
Shiznit (extreme novice programmer)
... more >>
Book
Posted by f.blair at 12/4/2004 3:40:02 PM
What is the best book for a newbie, with very little OOP experience.
Fred
... more >>
Fitch and Mather Sample App
Posted by Dan at 12/4/2004 12:15:02 PM
I'm trying to install the Fitch and Mather sample app and I get a dialog that
says I need .NET SDK 1.0.2914.
I've installed .NET SDK 1.1 and I'm still getting this message.
Can anyone help?... more >>
Background ops / threading question
Posted by Zach at 12/4/2004 11:48:01 AM
SAY I HAVE THE FOLLOWING HYPOTHETICAL SITUATION:
A file with three fields: a, b, and c .
A form-class with two buttons (one calling a data-entry-class, one calling
an adding-up class).
A form-class with a data-entry routine (a and b to the file).
A non-form-class with an adding-up routine (c in... more >>
Getting a MAC address from a received UDP packet in C#
Posted by Ron at 12/4/2004 11:42:13 AM
How can I get the MAC address from a received UDP packet with C#?... more >>
VB style 'with' contruct
Posted by Brian Burgess at 12/4/2004 11:36:53 AM
Hi all,
Is there a construct in C# that allow multiple operations on an object? ..
Similar to the VB 'WITH'?
Many Thx in Advance..
-BB
... more >>
Sending http without waiting for reply.
Posted by Jesper at 12/4/2004 10:59:04 AM
Hi,
Is there a way to send a http message without waiting for the reply. I just
want a server to register some information if its up and running.
thanks Jesper.
... more >>
Adding key events to a label
Posted by Edgardo Rossetto at 12/4/2004 10:12:24 AM
Is it possible? How can I do it?
I read the documentation about the events and delegates, but its somehow
unclear, specially since it doesn't involve any data, I only want to add
the key events to the label control.
Sorry if this is dumb, I'm kind of newbie.... more >>
Are there any side tab controls for c#
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 12/4/2004 9:29:06 AM
like in Visual Studio .NET. The tabs are on the the side, bottom,
etc., and can move out when you hover over them. Is there anything to
do that in my own programs? Thank you.... more >>
please help me!
Posted by Nguyen Thanh Danh at 12/4/2004 9:21:18 AM
I want to use a control like taskbar which use in Windownmedia9.0 (see
attack picture) but i dont know where to get this control, please tell me
where to download or to find it. Thanks a lot.
begin 666 taskbar.gif
M1TE&.#EAJ %8`?<``````/___]30R#E$<OT4(WX#/ST"+_H$S_[V_O[Z_FL$
MA:$&_BH"03<V.3... more >>
Passing an ArrayList to a native DLL?
Posted by ORC at 12/4/2004 9:03:25 AM
Is it possible to pass an ArrayList instead of a System.Array to a native
DLL - and if so is there any specific things to do (like e.g. marshaling)?
Thanks,
Ole
... more >>
How to save changes to XmlDataDocument?
Posted by deko at 12/4/2004 7:07:48 AM
I create an XmlDataDocument Dataset when the main form of my WinForms app
opens. The user will make changes to the Dataset, and then those changes
should be saved to the XML file when the code runs xdd.Save(xmlFile). But I
get an error when I try to save the Dataset back to the XML file: "The
... more >>
Why webapp not work on remote server and how to debug?
Posted by Tom at 12/4/2004 5:51:02 AM
Hi,
I built several web applications and all work on local and remote servers.
Recently, I built one web application which works on local server. However,
the login page can be shown on remote server, but the login button does not
has response.
There are login name and password textbox... more >>
How to access same dataset from different methods?
Posted by deko at 12/4/2004 2:32:15 AM
This may be an elementary question.
The Build error I get is: "...frmMain.cs(964): The type or namespace name
'xdd' could not be found..."
I create a dataset when frmMain opens:
public frmMain()
{
InitializeComponent();
string xmlSchema = (@"C:\Projects.xsd");
string xmlFi... more >>
Arrays
Posted by Manco at 12/4/2004 2:16:39 AM
I understand the declaring an array:
int[] arr = new int[5]{1,2,3,4,5};
this object will be derived from System.Array, yet when I examine the MSIL,
it's not quite clear, I don't see an extends attribute.
... more >>
StreamWriter / Problems?
Posted by Leon at 12/4/2004 1:50:00 AM
I wrote an custom error handler that works, but why the ErrorLog.txt file is
being created/written in the root web instead of the folder within my web
application?
Root web = C:\Inetpub\wwwroot -&- Web Application Folder =
C:\Inetpub\wwwroot\MySite
See code:
Public Shared Sub LogError(ByVa... more >>
Controling hardware
Posted by Mohammed Abdel-Razzak at 12/4/2004 1:05:03 AM
Dear sirs
I want you to give me link to some articles talking about controling the
computer hardware from C#.
But what I most need now:
How can I open the CDRom from my C# application???
thanks
Mohammed... more >>
|