473,543 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

2
1,129
thread by: DotNetNewbie | last post Apr 10 '08 by: Gilles Kohl [MVP]
Hi, is this the same thing? string regex = @"(?'tag'.*?)"; and string regex = @"(?<tag>.*?)";
9
1,359
thread by: Andy B | last post Apr 10 '08 by: Ben Voigt [C++ MVP]
I need to decide on how to store online signed contracts for customers and clients. I have considered a database in sql server 2005, but it seems to be too complicated. Besides, if the contract contents or layout for new contracts changes, I would have to change the whole database setup. Not to mention that there would be a lot of repeated...
2
1,283
thread by: Mufasa | last post Apr 10 '08 by: Marc Gravell
I am using the file upload control and want to limit the size of the file that is uploaded. But it appears as if it actually uploads the file and then does the check. Is that true? Ideally I'd like to have it give me the results back before it uploads the file so it doesn't need to waste all that time. TIA - Jeff.
4
1,635
thread by: parez | last post Apr 10 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi, When does the socket (server) know when to stop reading. e.g. if i have a buffer = 25K and do networkStream.write twice.. what will the server read? 25k or 50K?
1
1,244
thread by: Andy | last post Apr 10 '08 by: =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Time for XP Free? An Open Letter To Microsoft Corporation Since the advent of the PC, the price of all components has dropped substantially in real terms. The one exception to this rule is the operating system. To be fair to Microsoft, in terms of value for money, Vista offers a lot more features than DOS. Linux is an excellent...
6
4,720
thread by: stocki | last post Apr 10 '08 by: Marc Gravell
Hi, On my WinForm I have a DataGridView, which contains four columns and four rows. The last row contains only a sum of the values of the cells of the previous rows in column 3. The cells , , are empty ( ). ="Mr." ; ="Smith" ; ="David" ; =1000 ="Mrs."; ="Fog" ; ="Denise" ; =2000 ="Mr." ; ="Ranger"; ="Stuart" ; =3000
5
1,202
thread by: Martin Arvidsson, Visual Systems AB | last post Apr 10 '08 by: Marc Gravell
Hi! I am developing an application, and i suspect i am forgetting to close a connection. Is there a way to se how many connections that are active to the sql server? Studio 2008 and SQL Server 2005 Developer is used. Regards
0
1,363
thread by: =?Utf-8?B?Um9nw6lyaW8gRmVycmVpcmE=?= | last post Apr 10 '08 by: =?Utf-8?B?Um9nw6lyaW8gRmVycmVpcmE=?=
First of all, I'd like to say that it's not easy to figure out the behavior of ToolStripMenuItem Visible property. I have replaced my Windows Forms 1.1 MainMenus with the new MainMenuStrip when I've converted my application to .Net 2.0. Even after changing the Visible property usage to Activate I still have a layout problem. Just a...
2
9,633
thread by: =?Utf-8?B?U2FpbXZw?= | last post Apr 10 '08 by: =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=
Hi and Hello. Im new at .net framework. Now Im using C# . I have a little problem. How can I get a value of a text in the mdi parent form to child form. Example in VB6: form1.text1.text = MainForm.text1.text How to convert it to C#
0
1,078
thread by: Jason Huang | last post Apr 10 '08 by: Jason Huang
Hi, In my C# 1.1 Windows form project, I would like to export record to Excel 2000 spreadsheet Record.xls. I also need to do some data manipulation in the Record.xls. How do I call the VBScript in the C# program? Thanks for help. Jason
0
1,106
thread by: Piero | last post Apr 10 '08 by: Piero
Hi, i try to create a windows application with a textbox, button and datagrid. i will insert in a datagrid a textbox value by click a button. i create a datatable and connect it to a datagrid but i don'y now istruction to insert textbox value in a datatable... help!
0
907
thread by: Ian Semmel | last post Apr 10 '08 by: Ian Semmel
Not sure if this is the right newsgroup but .. I have a DataSet and write the tables to xml files. Now some of these tables have an Autoinc field as PK, but due to deletions etc, they do not start at 1 and there are gaps. When I read these files into an empty dataset, the rows are marked as 'Added' and when I update the ds, the id's...
1
1,290
thread by: Cdude | last post Apr 10 '08 by: Marc Gravell
SqlCommand findProducts = new SqlCommand("SELECT PRODUCT_TYPE_ID FROM PRODUCT_TYPE WHERE = 'Meals'", sqlConnection1); This command returns a value of 17. How can i insert this value into a string variable? Please help . I tried this but it wouldnt work SqlDataReader myReader = findProducts.ExecuteReader(); while (myReader.Read()) {...
2
1,895
thread by: Afshar | last post Apr 10 '08 by: Afshar
Hi there I'm sending email via a server that uses SSL. The server has Certification problems. Whenever I send email I got following exception: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. How can I tell .NET to not check certfication and so get rid of...
1
1,288
thread by: Andy B | last post Apr 10 '08 by: Marc Gravell
How do you add code to the code snippit library in visual studio 2008? I was never able to figure it out.
0
956
thread by: DR | last post Apr 10 '08 by: DR
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! If I run PerformanceCounterCategory.Create() on my development machine it only takes a few seconds. But on remotely monitored machines it takes 3 minutes! Is this because the other machines are remotely monitored? Something else? What all can make...
1
1,686
thread by: Jon Slaughter | last post Apr 10 '08 by: Jon Slaughter
Type asdf = Type.GetType(t.GetType().FullName); How come something like that returns a null type when t is a generic type? It works fine for non-generic types.
4
2,817
thread by: Bill Fuller | last post Apr 9 '08 by: Bill Fuller
I've done this before, but no longer have the code and can't remember how. Does anyone have an example on how to globally monitor keyboard events for an application and modify them to treat, for example, an "ENTER" event as a "Tab" event... or something similar.
0
1,103
thread by: Sergio Veskovic | last post Apr 9 '08 by: Sergio Veskovic
I need to use SetDataBinding method,and that is available in dataGrid and not DatagridView control. However I don't see dataGrid in my toolbox so I can't drag it and drop it on my form. Please help; Sergio
3
3,627
thread by: Jon Slaughter | last post Apr 9 '08 by: Jon Slaughter
When I create a LinkedList<what is a LinkedListNode compared to a value? AddFirst(54) for example, does it turn 54 into a node or what? I'm trying ot find out what the LinkedListNode is specifically for? Basically just a wrapper around the reference type?
2
6,486
thread by: Andy B | last post Apr 9 '08 by: Rene
Is there any way to make WPF web applications that run on a web server? I'm thinking that the WPF application would run on the web server like an asp.net web application would. Any ideas? I use VS2008 Team Suite.
1
1,929
thread by: =?Utf-8?B?VmFuZXNzYQ==?= | last post Apr 9 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi all! I have 4 pages in a TabControl. Depending on a selection on the first page, I enable the second page and disable the third one, and vice-versa. What I want is that when the user try to select the disabled page I select the following one. For example, if the second page is disabled, if he select this one, I want to select the third...
1
2,774
thread by: jimmysjams | last post Apr 9 '08 by: =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
I'm modifying someone else's code and I have hit a snag. I don't want to rewrite what's already there but I might have to. I have a gridview, in the gridview is a set number of columns that will always be there. On the end of the gridview I need to add columns dynamically. These columns may or may not exist and I don't know how many...
0
1,003
thread by: DR | last post Apr 9 '08 by: DR
System.Collections.Generic.List<intmyList = new System.Collections.Generic.List<int>(100); Does this preallocate 100 integers? Also, is there any way to preallocate an array of objects all at once? MyOb al= new MyOb; for (int z = 0; z < nCount; z++)
0
1,300
thread by: viepia | last post Apr 9 '08 by: viepia
Hi, http://msdn2.microsoft.com/en-us/library/aa379620(VS.85).aspx shows using SetNamedSecurityInfo in "Taking Oject Ownership in C++'". Is there a C# example for this? Thanks, Viepia

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.