PC Review


Reply
Thread Tools Rate Thread

Application Path

 
 
Bernard Bourée
Guest
Posts: n/a
 
      24th Oct 2004
How to obtain the runing application path ?

--
Bernard Bourée
(E-Mail Removed)


 
Reply With Quote
 
 
 
 
OpticTygre
Guest
Posts: n/a
 
      24th Oct 2004
Referring you to a previous post

-Jason

>Also don't forget to use:
>
>Imports System.IO
>Imports System.Reflection
>
>It seems if I leave those two out I end up with problems. Otherwise, Ken's
>suggestion seems to work the best of all solutions .
>james
>
>"Ken Tucker [MVP]" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
> Hi,
>
> Application.StartupPath, Application.Version. Application does
> not
> alway return the right result. Here is what i use.
>
> Public Function AppPath() As String
>
> Return
> System.IO.Path.GetDirectoryName(Reflection.Assembly.GetEntryAssembly().Location)
>
> End Function
>
>
>
> Ken





"Bernard Bourée" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> How to obtain the runing application path ?
>
> --
> Bernard Bourée
> (E-Mail Removed)
>
>



 
Reply With Quote
 
Shiva
Guest
Posts: n/a
 
      24th Oct 2004
In case of Windows apps, Application.StartupPath.

"Bernard Bourée" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
How to obtain the runing application path ?

--
Bernard Bourée
(E-Mail Removed)



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      24th Oct 2004
"Bernard Bourée" <(E-Mail Removed)> schrieb:
> How to obtain the runing application path ?


See (complete thread):

<URL:http://groups.google.de/groups?threa...40TK2MSFTNGP12.
phx.gbl>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


 
Reply With Quote
 
Bernard Bourée
Guest
Posts: n/a
 
      24th Oct 2004
Herfried
The thread is not avalaible!


--
Bernard Bourée
(E-Mail Removed)
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> a écrit dans le
message de news:(E-Mail Removed)...
> "Bernard Bourée" <(E-Mail Removed)> schrieb:
> > How to obtain the runing application path ?

>
> See (complete thread):
>
>

<URL:http://groups.google.de/groups?threa...40TK2MSFTNGP12.
> phx.gbl>
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      24th Oct 2004
"Bernard Bourée" <(E-Mail Removed)> schrieb:
> The thread is not avalaible!


Did you concatenate the link? It's splitted up to two lines.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ClickOnce application and Application Assembly Path CraigH Microsoft Dot NET Framework Forms 1 11th Feb 2009 10:49 AM
ClickOnce application and Application Assembly Path CraigH Microsoft Dot NET Framework Forms 0 4th Feb 2009 03:02 PM
Application with long path dies without error during Application.R =?Utf-8?B?QnJpYW5L?= Microsoft Dot NET Framework Forms 0 8th Nov 2006 10:02 PM
Re: File Path (Application Path) Herfried K. Wagner [MVP] Microsoft VB .NET 0 14th Apr 2005 12:22 PM
Re: File Path (Application Path) Cor Ligthert Microsoft VB .NET 1 14th Apr 2005 09:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:05 PM.