
Customizing OpenFileDialog in .NET- CodeProject
2006年11月14日 · I created my main form, and I thought where do I need to start . Then, I decided to create a menu with the Open functionality. I thought the Open feature should have …
A FileDialog.Filter generator for all supported images - CodeProject
2011年9月18日 · Recently, I had to write a quick app to load images into a database, and wanted to restrict the file type to just images. You can do this with the OpenFileDialog.Filter property, …
Back to Basics – Reading a File into Memory Stream - CodeProject
2011年3月3日 · In the code sample, msg is an instance of a MailMessage class, memStream is the MemoryStream (such as the memory stream from the previous code sample) and filename …
An app to see who has files open on a network server - CodeProject
2005年6月29日 · The Windows service is logged in as a domain user that has been added to the Power Users group of the network server you want to see the open files on. The Windows …
DataSet to Excel File Conversion using ExcelLibrary - CodeProject
2012年1月15日 · ExcelLibrary supports Microsoft Excel 97-2003 workbook file format. In other words, it is using BIFF8 file format. ExcelLibrary also has one well known bug. When …
FileTime: Getting and setting the file time in .NET - CodeProject
2005年8月3日 · The File and Directory objects provide a powerful set of methods, these include: File - provides methods to: Check whether a file exists. Create, copy, move and delete a file. …
Play and Visualize WAV Files using Managed Direct Sound with …
2007年12月21日 · “Circular Buffers” is an application developed in VB.NET (VS 2003). ‘Constructor to open stream Sub New (ByVal SoundFilePathName As String) mWAVFileName …
Play Waves in VB.NET - CodeProject
2005年2月16日 · End Class ' Using the code: Private Sub btnFile_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnFile.Click ' File Located in …
Create and download a text file from a web page - CodeProject
2007年2月12日 · This article will illustrate how to create and download a text file to the user's computer. Using the code Although in the example I actually create the text file before I stream …
INI Reader / Writer Class for C#, VB.NET, and VBScript - CodeProject
2010年11月15日 · VB.NET - InifileVb.vb; VBScript - IniFile.vbs; Efficiency. During testing on Windows7 running on a Lenovo T60 w\2GB RAM, IniFile could generate an ini file holding …