all groups > c# > may 2006 > threads for sunday may 28
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# books
Posted by Mark at 5/28/2006 10:27:20 PM
I'm a C++/MFC programmer. I'm looking for a good book ,with samples, on c#.
Can someone recommend on such?
Thanks
... more >>
Panel control resets its scroll position
Posted by Paul E Collins at 5/28/2006 10:09:38 PM
I'm writing an application whose main window consists of a particular
UserControl that I have placed inside a docked Panel so that it will
fill the whole window. The panel also has the AutoScroll property set
so that the user can scroll if the inner control is larger than the
window.
Vari... more >>
Single Class vs Multiple Class
Posted by vze1r2ht NO[at]SPAM verizon.net at 5/28/2006 9:28:41 PM
I have many types of classes and I'm deciding whether to use a single
class or multiple classes for EACH type of class.
For an example:
User class has 3 classes associated with it:
User Class - Holds user properties. Has NO DB related methods (infact
has NO methods, only properties lol) e... more >>
C# - Installer - Sample code to run batch file via custom action
Posted by steve at 5/28/2006 9:07:02 PM
Hi all,
Here's some work in progress that should allow you to run a batch file as a
custom action in a VS deployment project. Yup I know you can use js or wsh,
but the target may not have either.. Essentially it's just a wrapper for the
Process class and a command interpreter.
Warning,... more >>
Web application running a service when EXE not allowed
Posted by Steven Nagy at 5/28/2006 7:46:42 PM
Hi all,
I have a problem where I am developing a site for a client that needs
to perform a certain analysis against the database every hour, on the
hour. The problem is that the hosting company will only allow a
standard ASP.NET web app to be run on their server; no EXE's can be
run. So I am ... more >>
datagridview headers
Posted by Diogo Alves - Software Developer at 5/28/2006 7:06:01 PM
Hi,
I am using VS 2005 and I want to know if it is possible to override the
onPaint() method of the header of the datagrid columns
and if it is possible how can I do it?
Thanks a lot for your attention
... more >>
Avoid inserting a duplicate record on page submit?
Posted by planetthoughtful at 5/28/2006 6:28:10 PM
Hi All,
I have a C# ASP.NET page that submits back to itself to insert details
from a form into a database table. When / if the user refreshes the
page (and gets the standard warning that POST data will be
resubmitted), the previously submitted record is sumbitted again, and a
duplicate recor... more >>
query AD - Domain does not exist error
Posted by j-in-uk at 5/28/2006 4:33:31 PM
Dim subtree As New DirectoryEntry(ADRootQueryString, "domain\loginame",
"Password1", AuthenticationTypes.Secure)
If validCharacters.Match(name).Success Then
rootPath = String.Format(ADDefaultContextQueryString, _
subtree.Properties("defaultNamingContext").Value.ToString)
filter =... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do I: Embed & Access Resources (like a wav or .x file)?
Posted by Stick at 5/28/2006 3:30:02 PM
None of the many books I have been reading cover this, and I have not found a
good tutorial.
I want to be able to distribute a single .exe file and not have the .wav's
or .x files where the use can lose or modify them.
Can someone point me in the right direction?
Thanks,
Stick
... more >>
Test null value in generic
Posted by Giorgio Parmeggiani at 5/28/2006 2:43:23 PM
HI
I have a method that receive a generic parameter and also return a generic:
public T GetById(ID id)
I've want to return null if the received parameter is null, so i have write
this code:
public T GetById(ID id)
{
if(id == default(ID))
return default(T)
........ more >>
DataViews
Posted by Eric B at 5/28/2006 1:50:46 PM
I'm trying to filter a dataset using several columns. I have have looked at
DataView as a method to do this but the Filter seems to only work with one
column at a time. Is there a way to get a view of data using several
columns as filters besides creating a new dataset?
Thanks in advance,... more >>
My own even handler
Posted by hung tran at 5/28/2006 1:39:36 PM
Hi
In my c# winform I created a user control, it has a new property called
"Value", when I set the Value programatically I want to have an event fired
like "OnValueChanged" to populate the "Text" property but I don't know how
to do.
any ideas ?
Thanks... more >>
table as node in a treeview control
Posted by Sergio A. at 5/28/2006 11:42:54 AM
Hello, I am developing to a simple application Web with asp.net and c #, and
now I am obstructed because I need to show in the page a control treeview
but for which each node is gridview or some table that can I create in a
dinamic way because the number of columns is variable... somebody has... more >>
Global Hook for Window Painting
Posted by Lunchtimemama at 5/28/2006 11:08:55 AM
I am trying to modify another application's window (Google Talk) to
insert some UI of my own. I think the best method would be to install a
remote local hook in gtalk's thread that intercepts the paint message
and injects the custom UI. From the reading I've done, it is possible
to install a sys... more >>
OOP and databases in the real-world
Posted by Fred Exley at 5/28/2006 9:39:10 AM
I have a traditional application using a database and procedural code that
works fine. I'm re-writing it using the OOP methodology, just to see how
this may be the better way to do things. I think I've got a pretty good
grasp of the three pillars of OOP, and have objects properly defined usi... more >>
wrong
Posted by RobcPettit NO[at]SPAM yahoo.co.uk at 5/28/2006 8:52:07 AM
Hi, Im experimenting with threading and classes and Im getting wrong
return type. my class is called bjresults with:
public int getrecordleft()
{
return linestartotal;
}
linestartotal has already been set and works ok, just trying to get the
value. my thr... more >>
Memory Leak in .NET 1.1
Posted by MAG1301 NO[at]SPAM gmx.net at 5/28/2006 5:00:33 AM
I've detected memory leaks in our huge .NET 1.1 C# application but
couldn't localize them directly. So I've reduced the code to the
following console application:
using System;
using System.IO;
namespace MemLeak
{
class MemLeak
{
[STAThread]
static void Main... more >>
Application doesn't start
Posted by John B at 5/28/2006 3:53:07 AM
Hi!
I experiencing weird problems with my WinForms application running on
top of .NET Framework 2.0. Sometimes when I run the application,
nothing happens. The application .EXE just sits in task manager process
list with about 56 Kb memory footprint and I can only terminate it
through there. ... more >>
Sharing a Typed DataSet Object!?
Posted by Leon_Amirreza at 5/28/2006 1:01:01 AM
Hi,
I am wondering if there is a way to share a Dataset object on the main form
of my C# App between other forms that I can bind other forms controls to
this dataset (designer is not aware of a public member of the mdi parent
form)?
Or any better practice than sharing a dataset among forms... more >>
testing websites and web services
Posted by Jessica Weiner at 5/28/2006 12:00:00 AM
I have a local IIS server and a SQL server 2000 setup on my home computer. I
am going to create a database and some tables along with stored precudures.
Is that all I need to start building and testing my websites?
Thanks.
Jess
... more >>
Possible ?
Posted by Jarod at 5/28/2006 12:00:00 AM
Hey
I would like to write a function that returns type given as argument so it
would be likethis:
public GivenType GetFromSomeWhere(object sth, Type givenType)
{
return (givenType) sth;
}
Is it possible to write function that works like above ( it won't work now
;) But I hope you ... more >>
debug class library
Posted by gordon at 5/28/2006 12:00:00 AM
Hi
I am writing a class library in c# for a third party app. Often the code
compiles properly and when i load the dll into the app (SAS Enterprise
Guide) I will receive an error as the library is not interfacing correctly.
I would like to have the debug in Visual Studio.Net do a little bi... more >>
|