473,815 Members | 1,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
991
thread by: Dom | last post Mar 19 '08 by: Dom
I need to capture an event from the text box that is used to edit a cell in the DataGridView. So I did the following: EditingControlShowing (sender, e) { TextBox t = (TextBox) e.Control; t.KeyPress += new KeyPressEventHandler (...) } Guess what? The KeyPress handler is triggered multiple times, and it
1
2,848
thread by: Aamir Mahmood | last post Mar 19 '08 by: Cowboy \(Gregory A. Beamer\)
Hi, Is is safe to use Thread.GetNamedDataSlot function inside a ASP.Net application? I am afraid if IIS manipulates the threads and my DataSlot is lost in that. Thanks. AM.
1
6,072
thread by: =?Utf-8?B?Sm9obiBHcmF2ZXM=?= | last post Mar 19 '08 by: Peter Duniho
Does any one know how to caputer text data sent to a printer to a file. I have seen a window service that captures text data sent to a printer on the server and save it to a file. I would like to know how to do this. I have many reports that are produced on an IBM mainframe as text that I would like to send to a Windows' sever as printer...
3
23,163
thread by: Diego Armando Maradona | last post Mar 19 '08 by: RobinS
My application is being installed via clickonce in our network, some clients can install but some are catching below error, This application cannot be installed or run, This application needs ADODB version 7.0.3300.0 compilation installed in GAC. ( The real error text is not in english, so I convert but might not be the same :) ) ...
2
4,642
thread by: Andrew Jocelyn | last post Mar 19 '08 by: Andrew Jocelyn
Hi I have a LINQ query var query = from t in TypedDataTable select t query contains Typed DataRows but I don't seem to be able to cast the returned DataTable from the DataTableExtensions.CopyToDataTable:
1
10,131
thread by: =?Utf-8?B?S29zbW8=?= | last post Mar 19 '08 by: =?Utf-8?B?UGV0ZXIgUml0Y2hpZSBbQyMgTVZQXQ==?=
Hi, When the remoting server is not available (it is unreachanble/ closed/ non-existent), making a call on the remoted object takes 45 seconds, and this timeout value cannot be changed. MSDN says this problem is fixed by setting the channel timeout property, but this doesn't work. ...
2
15,761
thread by: =?Utf-8?B?ZmFpcnl2b2ljZQ==?= | last post Mar 19 '08 by: =?Utf-8?B?UGV0ZXIgUml0Y2hpZSBbQyMgTVZQXQ==?=
hi, i just want to know when i new a Uri instance using the UriKind.Relative para in construtor, where is the root path, for example, a local file Uri u=new Uri("a.txt",UriKind.Relative); then where is it? I thought it would be in the "object\debug" directory where the exe file exists but nope Can anyone tell me? I just want to get some local...
1
2,546
thread by: almurph | last post Mar 19 '08 by: sloan
Hi, I have a list object called "myList" with the first item a string and the second a DateTime. Something like this: "some text 1", 19/03/2008 12:56:36 "some text 2", 19/03/2008 10:56:36 "some text 3", 19/03/2008 11:56:36 "some text 4", 19/03/2008 13:56:36
2
4,681
thread by: Gaz | last post Mar 19 '08 by: Gaz
Im trying to use c# and linq to simplfy searching through a listview but cannot get it to work can anyone help? here is what i got so far which doesnt work. var qry = from L in listviewname.items.all
0
1,112
thread by: Sagaert Johan | last post Mar 19 '08 by: Sagaert Johan
Hi Is there a way to use the FolderBrowserDialog for browsing to a directory of the Mobile Device special folder I want to store a file directly on my device. Thanks Johan
1
1,191
thread by: Joe | last post Mar 19 '08 by: Jialiang Ge [MSFT]
Hello, I have to create an interface to allow another application to communicate with ours. I'm thinking of adding a COM interface into our exe to allow this but I'm not sure this is the best way to go. The other application needs to be able to launch ours, send it some data and call some configuration methods. Any suggestions?
6
8,454
thread by: =?Utf-8?B?TU1TSkVE?= | last post Mar 19 '08 by: =?Utf-8?B?TU1TSkVE?=
How to let user delete multi rows from the BindingSource while the SelectionMode Property set to RowHeaderSelect I have in my program datagridview bound it to sql table Throw Bindingsource To fill it: MyTableTableAdaptor.fill(MyDataset.Mytable);
0
938
thread by: Dutt | last post Mar 19 '08 by: Dutt
Here you may have a look at new features of IIS 7.0 http://msdotnetsupport.blogspot.com/2008/03/iis-70-new-features.html
0
1,043
thread by: RobinS | last post Mar 19 '08 by: RobinS
I have sent a message to the apache listserver, but thought I would ask here, too, just in case anyone has seen this problem. I am using log4net to do logging in my .Net 2.0 application. I am using the most current version. It's been working great (AFAIK), but today a couple of the QA people noticed that at some point while running our...
0
1,738
thread by: Karch | last post Mar 18 '08 by: Karch
I have these two methods that are chewing up a ton of CPU time in my application. Does anyone have any suggestions on how to optimize them or rewrite them without Regex? The most time-consuming operation by a long-shot is the regex.Replace. Basically the only purpose of it is to remove spaces between opening/closing tags and the element name....
2
1,024
thread by: =?iso-8859-1?Q?H=E5vard_Olerud_Eriksen?= | last post Mar 18 '08 by: =?iso-8859-1?Q?H=E5vard_Olerud_Eriksen?=
I've got a WinForm MDI application. A little while ago (probably after I made some changes) my Load method for the form stopped being executed. I had some initialization done there and I suddenly noticed that this wasn't done anymore. I haven't been able to get it to work again and have had to move my code to OnShown instead. Does anyone have...
3
1,331
thread by: gnewsgroup | last post Mar 18 '08 by: Michael A. Covington
I want to get my hands dirty with Linq, so I watched a few videos from www.asp.net, and then turned to http://msdn2.microsoft.com/en-us/library/bb397687.aspx for some introduction about the new lamda feature of C#. In the article linked above, there is an example reproduced here: int numbers = {5,4,1,3,9,8,6,7,2,0 };
0
1,192
thread by: asharda | last post Mar 18 '08 by: asharda
Hello, I have written a sample async code (using callback/async). I am now seeing a situation where-in if two messages are received at the same-time, both of them show-up in the data-buffer. Given that i am new to this, can you point to resources or suggest ways to handle this scenario? (the program runs indefinitely, handling messages...
0
1,106
thread by: Jon | last post Mar 18 '08 by: Jon
Hi, "THREAD_UI" = thread under which the UI controls were created. "THREAD_XX" = another thread. "FUNC_UI" = function that needs to run on THREAD_UI. From THREAD_XX I need to start the execution of FUNC_UI, that needs to run on THREAD_UI. Inside FUNC_UI, I will modify many controls present on the form. Since I don't want to use...
4
3,046
thread by: Academia | last post Mar 18 '08 by: Peter Duniho
I get the following watch message: tsSource.Text.ToUpper() This expression causes side effects and will not be evaluated string The Text is &Edit
4
3,945
thread by: Steve | last post Mar 18 '08 by: Cor Ligthert[MVP]
When you pull up a second form in your program, how do you get the values from the form? Form2 dataForm = new Form2(); dataForm.ShowDialog(); if (dataForm.DialogResult == DialogResult.OK) { // I want to get the textBox1 data from the form }
1
1,954
thread by: Chris Bordeman | last post Mar 18 '08 by: Chris Bordeman
Hi all. I need to generically detect changes in any object from one point to the next. I can't modify the objects, nor can I use traditional serialization because the attributes aren't present and would be too slow anyway. My current approach is to recursively traverse a given object using Reflection, storing hash values for strings and...
0
1,014
thread by: =?Utf-8?B?Wm9uZ3dlbg==?= | last post Mar 18 '08 by: =?Utf-8?B?Wm9uZ3dlbg==?=
In my Winform I have one ToolStripButton on the toolstrip and one textbox in the content panel. The textbox has focus in the winfrom. When I click on one toolstrip button, i want to do some validation on the Leave event of the textbox. The problem is that event I click the toolstrip button, the focus won't change and the Leave event of the...
2
12,344
thread by: zacks | last post Mar 18 '08 by: zacks
Is there an equivalent in C#.NET for the VB.NET FreeFile() function?
1
1,187
thread by: davidboon28 | last post Mar 18 '08 by: Tom Dacon
http://comp-languages.blogspot.com http://computer-language-tutorials.blogspot.com

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.