emin Posted November 6, 2020 Posted November 6, 2020 I'm using the code below to create a folder, but it doesn't work. I don't want to create the folder manually. I've used this code for vcl apps multiple times. It worked fine. Quote if not DirectoryExists(UniServerModule.StartPath+'Dokuman\Ornek') then CreateDir(UniServerModule.StartPath+'Dokuman\Ornek\'); Quote
Sherzod Posted November 6, 2020 Posted November 6, 2020 37 minutes ago, emin said: I'm using the code below to create a folder, but it doesn't work. I don't want to create the folder manually. I've used this code for vcl apps multiple times. It worked fine. Hello, Use ForceDirectories ForceDirectories(UniServerModule.StartPath+'Dokuman\Ornek\'); Quote
Abaksoft Posted November 7, 2020 Posted November 7, 2020 14 hours ago, emin said: I'm using the code below to create a folder, ... Remember, if you are using your unigui application as Service, then you can not create it any where. Only User/ Puclic Dcuments can . and only Server Side. 1 Quote
Abaksoft Posted November 12, 2020 Posted November 12, 2020 On 11/7/2020 at 9:02 AM, Abaksoft said: Remember, if you are using your unigui application as Service, then you can not create it any where. Only User/ Puclic Dcuments can . and only Server Side. Erratum... Confirmed : ForceDirectories works fine anywhere (also as Service) (ServerSide) Thx to Sherzod !!! In the olds Unigui versions, i can't do it. I don't know how and when, this has been fixed. (Build 1539 = OK). Sorry for the bad advice. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.