| Thread | Last Post | Replies |
|
| static readonly | 05 Jul 2008 07:21 GMT | 2 |
I have a matrix class of a fixed size, and I was cacheing some special matrices as readonly: public static readonly Matrix Zero = new Matrix(0.0f, 0.0f, 0.0f, 0.0f,
|
| Forcing a ListView to scroll | 05 Jul 2008 05:00 GMT | 8 |
I'm trying to force a listView to scroll to some location when a certain button is clicked on. I've found that the SendMessage function seems to be the choice way of doing it. Here's what I've put in my button handler:
|
| Design question | 05 Jul 2008 03:55 GMT | 2 |
I have 2 projects a classlibrary project and a windows forms project. the winform app calls the library to perform certain functions and returns the results. however i run into a problem where the method in the library class requires
|
| Launch new thread vs new process for performing intensive database tasks | 04 Jul 2008 23:25 GMT | 3 |
Hi, I'm writing a service which has to monitor a database looking for new feeds (basically a few hundred thousand rows with a common id). When it finds a new feed I can either: 1) Process it on the current thread (not ideal as the app must be seen
|
| Removing ListView items | 04 Jul 2008 20:34 GMT | 1 |
In my application I need to periodically remove all current items from a ListView and add a new set into it. The following abbreviated code contains the basic idea: private void FillListViewFromFile(string path)
|
| Get OpenFileDialog filename path... | 04 Jul 2008 17:56 GMT | 6 |
After I select a file with the OpenFileDialog, I get the file name with .FileName, but I want to know the drive and path where that file is. What function, method, class can I use in C# to get the drive and
|
| Dotnet Viewers | 04 Jul 2008 17:53 GMT | 1 |
http://ganesh-freedotnetbooks1.blogspot.com http://ganesh-freedotnetbooks.blogspot.com http://freefreedownloadsoftwares.blogspot.com
|
| Message box | 04 Jul 2008 17:49 GMT | 5 |
I need to create a message box with 2 options (Yes or No), and then be able to respond to whichever option is selected. What would be the best way to do this in C#?
|
| New C# programmer questions | 04 Jul 2008 17:29 GMT | 12 |
Hello all, I am new to C# and think I am finally starting to get it. However, I have an issue right now that I believe is due to the fact that I do not know how to close a Console application in code. You would think its something like Console.Terminate or Quit or Close or
|
| C# dll question | 04 Jul 2008 14:54 GMT | 1 |
i've 2 questions 1) I have a c# dll being built managed. Can i call it from C++ unmanaged code ? If it is able to call , how does the C++ compiler know the calling
|
| Get event which call method | 04 Jul 2008 14:15 GMT | 2 |
I need to get event name which call method. How do I do this? For example - I have button with subscribed Click event and e.g. GotFocus. For both this events I have the same method which consume this event (let's say eventOccured). In eventOccured method I need to get
|
| Columns in datagridview | 04 Jul 2008 13:59 GMT | 1 |
How would one catch the event generated when one leaves a column and moves to the next column in a datagridview? thanks in advance
|
| Generic and COM | 04 Jul 2008 12:41 GMT | 1 |
In an object COM of an editor (without source), I have several versions of an object. ObjectApp1 and ObjectApp2. ObjectApp2 is a copy of ObjectApp1 but which implements more methods and properties.
|
| Error : "Object does not match target type." | 04 Jul 2008 10:56 GMT | 2 |
I am working on application in this i am using two files. In first (consider A) file i am calling the function of other file (consider B). In that function of file B i am calling the method of DLL. i.e Method of file A -> Method of file B -> Method of DLL.
|
| Reading a ListView item | 04 Jul 2008 10:26 GMT | 1 |
I have a ListView in which each item is an array of 5 strings. I add these string arrays to the ListView by doing the following, where "result" is the array of 5 strings to add: listView.Items.Add(new ListViewItem(result));
|