0

Hello everyone, can some one help me with the code to create a folder by code in vb6,I am greatefull for Qvee72.
The scenario I have is that I have an application that allows users to login but waht I need specific is to create users forlder during registration so when logged on can only access the pre created folder by his/her name,
The MkDir code limits me with the location I need the folder to be created when I provide the path ie,C:\Documents and Settings\MyName\Desktop when I move to another location or machine an erro.
Can I get another way please,thanks

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by ChrisPadgham
0

try something like

Set fso = CreateObject("Scripting.FileSystemObject")
path = "C:\folder1"
fso.createFolder path
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.