September 10th, 2012, 05:10 PM
The problem was that in the designer window, when I previously set the Sort property of the BindingSource to some value, and then later I deleted it, the designer was initializing it's value to an...
September 10th, 2012, 03:46 PM
Hi all,
I need help with this code:
DataAdapter1.Fill(DataSet1);
DataSet1.Tables[0].DefaultView.Sort = "sortcolumn";
BindingSource1.DataSource = DataSet1.Tables[0].DefaultView;
After...
March 27th, 2011, 08:07 AM
Here is a sample app:
using System;
using System.IO;
using System.Collections.Generic;
namespace DirectoryList
March 26th, 2011, 06:54 PM
Yes, but it's much slower, especially if I use FileInfo.Length.
March 25th, 2011, 08:58 AM
The problem is solved by adding:
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
before
struct WIN32_FIND_DATA
Thanks
March 25th, 2011, 07:27 AM
Hi all,
I'm trying to get the list of files in a directory using WINAPI functions FindFirstFile and FindNextFile.
The problem is that WIN32_FIND_DATA.cFileName returns only the first character of...