Hi Everyone, Could you guys show me how to create a folder on my C:\ ?
VB Code: MkDir "C:\TheFolderName"
MkDir "C:\TheFolderName"
You can use MkDir (sample below) or FSO (file system object) or Windows API: VB Code: If Dir("c:\MyFolder\") = "" Then MkDir "c:\MyFolder\" End If
If Dir("c:\MyFolder\") = "" Then MkDir "c:\MyFolder\" End If
Microsoft MVP - Visual Basic 2006-2013 Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database . Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent . The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array Visual Basic 6.0 On-Line Documentation . Connection Strings
Forum Rules