| Thread | Last Post | Replies |
|
| DllImport not found problem | 05 Oct 2007 17:37 GMT | 10 |
I am facing a strange problem ... a collegue of mine made two projects. The first one is an unmanaged C++ dll , and the other is a C# managed project that uses the previous dll. Both of them are working on his machine, but not in mine. When I run the C# project, I
|
| Map a network share with WNetAddConnection3 | 05 Oct 2007 17:12 GMT | 7 |
I'm having troubles creating network drives programmatically. I need to map drive "O:" (which is not in use on my system) to a network share from a C# application. I'm using the following code:
|
| Ongoing file read | 05 Oct 2007 16:54 GMT | 2 |
I'm wondering if C#/.Net would have provisions for the followng. I have an outside application that generates a text file ongoing. I'd like to be able to open the file and read it into a stream that updates/appends whenever something is added to the end of the file.
|
| Get Line Count from a File | 05 Oct 2007 16:47 GMT | 2 |
I'm hoping there's a quick and easy to accomplish this: I've got a CSV file (each row represents a record, and is followed by a NewLine). Is there any way (short of counting the NewLine's) to get a Line Count of
|
| how do i convert a byte[2] with format big endian signed int to a integer value? | 05 Oct 2007 16:46 GMT | 6 |
Introduction: I'm currently working on retrieving altitude values from a a file(srtm). This file contains a array of byte values and depending of the position i want to know, i have to read to byte's to know what the
|
| fast copy from double[] to double[,] | 05 Oct 2007 16:02 GMT | 2 |
I use a simple double[] array plus a variable to store the row size to represent two dimensional data. I need to quickly copy this data to a two dimensional array: double[,]. Currently I iterate through the double[], one by one and place it into
|
| problem writing xml | 05 Oct 2007 15:41 GMT | 3 |
I need to write xml file ( using c#) with some elements inside that actually contains html code, like this: 'Moscow <p></p><a href="www.google.com"><img src="gallery/t20.jpg" border="0" /><br /> Red Sqare </
|
| Writing bitmap properties? | 05 Oct 2007 15:36 GMT | 5 |
I'm opening a JPG file to read and write its EXIF properties. I'm using very simple code to open the file: myBitmap = new Bitmap(filePath); Reading and writing the properties is working fine, but when I go to save
|
| Unable to cast MSMQ body to an object | 05 Oct 2007 15:16 GMT | 9 |
I built an assembly with a class, NodeBuildCommand, in the namespace "Tendril". I use that assembly on one computer to send a NodeBuildCommand object in the body of a System.Messaging.Message. This works without error. On the receiving computer I use the same
|
| Writing controls | 05 Oct 2007 14:35 GMT | 4 |
Hi, Im new at user control writing in dotnet. I've written a simple gradient painted panel control based on the UserControl class. It works reasonably, but the properties arent being persisted. Also I want
|
| writing a multimedia application | 05 Oct 2007 13:39 GMT | 1 |
I need to write a C# multimedia application, and I am not sure which tools I need. I have the C# compiler. The application is to write audio files to attached MP3 players, through MTP. Is there a development kit, a product, that will make my job a little easy? I searched ...
|
| Dock a page from a chm helpfile | 05 Oct 2007 13:38 GMT | 1 |
I want to show a page from a chm helpfile in a memo component on a form, or in some other way dock a page from a helpfile on a winform. Is there a simple way to do this? Torben
|
| SQLParameter Question. | 05 Oct 2007 13:12 GMT | 3 |
There are sever overloads and ways of adding to the SqlCommand's Parameters collection. They all specify the parameters name. But some also supply a SqlDbType and a length. Does anyone know the pros/cons of supplying or not supplying this info?
|
| ComboBox OnPropertyChanged problem | 05 Oct 2007 10:22 GMT | 3 |
I try to learn programming in c# with databinding controls. Now I have a problem with a ComboBox with the advanced properties for databinding, I want to set the DataSourceUpdateMode to OnPropertyChanged, but then the combobox does not display the right displaymember.
|
| Limit on SQLDataReader w/ Blobs | 05 Oct 2007 09:57 GMT | 7 |
I use a filtered SELECT to populate the SQLDataReader (rdr) with a filename and a blob (pdf). I then use File.WriteAllBytes to write each pdf to disk. ----------------------------------------
|