all groups > c# > february 2005 > threads for sunday february 27
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
Using ADO.NET in a Connected not Disconnected Fashion
Posted by Steve Le Monnier at 2/27/2005 11:17:09 PM
The ADO.NET DataSet is idea for application development, especially if you
need disconnected data. DataReader objects are great in the connected
environment but are forward only. What do you do when you want a connected
application but need the ability scroll forward and backward within the
... more >>
OOP???
Posted by Dean L. Howen at 2/27/2005 11:14:30 PM
Ex: I have 2 classes like this:
class Parent
{
private string msg;
public string Message
{
get
{
return this.msg;
}
set
{
this.msg = value;
}
.......
}
};
class Child : Parent
{
... more >>
If I'm just testing a dll, what is the config file?
Posted by Nevyn Twyll at 2/27/2005 10:11:37 PM
I'm using NUnit to test a Class Library project (in a dll) that will
eventually be used from a web project.
When writing my test, everything is great, except I want to have my database
connection settings in my web.config file, and use
System.Configuration.ConfigurationSettings.AppSettings["m... more >>
Download file with DownloadFile method of the WebClient class
Posted by Mark at 2/27/2005 9:38:41 PM
Hello.
I'm downloading some file from some http resource to file on my local disk
with DownloadFile method of the WebClient class.
Since the file is pretty large I want to show the downloading process in
progress bar.
Can anybody advice me how can I do this?
Thank you.
... more >>
Font Rotation
Posted by Freddie at 2/27/2005 7:57:06 PM
I've managed this before in C# but can't manage it again for some reason.
I've tried both CreateFont and CreateFontIndirect. Help please.
Freddie L Richard
... more >>
using ToolboxBitmap from inherted control
Posted by jean-dot-paul-at-opelwilly-dot-com at 2/27/2005 7:56:20 PM
Hello,
Can I use the ToolboxBitmap from the inherted Control to show up in my
toolbox and if so how?
Greetings
Jean Paul
... more >>
About GAC
Posted by julien at 2/27/2005 7:12:14 PM
Hello,
I read several articles about the GAC. Here is my understanding
The GAC has 2 main purposes:
a/ avoid having the same shared dll loaded several times by different
programs
b/ several versions of a dll can run in parallel. It is also easy to
update the version of a dll in a GAC witho... more >>
.PDB contains less information in RELEASE than in DEBUG?!
Posted by David Krmpotic at 2/27/2005 7:00:34 PM
it's me again..
with quite interesting discovery :)
I was tracing an error for 3 hours instead of 3 minutes because of this
surprise.
Recently I'm compiling this project in RELEASE with Debug info turned on so
that it creates .PDB files and I can see the line numbers in stack trace.
To m... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Give my Air Hockey game some feedback / advice PLEASE!
Posted by Brian Basquille at 2/27/2005 6:38:02 PM
Hello all.
Air Hockey game is due up in just over a month. And i've about 2 and a half
weeks to work on it. So, i need some feedback and advice.
http://homepage.eircom.net/~basquilletj/AirHockey.rar
Please download it and give it a quick spin. Not completely working yet in
terms of:
... more >>
Checking for entry in database before insert
Posted by Joey Lee at 2/27/2005 6:34:27 PM
Hi,
I was wondering which is the best way of checking if a
record exist in the database before inserting.
There are quite a few ways I have seen. Here are some...
1> Insert and hit a primary key violation and then handle
it
2> Select of a dataset/datareader based on the new record
... more >>
unpleasant remoting problem
Posted by David Krmpotic at 2/27/2005 5:45:13 PM
Hi All!
I have a .NET remoting Client-Server application with Server Activated
Objects only..
something is worrying me.. sometimes (rarely), I can't connect to the server
although it is running.
I get the exception saying "A socket operation was attempted to an
unreachable host".. it mea... more >>
How to pass an arry to a method
Posted by RayAll at 2/27/2005 4:59:49 PM
I have an array of one of my classes (Client[] myarray) ,I'd like to pass
this array to a static method of a class for further processing what dose
the calling Methods signature look like?
Something like this ??
Public Static bool Validate(ref Object pointerToArray)
{
}
Thanks fro... more >>
CodeDom and Enums
Posted by ThisBytes5 NO[at]SPAM gmail.com at 2/27/2005 4:27:03 PM
I am trying to generate:
ShortCut.None
ShortCut is an enumeration and None the value I want. I can't seem to
find anything that will allow me to use enums in the codedom. Anyone
have a suggestion?
... more >>
Access struct member on ascx
Posted by nets at 2/27/2005 4:24:45 PM
I have a struct...
namespace Test.Web.UserControls
{
public struct StructTest
{
public const int PageBorder = 0;
....
And I'm trying to use it in a ".ascx" file:
<%@ Control Language="c#" Codebehind="Header.ascx.cs"
AutoEventWireup="false" Inherits="GSS.Web.UserControls.Header"... more >>
How to make an schema
Posted by RayAll at 2/27/2005 2:56:06 PM
Hi,
I have a table which has 3 forign keys to three other tables.I's to make an
schema out of this table which contains all the constrainsts and all its
relations and also I'l like to have the records from the look-up tables to
be included into that schema.The reason I like the data is that... more >>
UDP Blues
Posted by Frank Rizzo at 2/27/2005 2:35:53 PM
I am trying to send a UDP packet out over the internet to a device.
This device is NOT on a local network or LAN or WAN. Just a random IP
address on the internet somewhere.
For whatever reason, the UDP message does not arrive there the first
time I send it (after starting the app). It arr... more >>
How to use reflection to list [DateTime] array values
Posted by Manfred Braun at 2/27/2005 2:05:23 PM
Hi All,
I am on listing a class's fields with reflection and I have to handle fields
which are array of type DateTime [others also]. I cannot get this to work
and I get an unexpected run-time exception:
//The class to analyze
public class Args
{
public DateTime[] start;
}
public ... more >>
ArgumentNullException when deserializing a SortedList
Posted by dont_spam_daniel NO[at]SPAM yahoo.com at 2/27/2005 1:56:59 PM
I'm getting a strange ArgumentNullException after deserializing a
SortedList. Haven't seen this discussed in the newsgroups, but it
looks like a bug - unless I missed something obvious? I've distilled
the problem into the following code. Can anybody reproduce/explain the
problem?
Thanks,
Dan... more >>
CodeDom and typeof
Posted by ThisBytes5 NO[at]SPAM gmail.com at 2/27/2005 11:05:59 AM
I have the need to generate the following code:
Type someVar = typeof(MyType);
I know how to declare the var and can intialize vars except in this
case.
I can't figure out how to get the codedom to generate a cll to typeof.
Any help would be appreciated.
... more >>
Template on Webforms
Posted by reidarT at 2/27/2005 10:35:05 AM
I would like to have the same look on every webform in a solution.
Is it possible to have a header and footer with some labels and textboxes
and include them on every page?
regards
Reihaa
... more >>
ERROR [HYT00] [MySQL][ODBC 3.51 Driver] Acces denied for
Posted by dakkar NO[at]SPAM sylveria.gen-dot-tr.no-spam.invalid at 2/27/2005 9:40:34 AM
I'm getting this error when i execute my program
ERROR [HYT00] [MySQL][ODBC 3.51 Driver] Acces
denied for user:'root@DAKKAR123' [Using password:
YES]
and when i write the line like this i dont take any error
[code:1:3667756d8f]
MyConn = new OdbcConnection("DRIVER={MySQL ODBC 3.51
Driver... more >>
I would like to ask which class should i use for getting my PC's gateway ip and can send an email to smtp?thanks
Posted by pcserver at 2/27/2005 8:51:26 AM
I would like to ask which class should i use for getting my PC's gateway ip
and can send an email to smtp?thanks
I am going to write a program that will check my pc gateway regularly, and
send an email if the ip has been changed.
... more >>
Data grid doesn't fire events
Posted by Jarod at 2/27/2005 8:27:01 AM
hey
I tried to make ASP.Net site with a datagrid. On the dg there is a button
columnt with command set to select. I put in the code some very simple
ItemCommandEvent. In the ... generated code there is this.dgMydata += ... so
it should be ok. But it's not. I tried to remove it and recreate ev... more >>
How to pack my program with MSDE
Posted by ad at 2/27/2005 6:58:40 AM
I have develp a web application.
My application used msde as my database.
How can I pack my application with MSDE as a Installation package?
... more >>
Dynamically adding DropDownList - if I set ID also, I lose PostBack EventHandler
Posted by DotNetJunky at 2/27/2005 6:40:37 AM
I have built a control that runs an on-line help system. Depending on the
category you selected via dropdownlist, it goes out and gets the child
subcategories, and if there are any, adds a new dropdownlist to the screen
for selection. This continues until there are no children, and then it
check... more >>
Color the entire row based on the value in one column in WinForms's Datagrid
Posted by David Krmpotic at 2/27/2005 2:42:46 AM
Hello,
Can please tell me how to do it ? This should be simple, because I'd think
it's used a lot.. but in reality is not that simple and there is at least 50
topics about it in newsgroups, but the problem is that people see the
question and just write about overriding OnPaint or pointing to... more >>
How to add an about form?
Posted by Sharon at 2/27/2005 2:29:06 AM
I wand to add an about form to my main form and it should be accessed the old
style via the popup menu when clicking on the main form caption bar.
It’s easy to create the about Form, but I do not know how to add a link to
it on the main Form caption popup menu.
How do I do that?
--
Re... more >>
implement folder browser
Posted by juli jul at 2/27/2005 1:13:59 AM
Hello,
I have a problem with a folder browser (it probably collides with some
other control and I can't see the folders).
Is there some way to implement it? Some code sources on matter?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET... more >>
|