The forums wouldn't let me post a newreply, it kept timing out so I'm replying here to this thread:
http://www.vbforums.com/showthread.p...hreadid=194651
Application.StartUpPath usually works.
Printable View
The forums wouldn't let me post a newreply, it kept timing out so I'm replying here to this thread:
http://www.vbforums.com/showthread.p...hreadid=194651
Application.StartUpPath usually works.
yeah, this is stupid, and they think they've fixed the forums
btw I PMed him before:D
Totally stupid as I am trying to replay as well, couldn't do it last night either - hence while there is 3 posts from me.
When you create an exe in vb.net it is placed in the bin directory. To get to the App level i use the below.
Application.StartupPath.Remove(Application.StartupPath.Length - 4, 4)
What do you mean 'get to the App level'?
Oh I see now but that'll mess up on the finally product since there will be no bin folder then. You could change your VB settings to put the exe in the code folder if you want.