all groups > c# > october 2006 > threads for friday october 6
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 change name of the project?
Posted by renu at 10/6/2006 11:09:50 PM
Hi,
What options do I have after putting a month in on writing a program
and so many functions in it and now I want to change the name of the
project with their file names?
Do I make the new project and hand copy over all the controls and code
or
is there a big red plastic "easy' button ... more >>
NG-style Messaging System For Windows Forms Application
Posted by Bob Johnson at 10/6/2006 8:26:12 PM
I'm looking to provide users of a new Windows Forms (2.0) app with a
messaging system that looks and feels very much like a typical news reader.
I understand that there are reference apps available for ASP.NET forums
(DNN, for example). But what about for Windows Forms? Are there any
referen... more >>
Application wide event?
Posted by Daniel at 10/6/2006 7:41:30 PM
Hey guys
Is it possible to create an event that is global to an application?
Thanks
... more >>
Get Data From USB Device
Posted by jborden NO[at]SPAM rack-city.com at 10/6/2006 7:18:18 PM
Hi,
I've got a programming issue that I've never faced before and was
hoping that someone could shed some light on where to begin. I'm
trying to create an automated process that reads credit card data for a
POS application. I've got a credit card magnetic stripe reader
(http://www.logiccontro... more >>
How to use DllImportAttribute programmatically
Posted by Tommaso Caldarola at 10/6/2006 5:17:01 PM
I have to use DllImport with no static dll filename.
Any suggest?
... more >>
c# 3.0 - when?
Posted by Gabe at 10/6/2006 3:58:53 PM
Anyone know when it will be finalized? late 2007?
... more >>
MSBuild: Project level tasks from solution
Posted by Danny at 10/6/2006 3:57:59 PM
Hi
I trying to master msBuild but have a problem. I have a solution that I
wish to build using msbuild but want to override BeforeBuild/AfterBuild
targets for each of the projects. I trying to avoid modifying the
common.targets etc and the individual project .sln files and just do it
wit... more >>
How can I tell if a component is scrolled to the bottom?
Posted by Rex the Strange at 10/6/2006 3:53:48 PM
That pretty much says it all. How can I tell, in my code, if my
component (which has a vertical scroll bar) is scrolled all the way to
the bottom? In this case it's a DataGridView, but I'm sure it's
probably the same with all components.
So how do I do this, please?
tia,
rts
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Programmatically populate grid
Posted by Tim Kelley at 10/6/2006 3:51:37 PM
Is it possible to populate a grid using code (not binding it to a
datasource). Is there something like an additem method?
Thanks,
... more >>
State Engine
Posted by Pete at 10/6/2006 3:24:34 PM
Please can anyone recommend products that will take a state machine diagram
and generate code for C#?
Its for a comms protocol.
thanks in advance
Pete.
... more >>
Threading for filling out gridview?
Posted by VMI at 10/6/2006 3:21:02 PM
I'm filling up a gridview and the underlying datatable has about 30,000
records, so it takes some time before I can see the page again with the
records on the gridview.
Is there any type of threading (or anything else) that I can use so that I
can display some message (i.e. "Grid loading...")... more >>
Updating ApplicationSettings/Databindings at runtime
Posted by eljainc at 10/6/2006 3:18:55 PM
Hello,
I have a control on a form which has in the properties collection the
following:
(PropertyBinding)
Password
Username
Also there are (DataBindings) properties.
I have a listbox where the user can select the user. Depending on
this, the program is to load from the applicat... more >>
Data exchange between Web Service & Win Forms application
Posted by Albertas at 10/6/2006 2:08:13 PM
Hello,
I have a Web Service that needs to send and receive data from running
windows forms application every time when WS methods are called. My
question is: What is the best way to do that? I'm thinking to create a
separate .dll and add it to WS as reference. And .dll would be somehow
conn... more >>
Italics in Windows title
Posted by DBC User at 10/6/2006 2:04:57 PM
I would like to have some words in the form title as italic (only
some), is it possible to do it? If so could someone give me some
pointers?
Thanks.
... more >>
InsertQuery null value to int column
Posted by RvGrah at 10/6/2006 1:50:51 PM
I have a TabelAdapter that has an int column that allows null (no
lectures please, I have my reasons). When I use intellisense to fill in
the parameters in the InserQuery method, it shows the needed value as
?int, with the question mark. But if the combo box that the value is
coming from has a n... more >>
"Virtual properties behave like abstract methods" ?
Posted by Gert Kok at 10/6/2006 1:41:03 PM
The microsoft page http://msdn2.microsoft.com/en-us/library/9fkccyh4.aspx
states:
Remarks (nr 4)
Virtual properties behave like abstract methods, except for the
differences in declaration and invocation syntax.
Why is it "abstract methods", not "virtual methods" ?... more >>
Repetitive XML comments -- what's the point?
Posted by tjb at 10/6/2006 11:47:58 AM
I often see code like this:
/// <summary>
/// Removes a node.
/// </summary>
/// <param name="node">The node to remove.</param>
public void RemoveNode(Node node) {
<...>
}
In my view, there is no benefit in doing this. It brings nothing to the
table, and... more >>
DefaultValue Attribute breaks XmlSerializer
Posted by SteveT at 10/6/2006 11:45:02 AM
I have a boolean property that I want to serialize to disk using XmlSerializer.
I noticed that if the property includes the attribute "DefaultValue(true)"
or "DefaultValue(false)" that the property will not serialilze to an XML
file. If the attribute is removed the serialization occurs just ... more >>
how to create a web service to take uploading file?
Posted by Rudy Ko at 10/6/2006 11:26:41 AM
Hi,
I want to create a web service to upload an xml file. Do anyone have
sample code? Thanks !!!
Regards,
Rudy
... more >>
partial class
Posted by Phil Townsend at 10/6/2006 11:10:21 AM
When creating a web form in VS 2005, the IDE creates a partial class for
the code behind. My first question: Is there any way to disable this
feature? And if not, how does one easily locate the other part of the
class [.cs] file?
There are many cases where I might want to manually tweak event
... more >>
Cannot Open local SQL Server Express Database
Posted by collinsd NO[at]SPAM thewinesociety.com at 10/6/2006 8:57:30 AM
I am trying to connect to a database in SQL Server Express on my PC.
The SQLConnection open() method appears to work without generating any
exceptions however as soon as I try to do anything to the connection
such as BeginTransaction the program fails as it claims that the
connection is not op... more >>
Having issues with listbox, probably simple....
Posted by Todd Jaspers at 10/6/2006 8:33:03 AM
Hey guys,
I've added a list of items to a listbox in my C#/ASP web form. I allow
the user to select a few items, and then click a button. I want to be able to
retrieve the items from the list box that THAT user has selected and write it
to a string.
This is what I'm doing to read t... more >>
Boot CD 8.5
Posted by cdjuarez2005 NO[at]SPAM gmail.com at 10/6/2006 8:32:00 AM
Hiren's BootCD v8.5
what's new:
PW IOS386
- DocMemory 3.1b
- IBM/Hitachi Feature Tool 2.03
- Toshiba Hard Disk Diagnostic 2.00b
- HDAT2 4.5.2
- System Analyser version 5.3o
- MBRWizard 2.0b (Directly update and modify the MBR
(Master Boot Record)
- Registry Reanimator v1.02 (check and re... more >>
vdproj MSI throwing exception: Invalid directory on URL during Ins
Posted by Chad Scharf at 10/6/2006 7:41:02 AM
I'm at a loss. I have a simple C#, .NET 2.0 Console application that I am
attempting to create a deployment project for. I have the primary output and
content files from the console application going into the Application Folder
along with a couple of dependent assemblies. I also have an instal... more >>
Sqlhelper or not Sqlhelper that is the question.
Posted by John F at 10/6/2006 7:31:02 AM
Hello All,
What is the consensus on using sqlhelper or not using sqlhelper when calling
stored procedures?
We're trying to go with a standard for our projects and personally I prefer
not using sqlhelper, but some here do. I'm just curious if there are any
good arguments for or against i... more >>
Very strange error in ASP.NET 2.0
Posted by Hardy Wang at 10/6/2006 7:28:02 AM
Hi all,
I am migrating an old web application developed in .Net 1.1 to .Net 2.0.
During my new development and testing, I had following error while executing
an stored procedure. It worked fine in .Net 1.1, and it doesn't happen all
the time, for example, I have a loop to call this stored pro... more >>
Insert records into a dbase table
Posted by Dave at 10/6/2006 6:23:01 AM
I'm writing a c# Windows program that needs to be able to insert records
into a dbase table. I can read it using a dataset but can't insert records. I
receive the following error,
ERROR [HY000] [Microsoft][ODBC dBase Driver] Unexpected error from external
database driver (15877).
What i... more >>
Adding HTML Code to a web page already running
Posted by dfdavis.mtu NO[at]SPAM gmail.com at 10/6/2006 6:09:35 AM
This is probably a simple question, but I just started using C# and I
haven't done any projects like this before, however, I need to know if
there is a way to accomplish what I am currently doing in a faster
time. Right now I have a web page I created in VS 2005 where I am
pulling data from a d... more >>
ASP.NET Using Atlas
Posted by vikram.lakhotia NO[at]SPAM gmail.com at 10/6/2006 2:38:55 AM
Hi
Here are some blog on how to use Atlas controls
http://www.vikramlakhotia.com/Atlas.aspx
Hope this helps
Thanks
Vikram
www.vikramlakhotia.com
... more >>
IIS number of connection
Posted by Draggi at 10/6/2006 2:27:01 AM
Hello,
I wan't to know how many user are connected in my web site. But i didn't
find any methode in c# about how show IIS statitics. Maby with WMI provider?
Thanks for your help.
Regards
Dragan
... more >>
AHH Spam and making a blocker?
Posted by Daniel at 10/6/2006 12:38:49 AM
Hey guys
i have finally reached the end of my patience with SPAM. I want to make a
component to add into outlook to be a bit more 'bulk spam' smart. In outlook
you can only block messages individually and it sends me nuts.
I'd like to create an inteliigent spam blocker, how do you go about... more >>
Dynamic memory allocation
Posted by Le Minh at 10/6/2006 12:05:50 AM
Hi, i try to using unsafe programming to speed up my App.
i dont know how to dynamic memory allocate.
Anyone know it ?
Thanks,
Le Minh.
... more >>
Passing an variant from classic ASP page to a .NET webservice
Posted by MarkusJNZ NO[at]SPAM gmail.com at 10/6/2006 12:01:14 AM
Hi, I am trying to pass an number from a classic asp webpage to a .NET
webservice.
Because my C# webservice expects an integer and classic ASP uses
variants I keep getting problems with object casts;
In my asp page I have the following code which works fine
HTTP.Open "GET","http://myserve... more >>
Need to format a date!
Posted by Jens Jensen at 10/6/2006 12:00:00 AM
Hello,
I need to format the current date in C# so it looks like this:
10/4/2006 1:38:53 PM
Can somen tell how i do this?
Many thanks
JJ
... more >>
form
Posted by Hrvoje Voda at 10/6/2006 12:00:00 AM
I have two forms. One is a main form and the other is login form.
When I call login form I would like to see in the background a main form.
But it is visible only when a main form is maximized.
Is there another property for a main form to be normal, but visible in the
background?
Hrcko
... more >>
How to...
Posted by Jacek Jurkowski at 10/6/2006 12:00:00 AM
.... clear all delegates assigned to an event.
this.button1.click += delegate{...};
this.button1.click += new EventHandlet{this.OnClick(...);}
how to clear a "click" events or suspend
its execution on click?... more >>
How to merge two arrays as one
Posted by ad at 10/6/2006 12:00:00 AM
I have two array like
string a1= {"dog","dock","deer"}
string a2= {"lion","tiger"}
How can I merge a1 and a2 to a3
a3: {"dog","dock","deer", "lion","tiger"}
... more >>
Generics is very slow. Need help speeding it up
Posted by Torben Laursen at 10/6/2006 12:00:00 AM
Hi
I have a small generics class that I use to store values. The code is below.
My problem is that if I use the class to store a string like:
cItem<string> Test = new cItem<string>(" ", " ", " ");
Then code like the line below becomes very slow:
string temp = Test.Value;
If I have an array... more >>
Eval Function in c#
Posted by Ivan Sammut at 10/6/2006 12:00:00 AM
Hi ppl
I have an edit box where the user can enter a formula like "12+5" or some
other simple formula. Is there any function in c# which owuld evalute a
string and give me the result of the formula.
10x
Ivan
... more >>
|