473,544 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
243
thread by: Ann Huxtable | last post Nov 23 '05 by: Robbe Morris [C# MVP]
I am writing an application which consists of a toolbar and a "monitor" window. I want the monitor window to be able to show process information from different running processes (each in its own tab). When I get to the section of the code where I am setting the MDIParent property, the application just hangs: fDocument.MdiParent = this ; ...
1
228
thread by: Rodrigo Ferreira | last post Nov 23 '05 by: matthew_harper
Hello, In my project i have a datagrid with 3 columns: ID C1 C2 1 Image true 2 Sound true In C2 i have a CheckBox.
9
2,217
thread by: Gustaf | last post Nov 23 '05 by: Gustaf
I'm confused about structured error handling. The following piece of code is a simplification of a class library I'm working on. It works, and it does what I want, but I'm still not convinced that I have been doing it right. I think I overdo it. Please have a look: -- using System; using System.IO;
3
5,229
thread by: bonokoot | last post Nov 23 '05 by: bonokoot
Hello, I'm a beginner programmer working for a small company and I've been assigned to create a windows service in C# that will access a SQL Server database run a stored procedure and send the results of that stored procedure in an email every hour. I've searched through google, msdn site, and experts exchange and having problems finding...
1
1,239
thread by: Gidi | last post Nov 23 '05 by: Ignacio Machin \( .NET/ C# MVP \)
Hi, I have dataGrid which at first it's empty. i have another dataGrid which contains checkbox column, what i want to do is, that everytime a checkbox is checked, my dataGrid will be filled with data. So my question is, Is it possiable to add a data to dataSet without erasing the data that exists already? I take the data from my...
3
7,300
thread by: Terry | last post Nov 23 '05 by: Terry
In the code below, I open a file using filestream, copy it to a byte array, and the write that array out to a new file. But when I check the size of the original file and the new file, the new file has one less byte than the original file (although the file itself still works fine). I was hoping someone could explain what is going on (why is...
0
903
thread by: Alexander Bolotnov | last post Nov 23 '05 by: Alexander Bolotnov
Hi guys, I discovered great reports functionality in new VS 2005 where you can specify a class to be report's datasource. I must admit it's a great job and works totally cool. However, I have a question about data types that reports can handle. Basically, my problem is that I can't get a HashTable to how on my report.
0
897
thread by: Mark | last post Nov 23 '05 by: Mark
Are there newsgroups available for VSTS Testing Edition and/or Team Foundation Server? I found MSDN forums, but was hoping to find an Outlook Express friendly group at news.microsoft.com or similar. Thanks in advance. Mark
2
1,500
thread by: Turxoft | last post Nov 23 '05 by: Ignacio Machin \( .NET/ C# MVP \)
I have a tabcontrol in my form. I want to hide the tabpages. I want the user cant change the tabpages and do it by code.how can I?
0
1,655
thread by: Eric | last post Nov 23 '05 by: Eric
I have a TableLayout that I'm having problems with. I am placing controls in it that have scroll bars. When I put enough of them on the control to make the TableLayout's scroll bars appear the scroll bars for the TableLayout cover up my scroll bars for the child controls. When I resize the form it fixes and the child controls are in the...
1
1,602
thread by: sudeeprgaitonde | last post Nov 23 '05 by: Nicholas Paldino [.NET/C# MVP]
Hello, I am forming a aspx url with query string parameters as variables. sUrl = "http://abcd.com/getresults.aspx?zipcode=" + zipcode + "&areaCode=" + areacode + "&Landmark=" + landmark; When this url formed is run in IE, it returns an xml in the browser. Now I want to duplicate this functionality in my code (like invoking this url...
1
3,889
thread by: Tomas Vera | last post Nov 23 '05 by: Tomas Vera
Hello All, I'm having trouble writing some special characters to an XML file. I need to output a XMLSS formatted file to be read by Excel. In some cells there will be some text that contains CR-LF pairs such as "this is a long entry\r\nThis is the secondline". I'm building an XML document to represent my Excel data. This is
0
794
thread by: Alexander Bolotnov | last post Nov 23 '05 by: Alexander Bolotnov
Dear readers of this group, my last post on reporting will probably not be answered. So, I will re-ask the question, in case this helps to understand the question: the .rdls report templates, when a Class is used as its datasource - what sort of data types can it handle? In other words - strings work great, ints etc...
20
4,581
thread by: igarrison | last post Nov 23 '05 by: Igor Tandetnik
I have an APP that reads from a file on disk and decrypts the raw data into the memory stream that then gets passed to the client. This works great for any text or image files, but I can't seem to get it working at all for PDF files. I checked the stream, and the decrypted data is written properly to the MemoryStream (I can dump the memory...
2
2,207
thread by: RobKinney1 | last post Nov 23 '05 by: RobKinney1
Hello and thank you for reading this post. I have a RichTextBox. I need to select text inside for a search feature. Easy enough... right? Well apparently from the .NET help and everything from the net, there is nothing describing how to do a top level select that I can find (ie like how to select or highlight programitcally like a user...
0
902
thread by: Italian Pete | last post Nov 23 '05 by: Italian Pete
Hi, I'm tring to get hold of the text property of a cell in a datagrid: dg. I'm using dg.Items.Cells.Text but it is giving me nothing back. It works for a BoundColumn but not for a HyperLinkColumn. What do I have to do to get this property? many thanks,
1
1,439
thread by: Stephan Zaubzer | last post Nov 23 '05 by: Nicholas Paldino [.NET/C# MVP]
Hi I relatively new to C# and at the moment I am having troubles accessing com objects within C#. I am working in VS.net. I add the com library I want to access to my references. Accessing classes exported in this com interfaces will throw a System.Security.SecurityException. (System.Security.Permissions.SecurityPermission) Status of failed...
4
1,111
thread by: Maarten | last post Nov 23 '05 by: Peter Bromberg [C# MVP]
might be a stupid question but can i set an eventhandler for a variable? regards Maarten
2
1,089
thread by: aguiar | last post Nov 23 '05 by: clintonG
Hi all, anyone haves a good tutorial for XML with asp.net? thanks
3
2,226
thread by: Levi | last post Nov 23 '05 by: James Curran
class A<Ta> { public A() { } } class B<TA, Ta> where TA : A<Ta> { public B() { } }
1
256
thread by: Maya | last post Nov 23 '05 by: James Curran
Hello, Im trying to retrieve a text between the <body> and </body> tags in an HTML file using this code: public string ReadContentsFromPage(string sb) { Regex S = new Regex(@"<BODY>(.*)</BODY>", RegexOptions.Multiline | RegexOptions.IgnoreCase | RegexOptions.Compiled);
4
7,962
thread by: Mark R. Dawson | last post Nov 23 '05 by: Adam Clauss
Hi all, I have a configuration file that is storing sensative data, like db passwords etc. I want to encrypt the file so that people can not see the contents. What are the standard practices for storing the encryption key. I definitely don't want to hard code it in my code otherwise someone looking at the IL can easily see the key. ...
7
8,338
thread by: kids_pro | last post Nov 23 '05 by: James Curran
I found FileInfo expose alot of methods & properties. However I can't get FileType from FileInfo I can only get File extension. How can I get fileType any build-in library allow me to do that? If not please advice on what is the best way to get file type. Many thanks, kids
1
1,609
thread by: David C | last post Nov 23 '05 by: michaelmoser01
I have a desktop application which uses AxPdf to view PDF file. axPdf.LoadFile("myFile.PDF"); Without going into much detail, I need to make sure that only one person has a given file in the PDF viewer. So before calling LoadFile, I need to make sure that nobody else is reading the file. Played around FileSystemInfo to see if there is...
0
1,672
thread by: Eric | last post Nov 23 '05 by: Eric
Is there a way to turn off horizontal scrolling while leaving vertical scrolling for a TableLayoutPanel.

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.