| Thread | Last Post | Replies |
|
| Struct of Class | 22 Nov 2005 20:11 GMT | 2 |
Is there any benefit in terms of performance to using a Struct over a class to store objects? Regards Simon.
|
| autosize an image for a pictureBox's size | 22 Nov 2005 20:00 GMT | 1 |
I'm using visual C# 2005 Express Edition and I would like to open the image in the picture box, without make the picture box larger. For the moment, the code is: private void button1_Click(object sender, EventArgs e)
|
| on button click form moves to the top | 22 Nov 2005 19:32 GMT | 3 |
When I click a button or dropdown box at the bottom of the web form the focus shifts to the top of the form. What can I do to make it stay where it is at? Thanks
|
| allowing exclusive access to a file on the network | 22 Nov 2005 19:18 GMT | 1 |
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
|
| FileInfo doesn't expose FileType | 22 Nov 2005 19:01 GMT | 7 |
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.
|
| Where to hide the encryption key | 22 Nov 2005 18:42 GMT | 4 |
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 ...
|
| Regex | 22 Nov 2005 18:16 GMT | 1 |
Im trying to retrieve a text between the <body> and </body> tags in an HTML file using this code: public string ReadContentsFromPage(string sb) {
|
| Using Generic Classes as Type Parameters | 22 Nov 2005 17:59 GMT | 3 |
class A<Ta> { public A() { } }
|
| XML Tutorial | 22 Nov 2005 17:45 GMT | 2 |
anyone haves a good tutorial for XML with asp.net? thanks
|
| eventhandler | 22 Nov 2005 17:29 GMT | 4 |
might be a stupid question but can i set an eventhandler for a variable? regards Maarten
|
| Accessing com classes from c# | 22 Nov 2005 17:18 GMT | 1 |
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
|
| RichTextBox select text... Need top level select, not internal slc | 22 Nov 2005 17:15 GMT | 2 |
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
|
| Asynchronous Pluggable Protocols and embedded ActiveX controls (e.g. PDF) | 22 Nov 2005 16:58 GMT | 20 |
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
|
| XML Problem writing \r\n | 22 Nov 2005 16:48 GMT | 1 |
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
|
| How to call aspx page from C# | 22 Nov 2005 16:20 GMT | 1 |
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.
|