Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Windows directory
 

 

Get the windows directory . You will need to add a reference to the Microsoft Scripting runtime. This is useful for your apps because the user does not always have Windows installed in the default location.

Private Sub Form_Load()
Dim objFso As FileSystemObject
Dim WindowsPath As String

Set objFso = New FileSystemObject
WindowsPath = objFso.GetSpecialFolder(WindowsFolder)
MsgBox (WindowsPath)
End Sub

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
display running processes(VB.net)
hello world example(JSP)
text background colour(CSS)
Open copy disk dialog(VB)
get the amount of colors available(VB)
display all programs installed in program Files(VBScript)
Java supported(ASP.net)
mirror a web page(PHP)

    




Copyright © 2003 by programmershelp.co.uk