473,799 Members | 3,212 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

6
30,033
thread by: Gilgamesh | last post Nov 13 '05 by: Simon Trew
Is decimal type a good choice to use for storing currency? I've got a situation that when I store 8.50 in a decimal type variable and read it back, I'm getting 8.5. Is there a better data type to store currency? Thanks, Gilgamesh
7
6,177
thread by: Andrew | last post Nov 13 '05 by: Jon Skeet
created a custom class that is derived from TreeNode, let's call it customTreeNode. I'm trying to use the TreeViewEventArgs (for the AfterSelect event) but I cannot cast to my derived TreeNode. Here is a snip... ---code snip--- private void _TreeView_AfterSelect(object sender, TreeViewEventArgs e) { customTreeNode foo =...
2
6,030
thread by: fadi | last post Nov 13 '05 by: fadi
Hello, I have never implemented Globalization and Localization before, but I am trying to plan for it before starting to implement it in new application. From what I am finding is that there are a lot of considerations that could save time if planned up front, so anyone found or knows of good resource(s) to look at to save the pain of...
2
15,136
thread by: Siddharth Prakash Phatarphod | last post Nov 13 '05 by: Simon Bayling
Hi, I am working on Windows Forms with C#. Cud ne one tell me which is the control in C# that I can use in place of InputBox in VB.NET for Windows Forms? Thanx in advance, Sid :)
1
7,166
thread by: Erik | last post Nov 13 '05 by: Ignacio Machin
I have a base collection class that I use to derive all my collections from. It derives from CollectionBase. I have added custom Sorting and now would like to add Filtering. I have spent a decent amount of time looking thru code and really have not found anything that suits my needs. I simply want to pass in a filter expression use that...
18
2,552
thread by: craig | last post Nov 13 '05 by: Simon Bayling
I am curious about how many of you prefer style 1 vs. style 2, and why. Are there names for these style? style 1: method { }
3
2,681
thread by: Dizzzz | last post Nov 13 '05 by: Ignacio Machin
I am creating a front end that will access a SQL database and I want to create a DROP DOWN control that will display the databases and tables available from a SQL2000 server. Much like the one in the Import/Export menus in SQL2000 Enterprise Manager. Does anyone know the class in C# to do that? I can connect fine, I just want to display...
3
3,855
thread by: Erdem ALKILIÇGiL | last post Nov 13 '05 by: Erdem ALKILIÇGiL
hello Does anybody know how to embed a flash player in to a c# project? regards..
2
5,457
thread by: Hector Martinez | last post Nov 13 '05 by: Ignacio Machin
I'm thinking about write a Math Random class for C#, anyone one can give some idea...? Thanks in advantage... Hector.
3
10,409
thread by: Amy | last post Nov 13 '05 by: Simon Bayling
Does anyone know if thier is anything built in the framework to generate random filenames? I have a dataset(hash table) that grows very large. After a certain point a good portion of the elements will not be used anymore until the end of the program. In order to conserve memory I wanted to write out the current data in the hash table to a...
0
1,299
thread by: Tom | last post Nov 13 '05 by: Tom
Hi, I need to build a book mall in which book publisher can create main category, sub-category and sub-sub- categories.... and put the product details under it. Thus, there are many small book shops under this book mall. Also, I need to create a membership system for each user, he can see his own a/c info.
5
7,310
thread by: Duncan Winn | last post Nov 13 '05 by: Duncan Winn
I have a dll created by MS V C++ version 6 Class. The original files it was based on were Borland and so this dll was created to use the Borland files in a MS environment. However I am trying to access it in a .NET application by adding it as a reference, and it keeps complaining that "a reference to CDFSvrMS.dll could not be added. This...
0
1,178
thread by: Duncan Winn | last post Nov 13 '05 by: Duncan Winn
Hi, Further to my last post..... I have Borland classes which I want to use in .NET (the classes have methods that return user defined objects), and the classes are HUGE (i.e I don't want to re code them). I have a dll which incorporates further classes that provides an interface to access all the methods in the Borland classes, and the...
1
7,359
thread by: Newsgroup Reader | last post Nov 13 '05 by: Tim Anderson
I'm trying to create a chat program, however I find it most of the time these days clients use HTML or some sort of markup language to render text on the screen. My question is how would I render HTML without using MSHTML/IE? I already have a feeling that I'll have to create my own control. How would I go on doing this? (I would like to be...
0
1,584
thread by: Sajid Saeed | last post Nov 13 '05 by: Sajid Saeed
hi, I have an SQL server that has a linked server to an Access Database file residing on the network. My question is how to i create the parameters to connects to this linked server in C#. I am not sure if this post is correct for this news group, but any sort of help would be appreciated
1
8,012
thread by: Jason Hickey | last post Nov 13 '05 by: Tian Min Huang
Has there been a change in the way the UI designer handles winform inheritance in the 2003 version of visual studio. Consider the following (try it if you are using 2003 Everything seems to work under 2002) Create a form and add two buttons (bottom right) and a panel (fill the top of the form) Anchor the buttons to the bottom right and...
2
10,636
thread by: Jesper Odgaard | last post Nov 13 '05 by: Marcin Grzêbski
Hi, I have created a C# windows application. Is it possible to open a text console from a subroutine within an application using forms. brgds Jesper, DK
1
6,062
thread by: Daisy | last post Nov 13 '05 by: Daisy
I'm writing a NewsReader (seemed like a decent project to start learning with), and want threading like in OE. I've got a treeview and a listview. On Expand/Contract on the listview, I spin through the nodes checking .IsVisible, and those that are visible, I take the info I need (posted name / date) out of the .Tag (is there a better place...
3
3,855
thread by: SamIAm | last post Nov 13 '05 by: SamIAm
Hi I have a form named form1. I have a class called class1. I want to call a recursive method in class1 called MyMethod() I would like log info to a listbox, listbox1, on the form as MyMethod performs its recursion. How do I pass an instance into class1 so that it can add items to the listbox? Should be easy I guess.
1
1,268
thread by: Andrew R. Thomas-Cramer | last post Nov 13 '05 by: Andrew R. Thomas-Cramer
C#, like Java, fails to provide a const-qualifier for references for compile-time const checking. In Java, I used to document intended const-qualified references (e.g., method parameters) with C++ syntax: "const*". Does anyone have a better suggestion, for C#? The best I've come up with is "OBJECT READONLY", but that overloads an...
7
2,268
thread by: Eric Gunnerson | last post Nov 13 '05 by: Zane Thomas [.NET/C# MVP]
If you would like to see this group created, please reply to this post, making sure you leave news.groups on the newsgroups line. "Nigel Perry" <nigel@cosc.canterbury.ac.nz> wrote in message news:1057623961.29376@isc.org... > REQUEST FOR DISCUSSION (RFD) > unmoderated group comp.std.csharp > > This...
0
1,276
thread by: bt | last post Nov 13 '05 by: bt
Hi I have installed the Visual Studio .NET Academic Version at home. I need to use the Microsoft Office Spreadsheet components but I can't find any in the COM or .NET framework components! They are on the computers at school but I need to work on this at home. I am using Office 2000 if that matters. Is there a download for these components?...
6
15,644
thread by: Richard A. Lowe | last post Nov 13 '05 by: Jonathan Schafer
I'm using P/Invoke to call SendInput (using code culled from these newsgroups!) to send mouse events to a window. But I'm unsure how to send double-clicks. A VB6 article I saw on SendInput suggested simply queueing two click events, but this is not working for me, regardless of the delay I put between clicks. So give this as a click (where...
3
22,065
thread by: Berkflow | last post Nov 13 '05 by: Berkflow
Anyone know how to change the current working directory in a windows NT service application written in C#? It appears to start in the windows system32 directory not where the exe is located which really screws up my app which acts on business objects in the directory that the exe lives and therefore doesn't find the dependencies because I'm...
0
994
thread by: Joe Camel | last post Nov 13 '05 by: Joe Camel
"Joe Camel" <JoeCamel@cogeco.caNOSPAM> wrote in message news:%LINa.217$Nk5.33368@read1.cgocable.net... > Folks, > > Are there any intentions (rumors, etc) of embedding the CLR inside the > Internet Explorer, as in Yukon (SQL Server) ? > > Regards, > J.A.J. >

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.