What is the function that will return the application path (app.path in VB6)


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: What is the function that will return the application path (app.path in VB6)

  1. #1
    Ian Lowe Guest

    Re: What is the function that will return the application path (app.path in VB6)

    Application.StartupPath actually gets the folder where the application
    started, which may or not may not be the same as App.Path (e.g., for
    ..dll's). As discussed in the a recent issue of VSM, you'll get better
    results with the [Assembly].Location property.

    HTH,

    Ian.

    "Russell Jones" <arj1@nospam.northstate.net> wrote in message
    news:3d9dc2db$1@10.1.10.29...
    > Application.StartupPath()
    >
    > "Gerardo" <garaceg@yahoo.com> wrote in message

    news:3d9db12f$1@10.1.10.29...
    > >
    > > What is the function in .NET that will return the application path

    > (app.path
    > > in VB6)?
    > >
    > > Thanks
    > > Gerardo

    >
    >




  2. #2
    Gerardo Guest

    What is the function that will return the application path (app.path in VB6)


    What is the function in .NET that will return the application path (app.path
    in VB6)?

    Thanks
    Gerardo

  3. #3
    Russell Jones Guest

    Re: What is the function that will return the application path (app.path in VB6)

    Application.StartupPath()

    "Gerardo" <garaceg@yahoo.com> wrote in message news:3d9db12f$1@10.1.10.29...
    >
    > What is the function in .NET that will return the application path

    (app.path
    > in VB6)?
    >
    > Thanks
    > Gerardo




  4. #4
    Gerardo Guest

    Re: What is the function that will return the application path (app.path in VB6)


    Thanks for your help!!

    Gerardo
    "Russell Jones" <arj1@nospam.northstate.net> wrote:
    >Application.StartupPath()
    >
    >"Gerardo" <garaceg@yahoo.com> wrote in message news:3d9db12f$1@10.1.10.29...
    >>
    >> What is the function in .NET that will return the application path

    >(app.path
    >> in VB6)?
    >>
    >> Thanks
    >> Gerardo

    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center