Das Notes Forum

Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: arcon am 20.08.03 - 10:40:01

Titel: Letzter Speicher Pfad
Beitrag von: arcon am 20.08.03 - 10:40:01
Hallo, Notes merkt sich ja wie der zuletzt verwendete Speicher Pfad
gelautet hat und schlägt ihn beim nächsten Speicherdialog vor.

Wo kann ich diesen Pfad auslesen (Reg., API, Umgebungsvariable ...)?

 ??? Arcon
Titel: Re:Letzter Speicher Pfad
Beitrag von: sloe am 20.08.03 - 11:29:40
Hi,
müßte so gehen (Designer-Hilfe unter CurDir):
CurDir function  

Returns the current directory on a specified drive.
Syntax
CurDir[$] [ ( drive ) ]
Elements
drive
Optional. A string expression specifying an existing drive. If you omit drive, CurDir uses the current drive.
Return value
CurDir returns the current directory on drive.
CurDir returns a Variant of DataType 8 (String). CurDir$ returns a String.
Usage
If the value of drive is a string of more than one character, CurDir uses only the first character. CurDir does not require a colon after the drive letter.
To set the current directory on a specified drive, use ChDir. To set the current drive, use ChDrive. To return the current drive, use CurDrive.
You can call this function with no arguments as either CurDir or CurDir( ).

Example: CurDir  function  

ChDir "c:\test"
Print CurDir$()   ' Prints "c:\test"

Gruß
sloe
Titel: Re:Letzter Speicher Pfad
Beitrag von: koehlerbv am 20.08.03 - 12:50:44
Probiers mal mit der NOTES.INI-Variablen FileDlgDirectory.
Titel: Re:Letzter Speicher Pfad
Beitrag von: arcon am 20.08.03 - 14:59:36
THX glaube das müsste es sein, beim CurDir brachte er mir
immer die den Notes Programm Pfad aber vieleicht habe ich
was falsch gemacht werde mir das noch mal ansehen.

cu
Arcon