all groups > c# > august 2006 > threads for friday august 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
Game
Posted by Ajay Pathak at 8/11/2006 10:26:01 PM
hi
i want to develop a carom game for my major project.
i am new to c# programming. can any one tell me what are things required to
make this game.
... more >>
C# books
Posted by Robert Bravery at 8/11/2006 9:53:29 PM
HI all,
Can some recomend some good C# 2.0 and .net books, with a good slant towards
database programming
Thanks
Robert
... more >>
slow loading symbols
Posted by Mark at 8/11/2006 8:21:01 PM
Hi, in VS 2005 suddenly a program that used to start in the debugger within
a couple seconds now takes a couple minutes to start. The problem appears
to be thrashing about constanting loading and unloading symbols. Once
started the program also runs about 50-100 times more slowly than b... more >>
What's the recommended name convention for the control?
Posted by john sun at 8/11/2006 8:01:00 PM
Hi, guys,
I have a simple question, what's the recommended name convention for the
user control on the form.
If I put a button on the form, by default, it will be called button1,
how do you change if if I want to create a command button.
A. commandButton.
B. CommandButton.
B. buttonCo... more >>
is there an __DATE__ alternative in C# ?
Posted by Sagaert Johan at 8/11/2006 5:10:49 PM
Hi
Are there any predefined constants i could use in my C# code similar to
__DATE__ __FILE__ __LINE__ in c++ ?
Johan
... more >>
Display device list
Posted by ThunderMusic at 8/11/2006 3:16:21 PM
Hi,
I want to have a list of the display devices available on the computer, just
like the Settings tab do in the desktop properties... What I need is the
DeviceID, it's rectangle(left, top, width, height) and if it's active or
not.
Is there a built-in function to get these informations in ... more >>
Can I store this in app.config?
Posted by Brett Romero at 8/11/2006 3:08:26 PM
I'd like to store something such as the following the my app.config
file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="DEBUG" value="true"/>
<add key="DEBUGCleanFile" value="true"/>
</appSettings>
<DataGridColumnCollection>
<AGrid v... more >>
Read Excel 2003 XML file and save as an Excel 97 file
Posted by Juliano.net at 8/11/2006 2:57:04 PM
How can I read an Excel 2003 XML Spreadsheet and save it as an Excel 97
file?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Max number of cursors opened exceeded
Posted by Juliano.net at 8/11/2006 2:54:29 PM
I have an ASP.Net web site built on C# that uses Oracle database, in
some pages, I get an error "max number of cursors opened exceeded".
I've a tipo on www.CodeProject.com that asks to call Dispose method for
every Command object. So I made this, but I'm still receiving this
error message.
... more >>
How to turn OFF visual styles
Posted by sklett at 8/11/2006 2:49:58 PM
Hi,
I'm not SURE if Visual Styles is what I'm delaing with, but there is my
situation. On computer A which I have chosen "Classic Windows" as my
"Theme" my application appears the way I want it to. That is my progress
bars are solid when I tell them to be, my tool strips aren't blue, etc.... more >>
Asynchronous Delegate Question
Posted by Susan at 8/11/2006 2:35:02 PM
In the application I am working on, the user makes a request of information
from the database. As there is a great deal of information to go through and
possibly return, to speed things up, the request for data only returns the
first 25 rows of data. So thas the user knows how many total rows ... more >>
Looking for Enterprise Grade Forum & Blog software package in C#
Posted by dba123 at 8/11/2006 1:26:02 PM
I am looking for a very good Enterprise Forum with Blog. This will be used
for our public website which serves about 1.5 million users.
This software cannot be cheesy, and must be as flexible as FuseTalk
(www.fusetalk.com). FuseTalk authentication has never worked and their
support is h... more >>
Dumb if question
Posted by Bob at 8/11/2006 12:22:36 PM
In a sub
Private Mysub (string strLang)
{
if (strLang = "FR") Won't compile.
strLang is declared as string in the sub's parameter collection.
I get an error message saying Cannot implicitly convert type 'string' to
'bool'
What am I doing wrong?
Any help would be appreciat... more >>
create usercontrol that cannot get focus
Posted by quelhaslima NO[at]SPAM hotmail.com at 8/11/2006 12:07:55 PM
I'm trying to create a user control which cannot get focus, but is enabled.
In VB6, I just set the CanGetFocus property to false, but I can't find the
..NET equivalent.
The .NET CanFocus property is ReadOnly.
... more >>
Delimited String to Array
Posted by Kyro at 8/11/2006 12:03:04 PM
New to C# (migrating from Delphi) and I'm not sure how to get a
delimited string into an array of string.
input: string looks like - 01-85-78-15-Q11
output: an array with elements - 01,85,78,15 etc...
Is there some sort of easy one liner that does this? Hard to search
the help ... more >>
Stange error...
Posted by Martin at 8/11/2006 11:40:40 AM
Hi !
At the startup of my application (in a new enviroment without Visual
Studio but with .NET 2.0 Framework and SQL Server 2005 Express), I get
the following error and I don't know at all where it originate...
If I go back to my developement environment, everything is OK...
Thanks for yo... more >>
Working with Touch-Screens ??? [Win C#]
Posted by MikeY at 8/11/2006 11:30:09 AM
Hi Everyone,
Just a generic question, but.... With dealing with touch screens &
programming. Do all the events work the same as with how the events ie mouse
down/keydown etc work? Or do I need to take extra steps.
Thanks all in advance
MikeY
... more >>
How to Read SMS in C#?!
Posted by Pershica at 8/11/2006 11:19:01 AM
Dear Professionals,
I'm a beginner in C#.net and also PPC Programming. I try to develop a PPC
2003 Software that show me the content of arrived SMS into a TEXTBOX.
I will appreciate you If you give me the code or show me a sample. (Please
don't reply me request by references or documentations... more >>
TreeView
Posted by kvicky at 8/11/2006 11:03:00 AM
I am trying to load child nodes to a TreeNode in a TreeView in a
ASP.net web application.
The Treeview with parent nodes are loaded on a Page_load while doing
if( ! ISPostback ) and then in the Treeview event I am dynamically
trying to load the child nodes to the exisisting TreeView. The probl... more >>
Windows service on a cluster
Posted by ThunderMusic at 8/11/2006 11:00:42 AM
Hi,
We have many servers setup as a cluster. When one server crashes, another
one take the relay... We want to know if it's possible (I suppose it is) to
make a Windows service developed with .NET 2.0 work in a cluster
environment. I mean, how to make sure the service will take the relay if o... more >>
WinCe C# com library (tlh genaration problem)
Posted by TheSebaster at 8/11/2006 10:51:00 AM
I wrote the following lines of code under Microsoft Visual Studio 2005:
I compile my WinCE c++ application importing MyInterop.tlb generated file.
The MyInterop.tlh generated file do not contain my interface definition.
Does anyone could help me??
(Aditional info)
-When I open tlb file with ... more >>
Best practice for limiting login to app?
Posted by Ronald S. Cook at 8/11/2006 10:28:55 AM
I have a Win app wherein users login via my interface (i.e. not via NT
Authentication). Since the User Names are like "Driver 1, Driver 2, etc.,
sometimes Driver 1 might accidentally login as Driver 2. There's also a
Truck selection where drivers are supposed to select the truck that they're... more >>
C# Batch Process Program Slows Dramatically Over Time
Posted by JBudge at 8/11/2006 8:25:05 AM
I've created a program that will create zips and exes of all the
product downloads on our website (mostly clipart and PowerPoint
templates, around 6000 total), but the program slows down dramatically
after the first few minutes. The process never gets above 24meg, all
child processes called are... more >>
Help creating a Keylogger porgram
Posted by JC at 8/11/2006 8:09:18 AM
I'm looking for help creating a keylogger program.It doesn't have to be
hidden because I want to allow people access to what they have written.
Can anyone help me with this or send me tutorials or code on how to
create a keylogger.
Thanks
*** Sent via Developersdex http://www.developers... more >>
Getting the Window's XP CD Key
Posted by UJ at 8/11/2006 7:46:00 AM
Do anybody have any code to grab the Windows XP CD Key ?
TIA - Jeff.
... more >>
Finding a item in listview and changing the index
Posted by plmanikandan NO[at]SPAM gmail.com at 8/11/2006 7:17:40 AM
Hi,
I have a listview with items,subitems.I
tems and subitems are added as below
listView1.View = View.Details;
listView1.Columns.Add("Column 1", 100,HorizontalAlignment.Center);
listView1.Columns.Add("Column 2", 100,HorizontalAlignment.Center);
listView1.Columns.Add("Column 3", 100... more >>
Dot net optimization tips
Posted by softwareakash at 8/11/2006 7:15:34 AM
Hi All
Some tips for optimizing your .Net Code.
You can add more by leaving comments
http://dotnetforum.blogspot.com
or
http://www.dotnetforum.blogspot.com
Regards
Akash
... more >>
3rd party Grid Control ?
Posted by Sin Jeong-hun at 8/11/2006 6:54:13 AM
There's DataGridView control in the .NET but it lacks of some critical
functionalities. I need to use a ComboBox(to be exact, it is a control
inherited from ComboBox) control to receive inputs into cells. But I
can't do that with DataGridView.
There is a sample to embed ComboBox in DataGridVie... more >>
provider is not registered
Posted by Jim Heavey at 8/11/2006 6:16:02 AM
I created a UDL file on my desktop. I then double click on the file and
identified the provider I wanted to use (IBM OLEDB) and my user name and
password. I then tested the connection and tested successfully. I then
copied this connection information into my .net application and when I
at... more >>
Structs in C#
Posted by Venkataramana at 8/11/2006 6:15:01 AM
Hi
Can anyone tell me how C# allocates memory for structs in C#? I am having
problems figuring out how much memory will be allocated. Consider the
following snippet
struct S1
{
int i;
char c;
}
I expect the size of this struct to be 6 bytes but it turns out to be 8
... more >>
Load word file and html file into richtextbox
Posted by Twinkle at 8/11/2006 5:52:55 AM
HI Guys
How to open a word file and HTML file (Without tags) into
richtextbox control.file is opening by this code but it is opening in
plaintext format but i want to open in word format
IDataObject Data1;
object nullobj,file;
WordApp=new Word.ApplicationClass()... more >>
Planning/Scheduling controls for .Net
Posted by osmarjunior at 8/11/2006 5:20:45 AM
I'm looking for Planning/Scheduling controls for C#.
But I'm interested in open-source solutions only.
Regards.
Osmar.
... more >>
Exchanging values of properties between two components at design time
Posted by ganeshokade NO[at]SPAM gmail.com at 8/11/2006 4:47:50 AM
Dear Experts,
I have to write a C# program with the following requirements. I
have to make two components (call C1 and C2) both of which can be
included by an end user into his project. I have not decided what they
have to be - an ActiveX component or a class library. Each of these
objects... more >>
XML newbie
Posted by Kim at 8/11/2006 3:54:24 AM
Im having problems getting the correct number from
System.Xml.XmlNodeList.Count so my loop will process all nodes named
<Folder>.
What am I doing wrong?
XML file (cut out):
<Configuration>
<Options>
<Settings>
<SourceFolders>
<Folder>C:\</Folder>
<Folder>D:\Te... more >>
How to Make Classes Data-Aware, Is it Possible?
Posted by Desmond at 8/11/2006 2:28:02 AM
Hi anyone. I want to make a class data-aware so i can just set my grid's
datasource property to my object. i have an object with a list of other
objects and at the moment i'm using serialization to convert my object to xml
and then a dataset, i want to use a Datatable but i keep on getting
"... more >>
Add and set a key in Remote Systems's registry in C#
Posted by Parv at 8/11/2006 2:17:14 AM
I am working in a domain environment. I am on a client machine and
wants to edit registery of domain server. I am currently in a Domain
user account and member of Domain administrators on the domain
controller. I am able to open registry manully by connecting the remote
registry. While doing the... more >>
dll problem in C#
Posted by Jason Huang at 8/11/2006 12:00:00 AM
Hi,
In my company, we used to use Visual Basic in our old application, and it's
OK 'cause the VB will encapsulate all the needed DLLs into that application.
So the application runs well on all our clients who has different versions
of Microsoft Office.
Now, we are developing our new Wind... more >>
Activator Class : How to
Posted by Ian Semmel at 8/11/2006 12:00:00 AM
I may be way off track here but ...
I can do this :
DataGridViewColumn col = new DataGridViewCheckBoxColumn ();
but if I have this
Type t = typeof (DataGridViewCheckBoxColumn );
and I want something (like this which is wrong )
DataGridViewColumn col = Activator.CreateInstance ( t ... more >>
|