> Hvordan finder jeg System Biblioteket?
> Jeg bruger Environ("windir") til at finde Windows biblioteket.
> Jeg ved der også er en Environ ting til at finde system biblioteket
med....
> Jeg kan bare ikke huske det :-/
Her er de, godt nok ikke i Environ
Men du kan lige få hjælpen til Environ
http://msdn.microsoft.com/library/default.asp?URL=/library/devprods/vs6/vbas
ic/vbenlr98/vafctEnviron.htm
-----Windows API-----Tools -> API Text Viewer-----
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias
"GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As
Long
Private Declare Function GetSystemDirectory Lib "kernel32" Alias
"GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As
Long
begin 666 API Text Viewer.lnk
M3 ````$4`@``````P ```````$8;````( ````!8@:=#FKT!`!CU/?UMP $`
M6(&G0YJ]`0```P```````0```````````````````.T`% `?#^!/T"#J.FD0
MHM@(`"LP,)T9`"-#.EP``````````````````````+'$(@`Q``````!\)TFB
M$0!0<F]G<F%M;65R`%!23T=207XQ`"\`,0``````F2F54! `36EC<F]S;V9T
M(%9I<W5A;"!3='5D:6\`34E#4D]3?C0`' `Q``````"9*950$ !#;VUM;VX`
M0T]-34].`!H`,0``````F2GM4! `5&]O;',`5$]/3%,`' `Q``````"9*;95
M$ !7:6YA<&D`5TE.05!)`!L`,@````,`T20`N"" 07!I;&]A9"YE>&4`````
M?P```!P````!````' ```#@```!/1E0@?@```!P````#````VQQ[%! ```!)
M5D%2($]'($E$00!#.EQ0<F]G<F%M;65R7$UI8W)O<V]F="!6:7-U86P@4W1U
M9&EO7$-O;6UO;EQ4;V]L<UQ7:6YA<&E<05!)3$]!1"Y%6$4``%$`+BY<+BY<
M+BY<+BY<+BY<4')O9W)A;6UE<EQ-:6-R;W-O9G0@5FES=6%L(%-T=61I;UQ#
M;VUM;VY<5&]O;'-<5VEN87!I7$%024Q/040N15A%.0!#.EQ0<F]G<F%M;65R
M7$UI8W)O<V]F="!6:7-U86P@4W1U9&EO7$-O;6UO;EQ4;V]L<UQ7:6YA<&D`
#````
`
end