Valhalla Legends Forums Archive | Visual Basic Programming | Re: Finding folder path

AuthorMessageTime
Zer0
Iv been looking around and i dont seem to be able to find much info on this, how do u have VB find the path to the folder the program is in?
October 3, 2006, 5:20 PM
l2k-Shadow
lol
[code]
App.Path
[/code]
October 3, 2006, 7:22 PM
Zer0
well that didnt work for me so i did a little more research and found somthn that did heres the code:

[code]
Public Function App_Path() As String
        Return System.AppDomain.CurrentDomain.BaseDirectory()
End Function
[/code]
October 3, 2006, 9:08 PM
rabbit
You should have said VB.Net
October 3, 2006, 9:16 PM
l2k-Shadow
[quote author=rabbit link=topic=15820.msg159372#msg159372 date=1159910211]
You should have said VB.Net
[/quote]

yeah specify that in the future, this is the visual basic forum, not the .NET forum, so while it's fine to post VB.NET stuff here, if you don't specify, people will assume you're talking VB 6.
October 3, 2006, 10:27 PM
Zer0
ya sorry about that guys i ment to post it in the .Net forum
October 4, 2006, 4:45 AM

Search