Hi,
I use the statement curframe.filepopup in order of select a directory.
Subsequently, I want to move the directory in other path, but the operation is not permitted because the filepopup method lock the folder.
Is there a method for release resources, so I can move the folder?
Thanks, regards
Fabrizio Di Renzo
Direzione ICT Service Management
Area Physical
Bucap S.p.A. Gruppo Marifin
Sede legale: Via Innocenzo XI n. 8, 00165 Roma (RM)
Sede operativa: Via Tiberina 17/b, 00065 Fiano Romano (RM)
tel: +39 069060181 int. 617 - fax: +39 0765455428
Mob: +39 3485165472
Web: www.bucap.it
Avvertenze ai sensi del Regolamento Generale UE 679/2016 (Regolamento Privacy): Il presente messaggio, corredato dei relativi allegati, potrebbe contenere informazioni strettamente
riservate o confidenziali ed è riferito esclusivamente al destinatario sopra indicato. Quest’ultimo è l'unico autorizzato ad usarlo, copiarlo e, sotto la propria responsabilità a diffonderlo. Chiunque ricevesse questo messaggio per errore o lo leggesse senza
esserne legittimato è avvisato che trattenerlo, copiarlo, divulgarlo, distribuirlo a persone diverse dal destinatario è severamente proibito ed è pregato di rinviarlo immediatamente al mittente distruggendo l'originale. Grazie.
Warnings pursuant to EU General Regulation 679/2016 (Privacy Policy):This message, together with its annexes, may contain information strictly confidential or privileged and is
intended only for the addressee(s) identified above, who only may use, copy and, under his/their responsibility, further disseminate it. If you are not the intended recipient or have read it without entitlement, please be aware that keeping, copying, disseminating
or distributing this message to persons other than the addressee(s) is strictly forbidden and transmit it immediately back to the sender, deleting the original message received. Thank you.
Hi,
Not checked it, but your question seemed familiar:
https://docs.actian.com/openroad/11.2/index.html#page/LangRef/WorkingDirectory_Attribute.htm
WorkingDirectory Attribute
Data Type: varchar
4GL Access: RW
The WorkingDirectory attribute specifies the current working directory.
Note: A change of the current working directory can also be caused by other methods, for example the ProcExec.FilePopup method (see FilePopup Method).
So I would try changing the WorkingDirectory Attribute to see if that makes it better.
Cheers
Adrian
--
You received this message because you are subscribed to the Google Groups "OpenROAD Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openroad-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openroad-users/DB9PR10MB5209AC0148916F68094DB62FE1079%40DB9PR10MB5209.EURPRD10.PROD.OUTLOOK.COM.
Hi Fabrizio,
The
FilePopup() method, which actually selects a file rather than a directory, does not “lock” the folder.
What it does, though, is to change the current working directory to the one of the selected file
(this is documented in
https://docs.actian.com/openroad/11.2/index.html#page/LangRef/WorkingDirectory_Attribute.htm).
This behaviour might prevent the move of the directory, because the directory is in use.
Therefore you would have to change the CurSession.WorkingDirectory to another path before you move the directory.
BTW, in order to select a directory we recommend to use the
DirectoryPopup() method (introduced with OR 11.2 patches 15759 and higher),
which does NOT change the current working directory.
See
https://docs.actian.com/openroad/11.2/index.html#page/LangRef/DirectoryPopup_Method.htm for details.
HTH.
Regards,
Bodo.
Bodo
Bergmann
Engineering Architect | OpenROAD Engineering
Actian, An HCL Company
www.actian.com
GESELLSCHAFTSANGABEN: Actian Germany GmbH | Sitz der Gesellschaft: Halenreie 42, 22359 Hamburg
| Geschäftsführung: Stephen Padgett, Marc Monahan | Handelsregister: Amtsgericht Hamburg | HRB 135991 | USt-IdNr: DE252449897
From: 'Fabrizio Di Renzo' via OpenROAD
Users Mailing List <openroa...@googlegroups.com>
Sent: Wednesday, November 16, 2022 1:26 PM
To: openroa...@googlegroups.com
Subject: [openroad-users] Filepopup lock resources
Hi,
--
Hi Bodo,
I have changed the working directory, so now I can move the folder.
Thanks a lot
Fabrizio Di Renzo
Direzione ICT Service Management
Area Physical
Bucap S.p.A. Gruppo Marifin
Sede legale: Via Innocenzo XI n. 8, 00165 Roma (RM)
Sede operativa: Via Tiberina 17/b, 00065 Fiano Romano (RM)
tel: +39 069060181 int. 617 - fax: +39 0765455428
Mob: +39 3485165472
Web: www.bucap.it
Da: openroa...@googlegroups.com <openroa...@googlegroups.com>
Per conto di Bodo Bergmann
Inviato: mercoledì 16 novembre 2022 14:20
A: openroa...@googlegroups.com
Oggetto: [openroad-users] RE: Filepopup lock resources
To view this discussion on the web visit https://groups.google.com/d/msgid/openroad-users/SJ0PR06MB7805368AF20DC6DA420684AF93079%40SJ0PR06MB7805.namprd06.prod.outlook.com.
Avvertenze ai sensi del Regolamento Generale UE 679/2016 (Regolamento Privacy): Il presente messaggio, corredato dei relativi allegati, potrebbe contenere
informazioni strettamente riservate o confidenziali ed è riferito esclusivamente al destinatario sopra indicato. Quest’ultimo è l'unico autorizzato ad usarlo, copiarlo e, sotto la propria responsabilità a diffonderlo. Chiunque ricevesse questo messaggio per
errore o lo leggesse senza esserne legittimato è avvisato che trattenerlo, copiarlo, divulgarlo, distribuirlo a persone diverse dal destinatario è severamente proibito ed è pregato di rinviarlo immediatamente al mittente distruggendo l'originale. Grazie.
Warnings pursuant to EU General Regulation 679/2016 (Privacy Policy):This message, together with its annexes, may contain information strictly confidential
or privileged and is intended only for the addressee(s) identified above, who only may use, copy and, under his/their responsibility, further disseminate it. If you are not the intended recipient or have read it without entitlement, please be aware that keeping,
copying, disseminating or distributing this message to persons other than the addressee(s) is strictly forbidden and transmit it immediately back to the sender, deleting the original message received. Thank you.