all groups > c# > january 2004 > threads for sunday january 11
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
VB.NET to C# Conerter
Posted by Ali.M at 1/11/2004 11:58:34 PM
Hi,
I have to convert a big vb.net code to C#. Is there an automated way to do
that?
Thanks,
Ali
... more >>
Inheritance
Posted by Hai Nguyen at 1/11/2004 9:29:54 PM
I would like to know I have two pages: consider page1, page2. Also, I have
code C# behind these two asp.net webforms. I code some methods in page1 and
I want page2 inherit what page1 has.
I know something has to deal with reference and inherit namespace and such.
Please give me a link or keywo... more >>
checking for null in event firing
Posted by matthew at 1/11/2004 9:23:23 PM
Doesn't this get old? Why in the world can't it just do nothing if there
are no event handlers attached to it.
... more >>
Enums
Posted by Jim Heavey at 1/11/2004 8:45:20 PM
Trying to figure out how to convert back an forth between and Enum.
I am working with DbType. I am want to create a string value of what a
particular DbType is, say "DbType.String" to "String" and then convert
"string" back to "DbType.String"
I understand that I can get the string value a... more >>
how to develop SDI application in C#
Posted by Kanaiya at 1/11/2004 8:44:41 PM
how to develop SDI application in C#.... more >>
Array Caching
Posted by Aaron at 1/11/2004 6:58:37 PM
I would like to cache a list of names of the last 5 users in server cache.
and when a new user visits this page it would delete the oldest user in the
last and add the new user.
pseudo code
string[] actUserList;
actUserList[] = (string[])Cache[("AUL")];
//delete oldest user code
Cache... more >>
transparent picturebox
Posted by Richard Saville at 1/11/2004 6:53:00 PM
I am trying to make a transparent pictureBox. MSDN says to use
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true); for the
form
and this.pictureBox1.BackColor = Color.Transparent; for the pictureBox
I does not seem to work. I have put this pictureBox on top of another one,
but it... more >>
Connecting to OLAP database using c#
Posted by guy at 1/11/2004 5:16:46 PM
can anyone please tell me how to connect to OLAP database using c# ?
thanks
Guy
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
About Identity Value
Posted by Paul at 1/11/2004 4:51:47 PM
Dear All,
How should I do if I want to get the identity value after insert a new
record from Access?
Thanks !!
--
Paul
... more >>
PuctureBoxes
Posted by Danny Din at 1/11/2004 4:40:32 PM
hi, Several pictureBox are used in my program, each of them contain a bitmap
file.
I want to save them all as one file, which contain all these bitmap files
together with some numeric data, how can i do it?
and how can i load them one by one when i open the file?
Thanks,
Danny
... more >>
static methods and the 'new' keyword
Posted by Danny Din at 1/11/2004 4:37:59 PM
Hi,
I have the following code –
public class Class1
{
public Class1()
{
}
public static void Do ()
{
}
}
public class Class2 : Class1
{
publi... more >>
What is the set on Properties?
Posted by light_wt at 1/11/2004 2:49:58 PM
Hi,
I have a simple question about methods property. The
syntax is
public <dataType> MtdName{
get {
// property get code
}
set {
// property set code
}
}
Correct me if I am wrong. The property can be assigned
without the set portion. So, what does the set exac... more >>
how to detect office version in my computer?
Posted by ab at 1/11/2004 2:23:47 PM
How to access a component COM through VB script ?
Posted by josemiguel.garcia NO[at]SPAM hp.com at 1/11/2004 1:39:33 PM
Hello everybody, with C++ I did components COM, more or less, and
after that I used visual basic script to access that component through
the wscript.createobject(progid).Now, with C#, how can I program
components COM,to be accessed by scripts?.
Regards Miguel.... more >>
Help needed with a regular expression
Posted by avnerc NO[at]SPAM lycos.co.uk at 1/11/2004 1:31:59 PM
Some document processing program I write has to deal with documents
that have headers and footers that are unnecessary for the main
processing part. Therefore, I'm using a regular expression to go over
each document, find out if it contains a header and/or a footer and
extract only the main cont... more >>
C# : how to get a value from a dataset?
Posted by RD at 1/11/2004 12:58:19 PM
clsConnect ObjConnect = new clsConnect();
string ConnectionString=ObjConnect.Connstring;
SqlConnection myConn=new SqlConnection(ConnectionString);
SqlCommand myCMD = new SqlCommand("SELECT * from Customer Where CustomerId
= 1",myConn);
SqlDataAdapter myDA = new SqlDataAdapter();
... more >>
Strange ascx compilation error
Posted by Daisy at 1/11/2004 12:19:16 PM
Strange one here, got an ascx with the following line in it:
<asp:Image id="galleryPhoto" runat="server" ImageUrl="<%# Gallery.Filename
%>" />
All works fine, and my Gallery object has a Filename property.
I've just added Gallery.Directory, and changed the above line to this:
<asp:Image i... more >>
Object reference not set to an instance of an object?
Posted by news.microsoft.com at 1/11/2004 11:39:01 AM
Why do I get this error when I am in design mode?
Thanks
... more >>
Enumerators implementing IDisposable
Posted by andrew_quine NO[at]SPAM fastmail.fm at 1/11/2004 11:09:02 AM
Hi
Short one: looking for a good example and an explanation of such
enumerators. I know MessageEnumerator and ResourceReader do this, for
example, but what is the implementation of the enumerator doing that
needs a Dispose of its own?
Cheers!
Andrew Quine... more >>
static html generation in C#
Posted by chris at 1/11/2004 10:32:48 AM
Hello all -
I'm a bit stuck and am wondering what is the best way to generate static
html from a C# program? Any pointers would be helpful. The info is not
currently coming from a database but it might be in the future.
TIA
--
N@BF... more >>
ThreadStart
Posted by Maxime at 1/11/2004 10:17:00 AM
Can put a method with parameter in the ThreadStart ?
Thread bThread =3D new Thread(new ThreadStart(Function(Parameter))); // =
Not Ok why? another way maybe ?
Max... more >>
Another object similar to enumerated types?
Posted by SamIAm at 1/11/2004 9:56:08 AM
Hi There
I need to record various error codes in my application. These error codes
are from a 3rd party product that I get return codes from when I call their
methods. They are stored as string values i.e. "EQ832" =
"InvalidCodeEntered".
I need to take action based on the return codes like:... more >>
re: Debugger automation (repost)
Posted by Smith at 1/11/2004 8:01:42 AM
Hi Alvin,
Basically what I want to do is access full, complete,
live objects from a running program via a VS.NET add-in.
Ideally, this would be done in a way that the debugee
does not need to be modified, and the debugger can work
with any managed app.
I thought the managed interfaces t... more >>
What file need when distribute
Posted by jun_qu NO[at]SPAM hotmail.com at 1/11/2004 7:08:34 AM
I have compile my first C# to exe.
My question is what library file else need to run this exe
at a compute without installed C#.
Thanks... more >>
How can I pass more than one arguement to a function via <asp:linkbutton> ?
Posted by Fresh_Air_Rider NO[at]SPAM Hotmail.com at 1/11/2004 3:06:19 AM
Hello
Could anyone please explain how I can pass more than one
arguement/parameter value to a function using <asp:linkbutton> or is
this a major shortfall of the language ?
Consider the following code fragments in which I want to list through
all files on a directory with a link to download... more >>
|