Forum: VB.NET Jun 27th, 2008 |
| Replies: 1 Views: 612 Hi guys,
I am using VB 2008 Express. I have created a form which has traditional "OK" and "Cancel" buttons on it. After I execute the program I point the mouse over the OK button or Cancel button... |
Forum: VB.NET Mar 4th, 2008 |
| Replies: 4 Views: 1,523 snglRead1(m) is an array and it is in a for next loop so that it compares array index with the cell value then assignes it to some constant value... There is no reading on the code that I posted. |
Forum: VB.NET Mar 3rd, 2008 |
| Replies: 4 Views: 1,523 fLen1 is the length of the file that has been read. The file has floating point values between -1.0 and +1.0 |
Forum: VB.NET Mar 3rd, 2008 |
| Replies: 4 Views: 1,523 Hi Everybody,
I am trying to compare single precision floating point values in VB .NET. The code runs ok but the results look not right. Results also contain -Inf values. I see that this is not the... |
Forum: VB.NET Mar 3rd, 2008 |
| Replies: 3 Views: 768 Thank you Manal for your reply. As you suggested, I divided f1.Length by 4 and it worked. I appreciate it... |
Forum: VB.NET Mar 1st, 2008 |
| Replies: 3 Views: 768 You VB .NET developers out there,
I have posted 3 threads requesting help on reading floating point values from a binary file but did not get any reply at all. Is it because I am asking a stupid... |
Forum: VB.NET Feb 29th, 2008 |
| Replies: 0 Views: 2,184 Please someone help me with this code. I keep getting an exception saying Unable to read beyond the end of the stream. What I am trying to do is reading a binary file that has a single data type and... |
Forum: VB.NET Feb 29th, 2008 |
| Replies: 0 Views: 528 Hi all,
My program reads a binary file (data type is single) and writes that binary file but the file size of the outputted binary file is exactly 4 times larger than the inputted binary file. I... |
Forum: VB.NET Feb 28th, 2008 |
| Replies: 0 Views: 1,005 Hi all,
I did manage reading from a binary file that holds byte values in it by using binary reader but keep getting an exception (EndOfStreamException) when I try to read another binary file which... |
Forum: VB.NET Dec 9th, 2007 |
| Replies: 0 Views: 1,724 Hi, I've been working on a program that reads two binary files, then each value of file1 is divided by each value of file2. My binary files are 8-bit grayscale image files that is each pixel has a... |
Forum: VB.NET Dec 8th, 2007 |
| Replies: 13 Views: 5,794 Hi emurf. I tried your suggestion but I keep getting EndOfStreamException which is unable to read beyond the end of the stream. My inputfile has 112 rows, 112 columns that's 12544 elements or pixels.... |
Forum: VB.NET Dec 7th, 2007 |
| Replies: 13 Views: 5,794 Thanks emurf for your quick reply. When I run the code you posted, I get an exception saying "Unable to read beyond the end of the stream." This is EndOfStreamException. Where do you think I am... |
Forum: VB.NET Dec 7th, 2007 |
| Replies: 1 Views: 4,615 How could we implement the code if I want to read a grayscale image file into two dimensional byte array? Since we don't always know the number of rows and columns binary file has beforehand, how can... |
Forum: VB.NET Dec 6th, 2007 |
| Replies: 13 Views: 5,794 Hi emurf. My input files are single-band satellite images where each pixel has a value of between 0 and 255. As you know I use binaryreader and binarywriter objects to read and write to a file. Up tu... |
Forum: VB.NET Dec 6th, 2007 |
| Replies: 13 Views: 5,794 |
Forum: VB.NET Dec 5th, 2007 |
| Replies: 13 Views: 5,794 Hi guys
In a standart save file dialog, if the filename exists during a saving process, I select overwrite button but it throws filealreadyexists exception and program dies. How could I make that... |
Forum: VB.NET Dec 4th, 2007 |
| Replies: 13 Views: 5,794 Thanks a lot for the code emurf. |
Forum: VB.NET Dec 4th, 2007 |
| Replies: 13 Views: 5,794 Thanks emurf for the code you posted. I have another question. If the user clicks OK button first instead of loading input files, I get an error filenotfoundexception error. I am trying to add a... |
Forum: VB.NET Dec 2nd, 2007 |
| Replies: 13 Views: 5,794 Hi all,
I am trying to make a program in VB .NET that has two "browse" bottons, two textboxes which should show the full path of the files to be selected, one "Save As" button, one textbox that... |