CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of wwDotNetBridge
Lparameters tcFolderPath, tlOpenInExplorer
 
If Empty(tcFolderPath)
 tcFolderPath = Alltrim(this.GetFolderName())
EndIf
 
*-- Create a West Wind wwDotNetBridge object and call a .Net class to create the directory
*-- Use this rather than the Vfp "MD" command to preserver the case of the folder path names
loBridge = CreateObject('wwDotNetBridge')
loBridge.InvokeStaticMethod('System.IO.Directory', 'CreateDirectory', tcFolderPath )
by Matt Slay   February 19, 2010 @ 2:28pm
316 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate