Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Installer Error 2835
david - 15 Apr 2006 8:15 PM - 4 messages
Greetings, I'm doing some modifications of an existing Visual Studio .NET 2003 C# project that is to be deployed as a windows service.  The solution includes a project that builds an MSI file.  Over the month I've been ...
Score REPOST: C# Book
Scott M. - 15 Apr 2006 6:23 PM - 10 messages
Surprisingly, I didn't get any responses on this the first time, here goes again: I am looking for a good C# book that covers the language and syntax of C# (2003).  I do not need coverage of the .NET Framework and/or VS.NET ...
Score WebBrowser class
Laurent Lequenne - 15 Apr 2006 6:10 PM - 16 messages
Hello All, I'm currently developing a free windows Scrabble (in french :)) application that uses extensively the WebBrowser class of NET 2.0 for configuration, and data browsing. It works 100% on my machine, with the WebBrowser Class, and the Microsoft.MsHtml component. I can access all elements on the pages ...
Score DataSet to SQL Server Table ...
Frank Uray - 15 Apr 2006 4:30 PM - 2 messages
Hi all Can somebody tell me a easy way for the following: - I have a DataSet in C# (with one table) - I have SQL Server (2000 or 2005) Now I would like to store the data in the DataSet into a SQL Server ...
Score DrawString() and lines measures
Fabio - 15 Apr 2006 2:51 PM - 10 messages
Hi all, I wonder if there is a way to get the bounds of each line drawn by the Graphics.DrawString() considering that DrawString() can wordwrap the text, so I cannot just consider the \n to identify the each line. ...
Score Transaction Isolation Levels
cj - 15 Apr 2006 1:54 PM - 3 messages
Hi. I need a better understanding of transaction isolation levels.  I can't seem to visualize a scenario for each level.  The serializable level is the only one I really understand.  I do not seem to grasp what a RepeatableRead is or ...
Score Creating XML attribute children
Mike9900 - 15 Apr 2006 1:06 PM - 2 messages
Hello, I need to create something like the following attributes in the specified file, without using XmlWriter. <Documents> <Grids> <Grid1> <Width> 13</Width> <Height> 43</Height> ...
Score Which ASP version the server is running?
joe - 15 Apr 2006 10:46 AM - 3 messages
Is there a code snippet (in an .asp page) that would tell which version of ASP the server is running. I got the info from the web hotel that their Windows server has ASP/.NET capability. After some test it appears that "classic" is only supported. I'm a ...
Score Thread - CPU usage
Michael Moreno - 15 Apr 2006 10:17 AM - 12 messages
Hello, I have a C# server which has 4 worker threads running all the time. When I let the server runs for several hours, for some reasons the CPU usage of the application will shoot to 100% and remain there. ...
Score The internal key word does not work as a book say.
Tony Johansson - 15 Apr 2006 8:52 AM - 4 messages
Hello! I want to say that I rather new to C# have only worked with it for 5 month. I'm now reading a book and there are some example on the internal key work that doesn't work as the book say. I just want to know if the book is right or wrong. ...
Score how to enable auto-using?
Rob - 15 Apr 2006 8:22 AM - 4 messages
I can't find the option to enable auto-using ...
Score Why finally?
Jon Davis - 15 Apr 2006 6:32 AM - 14 messages
I understand that the finally sub-block will execute regardless of whether try succeeded or not. But so will code that follows try...catch.  So then what is the difference between ...     try {         do.something.that.breaks(); ...
Score Encryption Problem
Bob - 15 Apr 2006 3:36 AM - 6 messages
Hi Problem. Generate valuable 'plain' data on Mach A. Need to write encrypted version to CD which gets inputed to database  on mach B. Want the data to be encrypted in the table so it cannot be eyeballed to see ...
Score Sync with atomic clock
Lew Barnesson - 15 Apr 2006 2:33 AM - 2 messages
Hello All, Can someone steer me to an API for syncing with the atomic clock? Thanks! - Lew ...
Score DigitalPersona SDK
Juan C. Santaella - 15 Apr 2006 1:48 AM - 6 messages
Hi!! I wonder if any of you has worked with the DigitalPersona Platinum SDK. I have to start a C# application that integrates the u.are.u 4000B fingerprint reader using the SDK. Any help or information about it is welcome. ...
Score Print execution of batch file line-by-line?
brianbasquille - 15 Apr 2006 1:47 AM - 2 messages
Hello all, Hope you can help me with this little conundrum! I'm running a batch file and want to print the execution of it line-by-line. Best reference i could find was: [link] ...
Score VS 2003 and 2005
Rafael Tejera - 15 Apr 2006 12:14 AM - 3 messages
It is possible to have both Visual Studio installed in the same computer. I mean, VS 2003 and VS 2005 in the same pc. Rafael ...
Score smtpClient.Send socket error
hazz - 14 Apr 2006 10:34 PM - 12 messages
smtpClient.Send(message) is causing me problems as per specifics in the trace below. Email is sent but not without this error typically upon sending the second email, but sometimes when running the app, even the first time.    The application will ...
Score Cannot successfully can C++ function from C#
Mike - 14 Apr 2006 9:41 PM - 4 messages
I have been banging my head againt my desk for a couple days now and nothing I try seems to work.  I know I am missing something small and it's killing me. This is the error I am getting with this code: ...
Score How to get the Top Left coordinates when drawing text
Satya - 14 Apr 2006 9:36 PM - 2 messages
Hi,    I am new to GDI+ in C# and so excuse me if this sounds silly. I need to draw text at different places on the form (mainly TopLeft, TopRight, BottomLeft and BottomRight). I can use either DrawString or DrawText ...
Score Trying to dynamically create child elements in an XML document
Thirsty Traveler - 14 Apr 2006 8:41 PM - 3 messages
How would I dynamcially create an XML document of the following form: <ReceiveTSSCallBack xmlns="http://LandAm.EAI.Mainframe.TSR">       <TSSCallBack xmlns="http://LandAm.EAI.Mainframe.TSR.Schemas.TSSCallback">            <orderNo xmlns="">string</orderNo> ...
Score C# Service locks-up (Memory/Resource Management/GC Problem?)
Keep it to Usenet please - 14 Apr 2006 8:26 PM - 10 messages
I've inherited a service written in C# that will eventually become non-responsive (Has to be "Force Quit" -- can't be stopped/restarted from the Services Control Panel.).  It really seems like what would be a problem with Memory/Resource Management in C++ -- memory not being ...
Score C# Immediate Window Nightmare
raqib.rafique - 14 Apr 2006 7:48 PM - 3 messages
The immediate window in Vs.NET is giving me problems when i use it with C#. Simple example is I have the following line of code in a function String MyString = "abc.doc"; Then I put a breakpoint on it, when i debug the application and it goes ...
Score Background applications listening for mouse clicks
Al - 14 Apr 2006 7:38 PM - 2 messages
I need to write an application that couns *global* mouse clicks, i.e., mouse clicks on the entire windows screen and not this application itelf. I found something similar: [link] This code catches key strokes, but I'm failing to write the same for ...
Score Converting an Array to a Collection
Chuck Cobb - 14 Apr 2006 7:35 PM - 6 messages
I'm having a problem converting an array to a collection.  The code I'm using looks like the following: CustomerInfo[] cArray; Collection<CustomerInfo> cCollection = new Collection<CustomerInfo>(cArray); The above code creates a collection from the array but the collection winds ...
Score dummy code example
Zen Masta - 14 Apr 2006 7:20 PM - 4 messages
I'm designing a website for a company and I want to put a catchy little thing in there to help sell the design. I once saw a comic a while back that had some code that looked like a person waking up and having coffee and I ...
Score How is it that a private main method is still runnable in a console application?
Sean Dockery - 14 Apr 2006 6:52 PM - 5 messages
I am a Java veteran who has just started learning C# with Tom Archer's Inside C# 2nd Ed. In the first chapter, there is a typical Hello, World! application that looks like this... namespace InsideCSharp {     class HelloWorldConsoleApp ...
Score Unused code finder
Frank Rizzo - 14 Apr 2006 6:27 PM - 2 messages
I inherited a solution that literally has hundreds of forms, regular user controls, composite user controls, etc...  Needless to say, the solution takes its sweet time when loading. Is there a tool that will go through the project and give me a report on ...
Score how can I cast List<MyObject> to ICollection<IMyObject>
Jimp - 14 Apr 2006 5:36 PM - 6 messages
Why can't I cast List<MyObject> to ICollection<IMyObject>. MyObject implements IMyObject, and of course, List implements ICollection. Thanks ...
Score VS.NET shortcut for Expand all code
Mark - 14 Apr 2006 3:01 PM - 5 messages
If cntrl M+O compresses all your code so that everthing is accessible by a + sign, how can you uncompress ALL the code in a single .cs file?  Thanks in advance. Mark ...
Score Persistence/Broker Layer questions
dkode - 14 Apr 2006 2:50 PM - 3 messages
Hello, I am laying out the architecture for a very large website that will scale to a very large degree. I have a couple of questions before I attempt to go and implement a Broker/Persistence Layer. 1. With a broker layer, does this layer sit at the same level as the ...
Score Gui/Monitor/Config/Controller for a Windows Service
Steffer [MCP] - 14 Apr 2006 12:31 PM - 2 messages
Hi NG I'm have made a server application (WinForms) but I would very much like to move the tasks that my app runs into a Windows Service. But have you any experience building an communication interface between the Gui and a Windows Service, I'd like to hear from you. ...
Score Newbie simple question
joe - 14 Apr 2006 12:02 PM - 4 messages
I have trouble getting my "Hello world" test aspx page working. I have a home page on a Windows server (a web hotel). Other HTML pages run fine there. I tried an aspx page just to test C# but I get an error "Server Error in ...
Score Is there a way for c# to signal a Linux box?
D - 14 Apr 2006 11:29 AM - 5 messages
I need to ftp a file over to linux and send some sort of message or signal to process it. c++ to Linux via rpc was a thought but not sure how to do that in c#. Also something that's also going to 64 bit Linux would be preferable. ...
Score Deploy
webrod - 14 Apr 2006 11:29 AM - 2 messages
Hello everybody, I have done a program using csharp (windows form). It uses a SQL Express database. I have done the deployment phase. In the properties of the project, and in the PUBLISH tab, I have clicked on "prerequisites" and checked SQL EXPRESS. ...
Score Optimizing Views
Nidhi - 14 Apr 2006 10:32 AM - 3 messages
Hello, In my stored procedure i m using same view 5 times. Will this calculate and retrieve from views 5 times ??? Is there any way we can optimise my stored procedure Regards Nidhi ...
Score Calling procedure
simonZ - 14 Apr 2006 9:11 AM - 3 messages
I have procedure: void bindDataGrid(){ ........ //inside I try to call other procedure: bindAdvType() } void bindAdvType() { .............. } But I get an error : Unreachable code detected. Any ide why? Regards,S ...
Score Access key in C# application dont work
tasiekk@tlen.pl - 14 Apr 2006 9:05 AM - 3 messages
I have 1 lil problem. I make simple Win Forms app and i put there a tab control. There i make two pages. In each page i make 1 button. In tabpage1 button1 and in tabpage2 button2. And i make access key for ...
Score Outlook Express again!
Jason Huang - 14 Apr 2006 8:14 AM - 5 messages
Hi, I am not sure if we can call Outlook Express in the C# windows form project. However, my boss he thinks that it should be able to open, since the VSC# and Outlook Express are all MS's product, ...
Score Pulling user data from Active Directory
Joe Spears - 14 Apr 2006 8:04 AM - 3 messages
Hi Does anyone have any sample code on Pulling user data from Active Directory?? Thanks ...
Score null object returnd to .net client while calling axis web service
John Smith - 14 Apr 2006 7:26 AM - 2 messages
I'm expiriencing the same problem as someone posted one year ago: [link] ...
Score Problem displaying modal dialog boxes
mpreston - 14 Apr 2006 7:22 AM - 5 messages
I'm following the example from the MSDN library on how to create modal dialog boxes in C#, but something isn't working properly.  If I create a modal dialog box and show it using ShowDialog(), the main form behind the dialog ...
Score Is this AJAX? (Sort of "Off Topic")
blueapricot416 - 14 Apr 2006 5:35 AM - 4 messages
I have some javascript in a standard HTML page that uses the ubiquitous "XMLHttpRequest" to send data to a remote ASP page. If that page "answers back" by sending a string using a simple Response.Write, which I then use in the original HTML page to ...
Score What other decent C# forums/newsgroups are there ?
Oleg Subachev - 14 Apr 2006 5:07 AM - 3 messages
What other decent C# forums/newsgroups are there ? Oleg Subachev ...
Score Removing Node from XMLDocument
Stuart Shay - 14 Apr 2006 2:04 AM - 4 messages
Hello All In the following XML Below which is a XMLDocument in my application. I want to remove the <extensions></extensions> Node completely. What is the best way to do this, my files are not that large ...
Score strip
John A Grandy - 14 Apr 2006 1:51 AM - 4 messages
Let's say you are storing lots of URLs in XML files.  So, for those with non-XML-compliant characters you use the <![CDATA]]> construct ... <Element1><![CDATA[[link]]]></Element1> ...
Score How to name the NameSpace
ad - 14 Apr 2006 1:25 AM - 2 messages
I use VS2005 to develop a Class Library. What is the better police to name the NameSpace. Is it OK the name the NameSpace as the project name of the NameSpace? ...
Score Generics - How do you do this in one class?
D. Yates - 13 Apr 2006 11:42 PM - 3 messages
How do you do this with one class instead of two? This works:    public class UlMenu1<T> where T : UlMenuItem    {    }   // I want UlMenu2 to implement IComparable (UlBeverageItem already does, but is not shown here). ...
Score storing a DataGridView in a Setting
michael sorens - 13 Apr 2006 10:22 PM - 11 messages
Is it possible to store an unbound DataGridView component into a setting?  I naively tried defining a Setting that is a DataGridView called DGV, then  simply assigning it:     Properties.Settings.Default.DGV = myDataGridView; After I closed the program, the user.config file shows an empty value, so  ...
Score How to add comments to my method parameters?
cashdeskmac - 13 Apr 2006 9:49 PM - 7 messages
I have noticed that when I call certain methods, such as DataSet.ReadXml, they have not only the parameter list but also a description of what needs to be passed in.  To use the example above, opening the brace tells you that the ...
Score How to get the Favorites folder.
ad - 13 Apr 2006 9:31 PM - 2 messages
How can I get the physical directory of Favorites ? ...
Score How sort XmlDocument?
Ronald S. Cook - 13 Apr 2006 9:28 PM - 2 messages
I have loaded an XML document into an XmlDocument object.  How can I sort this on one of the elements? Thanks, Ron ...
Score Special characters in Config file
JimmyW - 13 Apr 2006 6:49 PM - 5 messages
Hello, How characters é and ü should be coded into App.Config file? For Example & must be converted to &amp; but how those two characters é (e with dot) and ü (German u) should be coded? Can anyone help? ...
Score Create/read vCard (Outlook contact)
MuZZy - 13 Apr 2006 6:49 PM - 2 messages
Hi, I just wonder if anybody knows about any freeware component which can create or read/parse and existing Outlook vCard file. I found a component but it's $600 for site license which is a bit too pricy for me ...
Score Never Use Static Methods in ASP.NET?
bradwiseathome - 13 Apr 2006 6:36 PM - 4 messages
I think I learned somewhere that you should never use classes with static methods that use ADO.NET inside an ASP.NET app because there is a danger with thread locks. Is that true for Framework 1.1? Thanks. ...
Score Accessing Application Settings Created In VS2005 Designer
amyl - 13 Apr 2006 6:10 PM - 3 messages
I have added some user scope level variables in my Windows Forms Application.  However, I can't seem to access them. Configuration.Settings.Default which did not work for me.  Than I found another reference that you could use Properties.Settings.Default and that did not work either. ...
Score Determine when server is unavailable
sklett - 13 Apr 2006 5:59 PM - 2 messages
I need to support "offline operation" - that is, if the DB server for whatever reason is unavailable (network communication down, server crashed, someone cut the users cat5, etc) I need to store the data locally until communication is restored at which point I will catch-up on a worker thread ...
Score maintaining case while inserting GUIDs into SQL Server tables
Vish - 13 Apr 2006 4:40 PM - 3 messages
Hi All, I am trying to insert a GUID generated in .NET into my SQL Server tables. I am inserting it into a column of type uniqueidentifier. The GUID generated by ..NET has lower case alphabets in it but after i insert it into the SQL Server ...
Score Updating DataTable based on Criteria
Mike9900 - 13 Apr 2006 4:24 PM - 4 messages
Hello, I want to update a DataTable based on some criteria, like using Case in a Query. I know I can use Select() on the table and then use loop to change the values, but I do not want to use loop.  Is there a way? ...
Score SQL DTS Package
Jim Heavey - 13 Apr 2006 4:02 PM - 2 messages
I am wanting to execute a SQL DTS package from a C# program.  I found an article which tells you how to do this ([link]). One of the first thing it tells you is to create a reference to ...
Score Partial class
Tommaso Caldarola - 13 Apr 2006 3:26 PM - 3 messages
Can I use partial class on different assembly? ...
Score Currency,Decimal,Access and Confusion
MikeY - 13 Apr 2006 3:22 PM - 12 messages
Hi Everyone, I'm trying to extract my pricing from my Access.mdb. Developing WinForm C#. I've read previous posts on the subject, but I'm still confused. In Access my "Price" is of "Currency" type. I extract my items ...
Score FTP
Jim Heavey - 13 Apr 2006 3:11 PM - 2 messages
I am trying to figure out how to use the FtpWebRequest class in .Net (2.0) to transfer a file from a server to my workstation.  It is failing to log into the server. When I use the FTP client from my work station by dropping down to the dos ...
Score Downloading file
M. Noroozi Eghbali - 13 Apr 2006 3:07 PM - 5 messages
Hi, I need to download a file using OnClick event or Command of a ASP button. Is there any possible code for this? In ASPX file: <ASP:Button id="button1" runat="server" text="Start Download"></ASP:Button> ...
Score ToolTip for each Item of a Combobox
Gus - 13 Apr 2006 2:50 PM - 3 messages
How can I show a tooltip for each item while a combobox is outspread and I'm selecting.. I need that help as soon as possible... Thanks. ...
Score Datastructure
Shahid - 13 Apr 2006 2:13 PM - 4 messages
Hello, I am trying to store data from the database and then process it later in the application. I was wondering if something like this was possible: object[key1, key2, value] I know using hashtable, you can do object[key, value]. But having two ...
Score How to Append to a File via FTP
Simone M - 13 Apr 2006 2:07 PM - 6 messages
Here is my problem: I need  to append a string to a file every time the user downloads this file. The string is different for every user. I would like to append the string to the file via ftp. But I am not sure ...
Score Cast my custom class into System.String
John Smith - 13 Apr 2006 1:37 PM - 5 messages
How can I allow someone to cast my C# class into System.String? Is it possible in C#? In C++ I used "operator" keyword to mark C++ member function. ...
Score Validating an XML file with a schema
Curious - 13 Apr 2006 12:53 PM - 2 messages
Hi, I will be reading a series of XML files, and before extracting the data from them, I would like to make sure that they have the correct schema. The schema will be readily available into an xsd file.  How should I ...
Score Retrieving details of Backup schedules, maintenance plans, or SQL Agent jobs, from SQL Server
Joe Spears - 13 Apr 2006 11:42 AM - 2 messages
Hi Does anyone have any sample code (pref. C#), that can obtain details of the backup schedules, maintenance plans, or SQL Agent jobs, from SQL Server, perhaps using DMO, or SMO (2005) Any sample code appreciated Thanks ...
Score New as applied to arrays
nick_nw - 13 Apr 2006 11:24 AM - 3 messages
Given: class MyClass {     private int var;     public MyClass ()     {         // Any old init code         var = 3;     } ...
Score unmanaged structs in struct with c#
juergen - 13 Apr 2006 11:20 AM - 3 messages
Hello everyone, I can't get that to work and I don't know why. Simplified I have the following structs (Just a snip): typedef struct { char* name; int type; Parameters1 otherStruct; Parameters2 otherStruct2; unsigned int lastUsed; } TestStruct,*PTestStruct; typedef struct Parameters1 ...
Score moving selected item
Hrvoje Voda - 13 Apr 2006 10:31 AM - 5 messages
How to move up and down a selected item in listcheckedBox? Hrcko ...
Score Disabling a column in DataGridView
tony lock - 13 Apr 2006 10:06 AM - 3 messages
Has anybody found a way to disable a column in DataGridView i.e prevent it being selected. With DataGrid it was fairly easy to check on the column being entered and move the selection to the next column, this does not seem ...
Score Access the "global" focused control from C# app-.
Anders - 13 Apr 2006 10:01 AM - 3 messages
Hi Im trying to develop a C# application which interacts with a Fingerprint scanner. The appliaction is going to run in the background (and as trayicon). When my applicatons catches an event from the finger scanner i want to paste ...
Score DataSet to Crystal report?
krunom - 13 Apr 2006 9:13 AM - 3 messages
Hi, i am a newby in Crystal Reports design, and i wrote a c# windows form application that creates a DataSet. And, now i want to pass this DataSet to CrystalReport (via DataSource?) and i do not know how to display this DataSet in my Crystal Report :( ...
Score Retrieving the COM class factory for a component failed
Sakke - 13 Apr 2006 9:06 AM - 3 messages
Hello! We have written a GCryptoSvr.dll COM server in C++. Inside that resides WebClient COM component. WebClient CLSID is {8DC27D48-F94C-434B-A509-C3E1A3E75B9E}. When we are using that WebClient COM component from C++ code it works just fine. However when we try to ...
Score Reading from .DBF in DBaseIII
Jo Segers - 13 Apr 2006 6:36 AM - 7 messages
Hi, The code SQLstatement below does not return any rows, but if I remove the WHERE-clause I get the full table as the result. private OleDbConnection GetDBaseIIIConnection() {     string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data ...
Score Create word documents from .dot-file from C# 2.0
Magnus - 13 Apr 2006 5:56 AM - 2 messages
Hi, I have some com interop code to create MS Word w2k documents from c#. Does anyone have a managed version? Using the Office 2003 package in VS 2005 requires Word 2003? Regards /Magnus ...
Score XML Querying .....???
sandy82 - 13 Apr 2006 5:47 AM - 6 messages
Hi all I use a dataset and then create an Xml File based on that I want to Query this Xml File . I searched on that but could find the Xpath as one of the method is their any easier method to query this Xml File . ...
Score Problem assigning event handler to object.event
moondaddy - 13 Apr 2006 4:48 AM - 4 messages
C# 2.0 I have declared some event arguments like this:     public class ModeStateChangedEventArgs : EventArgs     {             Gen.DataState myState;             public ModeStateChangedEventArgs() { } ...
Score When, why and where should a struct be used?
clintonG - 13 Apr 2006 3:55 AM - 47 messages
Documentation [1] tells me how but not when, why or where... <%= Clinton Gallagher [1] [link](VS.80).aspx ...
Score Basic Databinding Question C#
Ranginald - 13 Apr 2006 3:21 AM - 4 messages
Does the dataset object automatically handle the opening and closing of the database connection?  I see that I have to explicitly open and close a command object for a datareader and was wondering if the same thing applied to datsets. ...
Score BackGroundWorker
Jamie Bissett - 13 Apr 2006 3:09 AM - 12 messages
I have an application that creates a pretty intensive TreeView at startup time. I had the program running on a single thread sucessfully, but the startup time was a bit excessive. When the application starts up it is a requirement for the user to log on, so in my magical wisdom, I thought shove ...
Score Outlook Express in C#
Jason Huang - 13 Apr 2006 2:36 AM - 2 messages
Hi, In my C# Windows Form project, I would like to have a button which will initiate the client's Outlook Express. In the mean time, it needs to attach a particular document in the OE. Would some one give me some advice? ...
Score Restricting rows via rowfilter?
Brett Romero - 13 Apr 2006 12:03 AM - 3 messages
I have a CustomDataGrid that inherits DataGrid.  I use the filter below via a context menu, which works fine. ( ( DataTable ) this.DataSource ).DefaultView.RowFilter = filterexpress; The above gives me narrowed results via a right click on a grid cell. ...
Score DateTime formatting
John A Grandy - 12 Apr 2006 10:52 PM - 6 messages
How to format a DateTime to appear like this : Sat, 19 Feb 2005 00:00:00 GMT ...
Score C# Book
Scott M. - 12 Apr 2006 10:46 PM - 3 messages
I am looking for a good C# book that covers the language and syntax of C# (2003).  I do not need coverage of the .NET Framework and/or VS.NET (allthough, I realize there will be some of that in most books).  I am ...
Score DataGridView and Adding Entries
Ian Semmel - 12 Apr 2006 9:47 PM - 5 messages
I have a DataGridView bound to a DataTable which is keyed on an Identity. Now I want users to be able to fill in the table just by enetering data and tab between fields and across row boundaries. What I am having trouble with is deciding when to update the table and I keep on ...
Score Running servies
Yama - 12 Apr 2006 9:29 PM - 2 messages
How to have multiple services in a single assembly and execute them in different processes. Is it possible to host multiple services each in its own process and yet have them all defined in a single assembly? ...
Score HttpWebResponse and ServerProtocolViolation
Joe - 12 Apr 2006 8:56 PM - 2 messages
I'm creating an application that HTTP posts some form data, and is  supposed to read the response.  When I actually do this form posting from  a web page, I get the response exactly as I would expect.  However, when I  ...
Score Checkbox items under a RadioButton
Web learner - 12 Apr 2006 8:08 PM - 6 messages
I have to have three RadioButtons and then under one of this RadioButton, I need to put two checkboxes. Something like following: O Temperature     [] Air     [] Water O Radiaton O Wind Velocity The child CheckBoxes (Air and Water in above example) should become ...
Score FileSystemWatcher at 99% cpu
Frank - 12 Apr 2006 7:35 PM - 8 messages
Hi, I am using FileSystemWatcher to track the change in a text file. Whenever I run the program I get 99% CPU utilization. The code doesn't do anything just sits and waits in a while loop until the event is fired. Any ideas? Thanks ...
Score System.Diagnostics.Process.Start fails on windows server 2003
Daniel - 12 Apr 2006 7:33 PM - 3 messages
System.Diagnostics.Process.Start fails on windows server 2003 the process returns process.ExitCode == 0 but executing any process with System.Diagnostics.Process.Start  on windows xp works fine. anything to do different for windows server 2003? some special permission ...
Score DataBindings
Johnny - 12 Apr 2006 7:30 PM - 2 messages
I have a text box that I'm using to store the key to the underlying data table.  However, when I attempt to bind the text box to it's data source, I receive an argumentexception.  I have other data bindings that work perfectly ...
Score C# 2.0: How to read MIME files?
Maxwell2006 - 12 Apr 2006 7:03 PM - 2 messages
Hi, I need to read/extract the contents of MIME format files. Is there any feature in System.Net.Mime that can help me? The files that I am trying to work with are the saved web pages by IE6 (save ...
Score Reseting a flash object.
UJ - 12 Apr 2006 6:09 PM - 4 messages
I've got a flash object on a Window's form. At some point I want to change the flash file that is playing. But it doesn't seem to want to do it. I've done a stop on the control, changed the name of the movie file, set ...
Score Getting the Underlying Err Number from an Exception
Jon Turner - 12 Apr 2006 6:00 PM - 3 messages
How do you get an underlying Error number from an exception.  I want to test for error numbers instead of strings ? Many TIA's ...
Score VS2005 stepping through code is SOOOO slow
Steve - 12 Apr 2006 5:45 PM - 3 messages
Is anyone else experiencing this?  I'm seeing about a 1 second lag between lines as I step through the code.  This is happening on 2 machines (I've only tested two) I haven't tested it with many other applications, but the one I notice it ...
Score Is there a structure/class to store meta-info of a class so that I can generate code to a file?
A.Neves - 12 Apr 2006 5:24 PM - 2 messages
Hi, I'm trying to map the database tables to a set of classes in c#. I was thinking to create a class to store the data about my classes (properties/methods/etc...) by maby it is not necessary if C#/CLR has ...
Next »