- Category:
- Dialog_Window
- Tags:
-
- File Size:
- 6kb
- Update:
- 2012-11-26
- Downloads:
- 1 Times
- Uploaded by:
- gisnt
Description: VB to increase the support of the dialog box, such as file open, save, print, color selection, font selection, etc., do not need to file box control in VB, direct API implementation, very streamlined. Call convenient to select the music file is as follows: the Private Sub cmdSelectMusic_Click () Dim cDialog As New CCommonDialogs Dim picFile As String, Filter As String ' cDialog.FileExtension = " *. Bmp the* jpg Filter =" Wave files (*. Wav ) " + Chr $ (0)+" *. wav " + Chr $ (0) picFile = cDialog.ShowOpen1 (Me.hwnd, Filter," Select Music File " ," *. wav " ) If picFile < > " " Then txtRestPlayMusic = picFile End If End Sub
To Search:
File list (Check if you may need any files):
cDialogs.cls