Hack Forums
[VB] Browsing invisible folders - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5)
+---- Thread: [VB] Browsing invisible folders (/showthread.php?tid=59567)



[VB] Browsing invisible folders - Cadis - Mar 20, 2009

Hello,
I'm making my own program in VB and kinda stopped on following step. I want to make a dialog (dirListBox), where user can browse for folder and then get the folder path.. however, I can't see invisible folders in that dialog.. is there any way how I can make them visible in dirListBox?

Add2 - When I want certain application to save into C:\Documents and Setting\Username\Data Application -
how should I write the path when ppl uses different language packs? Is there any default windows name for folders like Application Data, which has different names on different windows translations?

//already tried to google it, but no results ;<

Thanks for answers!! ;)


- Sugovac - Mar 20, 2009

Part 2: I think you need this: xp set environments

Code
Variable      Typical value (May vary, depending on system)
%ALLUSERSPROFILE%     C:\Documents and Settings\All Users
%APPDATA%     C:\Documents and Settings\{username}\Application Data
%COMPUTERNAME%     {computername}
%COMSPEC%     C:\Windows\System32\cmd.exe
%HOMEDRIVE%     C:
%HOMEPATH%     \Documents and Settings\{username}
%PATH%     C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem
%PATHEXT%     .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH
%PROGRAMFILES%     Directory containing program files, usually C:\Program Files
%PROMPT%     Code for current command prompt format. Code is usually $P$G
%SYSTEMDRIVE%     The drive containing the Windows XP root directory, usually C:
%SYSTEMROOT%     The Windows XP root directory, usually C:\Windows
%TEMP% and %TMP%     C:\DOCUME~1\{username}\LOCALS~1\Temp
%USERNAME%     {username}
%USERPROFILE%     C:\Documents and Settings\{username}
%WINDIR%     C:\Windows



- Cadis - Mar 20, 2009

Thanks!!
There was an error posting your reply:


- GaVy_MaK - Apr 29, 2009

or try going to properties then view then show hidden folders