Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Have you used GTK#?
Scirious - 17 Jun 2006 9:33 PM - 2 messages
How many of you have achivied true portability using GTK#? TIA, Scirious. ...
Score Cannot generate Debug exe
Ian Semmel - 17 Jun 2006 9:22 PM - 5 messages
Starting yesterday, for some reason a Build or Rebuild will not generate a debuggable .exe in Debug if one already exists. Before doing a build, I have to manually delete the file. If I don't do this, then no breakpoints etc work. ...
Score A Couple of questions about the Property Grid
chris.dannemiller@gmail.com - 17 Jun 2006 8:59 PM - 3 messages
1.    I have a MDI document what is the best way to link data form a specific MDI document to parameters of a property grid. In this case I have a palette that can change from document to document, and I want my ...
Score Context menu bitmap
HeadOffice - 17 Jun 2006 8:07 PM - 2 messages
Hi, I'd like to have a context menu attached to my NotifyTrayIcon. Easy enough - but I'd like to have one of those menus with a bitmap that runs down the entire length of the menu (company name etc.). Can anyone recommend the ...
Score C# and RapidShare
Roberto Oakenfold - 17 Jun 2006 5:03 PM - 4 messages
I want users to be-able to upload file via rapidshare with my app, but can this be done? I've been looking in the namespace 'system.web' for examples with HTTP etc, but with no luck or on the net. Could someone point me in the ...
Score Why is concept of equals and operator== implemented this way?
cody - 17 Jun 2006 4:32 PM - 13 messages
Why can I overload operator== and operator!= separately having different implementations and additionally I can override equals() also having a different implementation. Why not forbid overloading of == and != but instead translate each call of objA==objB automatically in System.Object.Equals(objA, objB). ...
Score "Index of out array bounds" error with ampersand.
writebrent - 17 Jun 2006 4:07 PM - 4 messages
I wrote a little interface for users to post data to a website. On their local machines, it produces CSV from an Excel spreadsheet, then posts it to the site. In some cases, the CSV will contain ampersands. For example, ...
Score What is the C# for this C++
newscorrespondent - 17 Jun 2006 2:33 PM - 3 messages
C++ void  SomeClass::SomeRoutine (void) {    QuestionClass   abc(__FUNCTION__); } In C++ when "SomeRoutine" runs the QuestionClass gets the name of the current function. It seems like I should be able to get this using reflection with C# but I have not been able to figure out how. Is there a ...
Score ContextMenu on listview closes when new item is added
RonNanko@gm-squared.de - 17 Jun 2006 12:35 PM - 2 messages
I am facing a userinteraction issue with a listview, which is populated/updated by a background task. While the population of the listview is taking place, the user should already be able to execute actions on the already visible items. ...
Score Reading System.Byte[] Value from AD
Pere Raphael - 17 Jun 2006 10:25 AM - 5 messages
Hi all, I am writng some code to read AD user properties but I am not having much luck reading octet values. For example, there is a property userPassword which returns System.Byte[]. When I use ADSIEDIT, I can see the value in the format 0x077 0x043 0x064 ...
Score Gobal and Session Dataset
Wilson - 17 Jun 2006 9:42 AM - 4 messages
Hi, How can I create a global and session dataset using in the web applicaton ? I have defined in Global class without luck. e.g. public DataSet ds_applicaton; public DataSet ds_session;         protected void Application_Start(object sender, EventArgs e) ...
Score Urgent question w/ boxing... please help
ricolee99 - 17 Jun 2006 7:33 AM - 4 messages
Hi everyone, I have a problem that i have been trying to solve for awhile.  I'm given a code where the purpose is to create a general dataset mapper. Given any dataset, i have a class, "Mapper.cs" that's supposed to map ...
Score .NET Redistributable Nightmare
Infinite - 17 Jun 2006 6:34 AM - 5 messages
I create a windows app which works fine on my dev machine.  I deploy it on my test machine using the MSDE Deployment Toolkit and everything installs fine (expect attaching the db). The newly installed app will not run, it crashes before it does anything.  I can run the same file ...
Score explicitly cast List<List<object>>
colson - 17 Jun 2006 6:21 AM - 5 messages
Hi, If I have a class A, and a List<List<object>> containing instances of A.  How do I explicitly cast List<List<object>> as List<List<A>>? ...
Score Edit C# ListView SubItems
Jason Huang - 17 Jun 2006 6:04 AM - 2 messages
Hi, In my C# windows form project, I have a ListView mylvw. I set the property LabelEdit to true, and I can edit the Item in the mylvw. But what I want to do is not just edit the ListView Item, but also the ...
Score About Best Coding style of c#
kiplring - 17 Jun 2006 5:49 AM - 2 messages
List<string> effectList = new List<string>(); effectList.Clear(); effectList = null; using (List<string> effectList = new List<string>()) { } If there are so many calls, I should save as much memory as I can. ...
Score Separate Chaining Hashtable
Shlomy Shivek - 17 Jun 2006 5:35 AM - 3 messages
I couldn't find implementation of Separate Chaining Hashtable in System.Collections while the regular Hastable didn't let me insert more than one value to a bucket. So, I inherited the regular Hashtable with the following: public class SeparateChainingHashTable:Hashtable ...
Score Setting Control's parent cross AppDomain.
Burgazon - 17 Jun 2006 5:18 AM - 3 messages
Hi, I encountered the following problem when trying to set control parent when the control reside in a different AppDomain. Here is the pseudo code descibing the problem: pay attention that both controls inherits from UserControl which inherites (indirectly)from MarshalByRefObject. ...
Score Passing password to EmailTraceListener?
Peter Rilling - 17 Jun 2006 1:44 AM - 2 messages
Hi. I am using the logging application blocks and would like to be able to send errors to an admin so they are seen immediately.  The problem is the SMTP server requires authentication yet I see no where in the EmailTraceListener ...
Score VS2005 IDE Question : How do I stop the automatic formatting for base()
Russell Mangel - 17 Jun 2006 1:29 AM - 2 messages
I am using VS2005. When I paste source code into the code window, VS2005 formats like the following: public MsgRecipientReader() } I don't want :base() on a seperate line. I want it to look like the following after pasting it into code window: ...
Score How do I
SL - 17 Jun 2006 1:02 AM - 3 messages
How the heck to I get to the code in VC# Express.  I open the project... no code.  No code button. ...
Score How do I loop through multiple instance of an XmlNode
Thirsty Traveler - 17 Jun 2006 12:54 AM - 3 messages
Given the XML sampe below, how would I loop through all of the borrowers in the XML document in order to process the attributes: <REQUEST_GROUP MISMOVersionID="2.1.1" InternalAccountIdentifier="">   <REQUEST RequestDatetime="2003-12-08T09:37:28> ...
Score Help with ReadXML
Ryan Ramsey - 17 Jun 2006 12:24 AM - 2 messages
I currently have this code:     string filePath = "c:\\results.xml"     PlayersDataSet.ReadXml(filePath); and it works fine, it reads the local xml file into a dataset... If I change the filePath to a readable source on a remote server: ...
Score ADO Connection still connecting after Open?
Bryce K. Nielsen - 16 Jun 2006 11:10 PM - 30 messages
Suddenly this week, I've started getting this error message: System.Data.SqlClient.SqlConnection(GetOpenConnection)ExecuteNonQuery requires an open and available Connection. The connection's current state is connecting. I'm very puzzled since I'm not calling "ExecuteNonQuery" and I am calling ...
Score Visual C# Express Edition
Eric B - 16 Jun 2006 11:00 PM - 5 messages
Can the Express Edition of Visual C# compile distributable class libraries (i.e. DLLs)? Thanks ...
Score This is annoying
Ian Semmel - 16 Jun 2006 10:10 PM - 9 messages
Why can't you hide rows in a datagridview which is bound to a binding source ? ...
Score Bitmap to Bytes and Back
Ron M. Newman - 16 Jun 2006 9:55 PM - 3 messages
Hi, I'm interested in the process of taking a live bitmap oject with an image already loaded in it, and representing it as a string such that a whole bitmap carrying the same image can be constructed using only that string. It ...
Score Satellite Assemblies using AL.exe and /embed
Joe - 16 Jun 2006 9:50 PM - 2 messages
Hi I am trying to run a bat files using AL.exe and have 1 question I can run the exe this way - all is fine "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\al.exe" /t:lib /culture:es-ES ...
Score Fontsize difference
tshad - 16 Jun 2006 9:42 PM - 2 messages
I am running a program to put a captcha image on my string and am trying to make sure all the characters fit. The problem is the size seems to be wrong. What I am doing is starting from the rectangles' height + 1 (not sure why I ...
Score FileSystemWatcher raises Changed Twice....
ljh - 16 Jun 2006 8:46 PM - 13 messages
Has anyone else noticed that the FileSystemWatcher raises the changed event twice when a file is changed? Do you have any idea why this is the case? ...
Score How to use events to cross threads?
Bryce K. Nielsen - 16 Jun 2006 8:32 PM - 16 messages
I have an object that starts a thread to do a "process". One of the steps inside this thread launches 12 other threads via a Delegate.BeginInvoke to process. After these 12 threads are launched, the main thread waits. At the ...
Score Visual Serapator between methods
Ron M. Newman - 16 Jun 2006 8:15 PM - 2 messages
Hi, VB.NET code has a nice visual line separating every method from other methods in the text editor. Is this available for C# as well? Thanks -Ron ...
Score Beginner's question about GC
Ron M. Newman - 16 Jun 2006 8:14 PM - 3 messages
Hi, Let's say I have an object A. Object A exclusively references object B. Now: Object A goes out of scope. does this mean the system garbage collects object A and B together? I think it should. Am I correct? ...
Score Form Loading - Issue With Trapping for Errors
Andy - 16 Jun 2006 8:03 PM - 5 messages
I created a Windows application that is having an odd issue.  The application starts for a split second, but then closes.  I cannot get any error messages to display as to what causes the program to close.  Listed below is my ...
Score how to get the name of the button creasted at run time in c#.net
Yoshitha - 16 Jun 2006 8:00 PM - 3 messages
Hi I've created some buttons at runtime and all these are having unique names and also created event handler for the buttons created at run time like this { btn.Size =new System.Drawing.Size(70,50); btn.Name ="Btn"+i; ...
Score DataAdapter.AcceptChangesDuringUpdate not working
George - 16 Jun 2006 7:42 PM - 6 messages
I have set DataAdapter.AcceptChangesDuringUpdate = true; However, I find that I still need to call AcceptChanges on the associated DataTable, DataTable.AcceptChanges(); Has anyone encountered that?  Am I not setting this field properly? The following are some of the snippets of the codes which may help explain ...
Score DataAdapter.Update() and DataTable.GetChanges() side effect.
George - 16 Jun 2006 7:34 PM - 5 messages
Got a question about the side effect of DataAdapter.Update() and DataTable.GetChanges(). Say I set up a DataTable and a DataAdapter in a class.  Delete (Not remove) a row in the data table and call the following method. ...
Score how to communicate between 2 child forms in c#.net
Yoshitha - 16 Jun 2006 6:39 PM - 2 messages
Hi I've MDI form and to child forms (c#.net) and i open the 2 child opens and in first child form what i ever i do that will be recognized in 2nd child form. for eg. if i clicked a button in first child form then in 2 nd child form at ...
Score Event & Delegate Question
Demetri - 16 Jun 2006 6:36 PM - 2 messages
I have written a control in ASP.Net that needs to react if a specified method gets fired. In other words, I want the control to do some work if a method that acts as the event handler for a button is executed via the button click event. ...
Score Rectangle in a pictureBox
emferrari - 16 Jun 2006 5:40 PM - 4 messages
Hi all I have a picturebox which I will have a image loaded to it and some text fields with coordinates. I am drawing a rectangle according to the coordinates in the text fields. Rectangle r = new Rectangle(int.Parse(this.txt_Left.Text), ...
Score Checking to see if a column exists in a datatable
RSH - 16 Jun 2006 4:06 PM - 3 messages
Hi, Iam struggling with an application where I am trying to transfer a datarow from one sql server to another instance of sql server.  The schmeas may be slightly different and I am getting an exception when they are different. ...
Score Verifying a column exists in a datareader
RSH - 16 Jun 2006 3:29 PM - 4 messages
Hi, I have a situation where I have two datareaders, and I want to make sure any given field from Datareader A exists in Datareader B before I can do anything with that column. I tried the code below but I get an exception thrown because the column ...
Score AutoPostBAck problem
talvaro - 16 Jun 2006 2:58 PM - 2 messages
HELP!!!! I have a ListBox control, when one of the item is clicked I am using a series of porperties and methos for Reponse class in order to allow download diff files. The problem is that it doesn't matter what is clicked after a ...
Score Identifying the current class in a class hierarchy
chrisp - 16 Jun 2006 2:55 PM - 3 messages
Is there anyway I can get the Type of the class that owns the currently executing code? I'm trying to get this information for logging purposes. I have a number of tracing messages throughout a class hierarchy, and I'd like ...
Score What is the best practice to execute multiple "nonQuery" SQL operations in a transaction ?
TheSteph - 16 Jun 2006 2:53 PM - 2 messages
Hi,   I need some Advice..   What is the best practice to execute multiple "nonQuery" SQL operations in a transaction ? 1) Execute all in one "sqlCommand.ExecuteNonQuery();" :    sqlCommand.CommandText =     "DELETE CUSTOMER WHERE CUST_ID = 'ID1' \n" + ...
Score FileStream.Write slow to write last 100K of 2GB file
Eric Cadwell - 16 Jun 2006 2:50 PM - 6 messages
Is there a faster way to write the last 100K of a large file? This code takes almost two minutes to run on my machine. int buffer = 100000; int length = 2000000000; string file = @"C:\test.txt"; if (File.Exists(file)) ...
Score Creation of wizard in .net
Tom - 16 Jun 2006 1:55 PM - 2 messages
Hi, I have some ini files with me. I want to create a wizard that would take this ini file as its input and output a C# class which when given to a control would give me means to edit the ini file. I'm speaking in the ...
Score VS2005: edit while debugging
Wiebe Tijsma - 16 Jun 2006 12:53 PM - 4 messages
Hi, I'm looking for a way to be able to edit the source files in VS2005 while debugging. I don't mean edit-and-continue, and I really don't care if the debugger points to the wrong line after adding or removing a ...
Score Add own ColumnHeader to an extended ListView trough the designer
Fabian_20 - 16 Jun 2006 12:53 PM - 2 messages
Hello everybody, sry for the bad title :). I created an extended ListView with an extended ColumnHeader. If i add a new ColumnHeader through the designer, it appears on the left side of the editor and i can set my own properties. But when i click the ...
Score Is there a timeout issue with HttpWebRequest
Jens Jensen - 16 Jun 2006 12:39 PM - 13 messages
I try to set the timeout property on my HttpWebRequest object before lunching the request. It seems like any value above 100 seconds is discarded. Has anyone observered malfunctional with this class? Thanks jj ...
Score Lost in the XML jungle
Ole - 16 Jun 2006 12:12 PM - 5 messages
Hi there, I think I'm lost in the XML attribute jungle in my attempt to serialize/deserializing data that must be persistant, and any help is highly appriciated. I need to save this class in an XML file and it must be unicode formatted: ...
Score Cross Thread calls
Paul Cheetham - 16 Jun 2006 11:45 AM - 5 messages
Hi, I have a couple of classes that I am using to read a swipe-card reader attached to the serial port (c# VS 2005 Pro). I have a SerialComm class which actaully reads the serial port, and a CardReader class which validates the number etc. ...
Score Explorer Context Menu of a given file?
Martin Carpella - 16 Jun 2006 10:45 AM - 3 messages
Hi! Can anybody give me a pointer if/how I could retrieve the Explorer context menu of a given file in C#? Thanks in advance, Martin ...
Score try/catch block design. Two approaches, which one's best?!
Mr Flibble - 16 Jun 2006 10:35 AM - 10 messages
Hi all, happy Friday! (certainly Friday is a day worth celebrating). I have a question on try/catch design (an exciting Friday topic for sure): I can either put a try/catch block in every function and have each one ...
Score webclient-webrequest please help!
kkb - 16 Jun 2006 10:22 AM - 3 messages
Hello! First, I'm sorry because of my english... I'll try to be understandable! I've got a strange problem using .NET 2003 C# and I haven't figured it out for a long time. I'm implementing an application to download images ...
Score Calling sql server user defined function from C#
Lalit Bhatia - 16 Jun 2006 10:21 AM - 3 messages
How can we call a sql server user defined function from C#? ...
Score How to determinate if a string is a Date
ad - 16 Jun 2006 10:07 AM - 3 messages
How can I determinate if a string is a Valid date. For example "2002/06/23", and "2002/6/23" all are valid date string, but "2002/23/06" is not. ...
Score ActiveX and .NET communication
Rain - 16 Jun 2006 9:37 AM - 2 messages
What do u think is the best way 4 communication between a activeX and a .NET exe..? Thanks! ...
Score Html formated Label.Text
sitemap - 16 Jun 2006 9:32 AM - 2 messages
Hello, Can anyone tell me - is it possible to visualize html formatted text in Window.Forms.Label.Text? Thank You ...
Score Real-time GC
Dirk Remans - 16 Jun 2006 9:14 AM - 4 messages
Hi, Can somebody help me with theory and practice of automatic garbage collection. The greatest problem is that for some programs, the GC takes some time. Thx ...
Score DBF files with C#
bad_boyu - 16 Jun 2006 8:48 AM - 7 messages
I want to work with DBF/DB files in C#, so I need a library and an example... Can somebody help me with this? Thanks, BB ...
Score call a STORED PROCEDURE (oracle) from C#
RicercatoreSbadato - 16 Jun 2006 8:08 AM - 4 messages
I have a procedure with a lot of parameters: .... var IN BOOLEAN DEFAULT FALSE, .... and one variable is a boolean. How can I put the bool parameter into this stored procedure from c#? I've tried : OracleParameter op5 = new OracleParameter("var", 1); ...
Score Modify atribute in xml file
Alberto - 16 Jun 2006 7:12 AM - 5 messages
How can I modify an attribute in a xml file? Thank you very much ...
Score Doubt related to windows based timer.
archana - 16 Jun 2006 6:44 AM - 3 messages
Hi all, I am having one confusion regarding windows based timer. I read somewhere that 'Be careful with stopping, because stopped timers are disabled and are subject to garbage collection. That means that stopped timers can not be started again.' ...
Score about convert from string to int
tony - 16 Jun 2006 6:40 AM - 3 messages
Hello!! string number = "13"; int num; Is it exactly the same if I use num = Convert.ToInt32(number); OR num = int.Parse(number) Is it always in this case that I can choose whichever of int.Parse or Convert.ToInt32 when I convert from a string containing numbers to an int. ...
Score .Net 2.0 Framework Strong Name Error
SenthilVel - 16 Jun 2006 5:54 AM - 2 messages
Hi I am in the Process of conversion of my existing 1.1 Dotnet Code to 2.0 framework. for each project when i compile in VS2005 , i get this error\warning: Use command line option '/keyfile' or appropriate project settings instead ...
Score Have you rn C# application in Linux?
Scirious - 16 Jun 2006 5:19 AM - 5 messages
People, have any of you ever run a C# .NET application in Linux? If yes, tell how easy/good it was. TIA, Scirious. ...
Score Add line numbers to richtextbox
coding - 16 Jun 2006 4:38 AM - 3 messages
Hi, Can anyone help on how to add a line number section to a RichTextBox? In the same way any code editor have... thanks in advance ...
Score True or False?
Brian - 16 Jun 2006 3:56 AM - 3 messages
State True or False: If you set AutoGenerateColumns=True and still provide custom column definitions, the DataGrid will render both. o        True o        False Someone said true but someone said false. Which is right? ...
Score How to format tooltip text?
Scirious - 16 Jun 2006 3:38 AM - 3 messages
People, how can i get my tooltip text to be formatted so i can change the color of portions of the text and even use italic or bold along my text? TIA, Scirious. ...
Score Undo deletions in DataGridView
Michael A. Covington - 16 Jun 2006 2:53 AM - 3 messages
Any thoughts about how best to implement "undo most recent deletion" in a DataGridView in which the user is allowed to delete rows (but not edit their contents)? Is it as simple as stashing a copy of the DataGridView before doing the ...
Score DataGrid Summary Row?
Dat AU DUONG - 16 Jun 2006 1:54 AM - 3 messages
Hi, I want to load data into the datagrid and also show at the bottom of the grid the sum of the column There are alot of example on this topic but it is for ASP.NET, I want to ...
Score A quick question for IL and C#
Brian - 16 Jun 2006 1:33 AM - 4 messages
A quick question here - What can be achieved in IL which is not possible in C# ? o        Creation of an ArrayList o        Creation of a Dictionary ...
Score Unit Testing Tutorial?
Dat AU DUONG - 16 Jun 2006 12:59 AM - 5 messages
Hi, I am new to Unit testing, could you tell me where I could find information (hopefully step by step) and what is the benefit of unit testing. I am a sole developer in a company, therefore I don't get expose to much ...
Score Possible to override static member in base class?
Dave Booker - 16 Jun 2006 12:25 AM - 15 messages
It looks like the language is trying to prevent me from doing this sort of thing.  Nevertheless, the following compiles, and I'd like to know why it doesn't work the way it should: public class ComponentA {   static string s_name = "I am the root class."; ...
Score What may be wrong here?
Scirious - 15 Jun 2006 11:28 PM - 7 messages
People, I'm working in a project in Asp.Net 1.1 where I need to record some info in an Oracle database. To do such, there is an object that stores some this info, including a date in a string variable. ...
Score How to report a bug to MS?
Scirious - 15 Jun 2006 11:20 PM - 6 messages
People, the way Windows.Forms TabControl draw itself is buggy. I the tabs page are on top of the control it is ok, but if it is set to the right, left or botton of the control it just doesn't draw the way it should. At ...
Score howto change Font.Size
# Cyrille37 # - 15 Jun 2006 10:56 PM - 4 messages
Hello, Font.Size Property is readonly. How can I change the Size of a Font ??? Thanks for your help cyrille ...
Score how to create my own tool box control
Yoshitha - 15 Jun 2006 10:18 PM - 4 messages
Hi Is it possible to create my own tool box control (in c#.net) on which i can place the controls i've created or some other controls which already exisits? Can anyone tell me how to do this? or if you know any third party control ...
Score Multiple Unit Scalar
Stephan Rose - 15 Jun 2006 9:50 PM - 5 messages
In one of the applications I am developing I have need of working with numbers in varying unit system. I might be adding 5 mil to 1 inch or whatever. What I have come up with works really well, however...it moves about ...
Score Optimizations to Reduce Memory Consumption and Minimize Paging
Mike S - 15 Jun 2006 9:31 PM - 6 messages
I'm working on a .NET application that was under development by a previous developer, who is no longer working with the company. The program basically extracts records from a source database and outputs them in an XML document, mapping the source records into a third-party ...
Score real-life example of generics??
VMI - 15 Jun 2006 9:13 PM - 6 messages
I understand the principle behind generics, but I'm not sure how I can apply them to a real-life situation. Anybody have an example that shows how someone can benefit from a generic class?  The less complicated it is, the better :-) ...
Score How to implement "default(T)" for a given Type
Jeff Brown - 15 Jun 2006 9:05 PM - 2 messages
Hi, I'm trying to implement the functionality of the generic expression, "default(T)", but for a given instance of the Type class. The ideal would be if the Type class had a method like "object Type.MakeDefaultInstance()" -- but it doesn't. ...
Score Forms show and hide..
DBC User - 15 Jun 2006 8:45 PM - 2 messages
I am wondering is there any way when I do a show and hide of a form, we can do a smooth transition to the new screen like power point presentation in c#?? Thanks. ...
Score How to get property name?
Brett Romero - 15 Jun 2006 8:19 PM - 4 messages
if I have a public static property such as: //Class1 public class Class1 {   public static Dictionary<string, string> Prop1{...}   public static Dictionary<string, string> Prop2{...} } //SomeClass public class SomeClass {         public SomeClass ( CustomDictionary<string, string> pdict ) ...
Score Raising an event outside of the class
George - 15 Jun 2006 7:26 PM - 4 messages
Hi, I have searched on the net quite a bit, but the more I read, the more confused I get. I want to see if I can raise an event out side of the class.  I believe this can be done in VB (at least VB 6.0) by calling raise event .... ...
Score datagrid and web controls
Phil Townsend - 15 Jun 2006 7:13 PM - 2 messages
I have a datagrid control that gets populated from a dataset in a code-behind file. In addition to some text fields the data contains three smallint fields that can either be a 1 or 0. When the datagrid gets populated I want a checkbox to be displayed for those fields that ...
Score ToString() does not exist ... anywhere !
John A Grandy - 15 Jun 2006 6:44 PM - 15 messages
In .NET v1.1.4322 , in a VS.NET application , has anyone ever run into the bizarre situation where at runtime .NET believes that the ToString() method does not exist ... Sometimes this problem will show up as a runtime exceptions, sometimes this ...
Score Sort a Data reader
John - 15 Jun 2006 6:18 PM - 3 messages
Hi, Is there a way to sort a datareader based on certain columns? TIA ...
Score Finding mysterious Application Settings
Dave Booker - 15 Jun 2006 6:17 PM - 10 messages
When I run a particular application I've been working on for a while, it somehow finds a value for the Application Setting "Test.Properties.Settings.Default.ProjectPath", but I can't see where it is acquiring the value!  I have been through all of the project's Properties, ...
Score Getting distinct fields from a dataset
Mike9900 - 15 Jun 2006 5:55 PM - 5 messages
Hello, I have this data in a DataSet: Year     Account   Amount  1995    1              999 1995    2              323 ...
Score Newbie: application architecture best practices
Underflow - 15 Jun 2006 5:23 PM - 3 messages
G'moring folks, My apologies if this is an RTFM type question... I'm starting in C# after working in other languages for a while.  I can write simple console apps all day long, but the number of structure choices ...
Score Cant update StatusStrip items from working thread
Benny - 15 Jun 2006 4:00 PM - 2 messages
I have a GUI and a working thread. I have used just regular labels and used callbacks to update the text on the GUI thread until now.  I have added a status bar with 2 labels i need to be able to change and 1 ...
Score Reading XML with HTML tags
emferrari - 15 Jun 2006 3:54 PM - 8 messages
Hi all I have a XML file with the following: <Step step="1"> <Text><b>Chapter 1</b> This is a test. Click <b><i>Load</i></b> ...
Score my rant on value types and accessors
The Petar - 15 Jun 2006 3:20 PM - 4 messages
I am really unhappy that C# accessors are not powerful enough to mimic as if you were accessing an class field. In particular, let S be: public struct S {   public int v;   public void change () { v = 99; } } Let C be: ...
Score C# project reference problems (reference pulled from obj folder, not bin folder).
Richard J Foster - 15 Jun 2006 3:20 PM - 6 messages
Hi there, I have a pair of C# projects in VS2003. The first project, a dll, is referenced in the second via a project reference. The assemblies in question are delay-signed during a "production" build process, but not as part of a normal development build. ...
Score find a value ona datagridview
paolol - 15 Jun 2006 3:16 PM - 3 messages
Hi, I have a datagridview and at the doubleclick event I will like to open a new window with a collection of data from an ADO DB , but I don't know how to get the value of a cell in the clicked row :| ...
Score .Net remoting call from Excel macro?
balaji - 15 Jun 2006 3:03 PM - 2 messages
Hi all, Is there a way to use .Net remoting via Excel macros?. I want to do is if a particular cells in the excel file changes, my .Net applicaiton need to be notified about this. Is there any other way of interprocess ...
Score table to object converter
abentov - 15 Jun 2006 2:35 PM - 3 messages
Hi, I have a sample class – let’s say Person. It has the following fields: Id:int Name:string Address:string I would like to reuse this class over different projects. In all of them I need to bee able to store and retrieve the Person’s fields into/from a Data ...
Score Getting components list
Aleksey - 15 Jun 2006 2:34 PM - 2 messages
Hi, all!   Is there any standard way to get list of all components on my win form, including components that their parent isn't form it self, but panel on the form? Or to get this list I need create recursive function? (In Delphi there ...
ref
csv
Next »