|
-
Nov 10th, 2008, 08:04 PM
#1
Thread Starter
Lively Member
[RESOLVED] [2003] Finding the System folder
Is the "C:\WINDOWS\System" Directory in the same location on every computer running a windows OS?
If it isn't how do I make my program find it by its self?
My car if Chevy was VB.NET
Code:
Public Class MyCar
Public Sub Camaro()
Dim Camaro As Car
Camaro = SS.Fast("Sexy")
End Sub
Public Function Fast(ByVal sexy As String ) As String
Return "SUPER" & sexy
End Function
End Class
-
Nov 10th, 2008, 08:18 PM
#2
Re: [2003] Finding the System folder
Environment.GetFolderPath
-
Nov 10th, 2008, 08:42 PM
#3
Thread Starter
Lively Member
Re: [2003] Finding the System folder
Hmm enviornment.getfolderpath doesn't seem to be working.
Code:
dim x as string
x = enviornment.getfolderpath
What am I doing wrong?
My car if Chevy was VB.NET
Code:
Public Class MyCar
Public Sub Camaro()
Dim Camaro As Car
Camaro = SS.Fast("Sexy")
End Sub
Public Function Fast(ByVal sexy As String ) As String
Return "SUPER" & sexy
End Function
End Class
-
Nov 10th, 2008, 08:48 PM
#4
Re: [2003] Finding the System folder
-
Nov 10th, 2008, 09:11 PM
#5
Thread Starter
Lively Member
Re: [2003] Finding the System folder
its not liking the enviornment word. are you sure that is in the 2003 version of VB?
My car if Chevy was VB.NET
Code:
Public Class MyCar
Public Sub Camaro()
Dim Camaro As Car
Camaro = SS.Fast("Sexy")
End Sub
Public Function Fast(ByVal sexy As String ) As String
Return "SUPER" & sexy
End Function
End Class
-
Nov 10th, 2008, 09:26 PM
#6
Re: [2003] Finding the System folder
-
Nov 10th, 2008, 11:01 PM
#7
Thread Starter
Lively Member
Re: [2003] Finding the System folder
My car if Chevy was VB.NET
Code:
Public Class MyCar
Public Sub Camaro()
Dim Camaro As Car
Camaro = SS.Fast("Sexy")
End Sub
Public Function Fast(ByVal sexy As String ) As String
Return "SUPER" & sexy
End Function
End Class
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|