Thanks so much!! The problem was that the system did not even have the scrrun.dll. I had to copy it from another machine and manually register it into the Windows Registry! But now my original code works just fine. Thanks again for your help :-D
Well I tried that change and I still get the error "Active X can't create object". Then I tried your previous code and got the following:
Compile Error:
User-defined type not defined
It doesn't seem to like " Dim FSO As Scripting.FileSystemObject"
Do I need an additional...
Thanks for your help! The problem is that MkDir only creates a directory that you hardcode in. It will not create a directory from a user input.
The other problem is that I have used the following code to make the directory I want, but it only works on Win 98 NOT Win NT. I am using Access 97...
Thanks for your help! The problem is that MkDir only creates a directory that you hardcode in. It will not create a directory from a user input.
The other problem is that I have used the following code to make the directory I want, but it only works on Win 98 NOT Win NT. I am using Access 97...
How to I dynamically create a directory under the C: drive based on user input?
For example, if a user named "Bob" enters his name into a form and clicks on a button, how do I get that button to create the folder "C:\Bob"?
Any help would be appreciated!
Thanks,
NKDOSHI
How do I Code VB in Access 97 to create a directory on the C: drive based on the input of a user?
For example, If User Bob inputs his name in a given form as "Bob" and then clicks the "CREATE" button, how do I get the "CREATE" button to make "C:\Bob"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.