Results 1 to 4 of 4

Thread: What's the equivalent of app.path in vb.net ANSWER

  1. #1

    Thread Starter
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    What's the equivalent of app.path in vb.net ANSWER

    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.

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    yeah, this is stupid, and they think they've fixed the forums

    btw I PMed him before
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  3. #3
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181
    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)
    Wind and waves resolves all problems.

  4. #4

    Thread Starter
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width