• Welcome to Valhalla Legends Archive.
 

Finding folder path

Started by Zer0, October 03, 2006, 12:20 PM

Previous topic - Next topic

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?

l2k-Shadow

Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Zer0

well that didnt work for me so i did a little more research and found somthn that did heres the code:


Public Function App_Path() As String
        Return System.AppDomain.CurrentDomain.BaseDirectory()
End Function

rabbit

Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

l2k-Shadow

Quote from: rabbit on October 03, 2006, 04:16 PM
You should have said VB.Net

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.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Zer0

ya sorry about that guys i ment to post it in the .Net forum