|
|
How get path after application published
Hi all, I am using Visual Basic 2008. The below macro works fine when
i do test check of my application. But once i click on publish
application and i get setup file and then when i install the
application and run open it, i cant see image in webBrowser. Can
please any friend know how to get installed application path or any
other suggestion that how can i achive this. The other question that
if i make new folder in My.Resources and give it name "Folder1" then
how can i get the access to it by vb code. I'll be greatful if any
friend can help.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim pth As String
pth = Application.StartupPath & "\Smile.JPG"
Me.WebBrowser1.Navigate(pth)
End Sub
|
|
0
|
|
|
|
Reply
|
K
|
5/12/2010 9:41:40 AM |
|
On 12/05/2010 10:41, K wrote:
> Can please any friend know how to get installed application path
> or any other suggestion that how can i achive this.
Imports System.IO
Imports System.Reflection
Dim appDir as String _
= Path.GetDirectoryName( Assembly.GetEntryAssembly().Location )
HTH,
Phill W.
|
|
0
|
|
|
|
Reply
|
Phill
|
5/12/2010 12:01:10 PM
|
|
|
1 Replies
732 Views
(page loaded in 0.03 seconds)
Similiar Articles: microsoft.public.dotnet.languages.vb - page 16How get path after application published K 1 469 Hi all, I am using Visual Basic 2008. The below macro works fine when i do test check of my application. How to fix Run/time error 438 - microsoft.public.access ...... code to paste .pdf files on DeskTop Private SubtxtPath_Click() Dim strDeskTop As String 'get path location to desktop strDeskTop = CreateObject("Shell.Application ... Simple VBA crashes Access 2007, why? - microsoft.public.access ...TIA Private Sub Button___Social_Policy_Click() 'Get the path to the database Dim vPath As Variant vPath = Application.CurrentProject.Path 'Get the path to ... CurrentProject.Path in Access - microsoft.public.access ...Get the path to the database Dim vPath As Variant vPath = Application.CurrentProject.Path ... ... Get the Path to the Database (.mdb) File - Access Image FAQ Determining ... help with file handling (file path and name) - microsoft.public ...my thoughts add a save control button to the form on the application, which will be ... my laptop up (using the domain name, not standalone) I get "Path ... value 1 What I ... Faulting application name: iexplore.exe In Windows 2008 Server R2 ...... Exception code: 0x80000003 Fault offset: 0x008ea7bd Faulting process id: 0x13c Faulting application start time: 0x01caebe69f5d4cc6 Faulting application path: C ... getcurrentdirectory in windows7 - microsoft.public.vb.general ...... for ANSI it work good in winxp but in win7 the function get other directory not application ... getcurrentdirectoryA", or more convenient, you can use "app.path ... Application.GetOpenFilename - microsoft.public.excel.programming ...All of a sudden I get "Code execution has been interrupted" in the next line after Application ... Application.GetOpenFilename : GetOpenFilename « File Path « VBA ... ... Parsing a network path - microsoft.public.accessHow to parse directory file components in C# I'm writing an application that receives a UNC path and I need to parse the specific components of the path for use in another ... VBA Code to Delete an Email After it is Processed by VBA ...I have an application that starts an email thread and assigns a Task ID like ... TID(") + 4, 8), ")") - 1) '===== SQL Connection String to Get full Directory Path ... Publishing Application and Getting the local pathI have a win applicaiton that uses a bunch of xml files to store and retrieve data. I had my xml files in the \bin\debug\ folder and used Application ... Application Installation Path | DaniWebHow am i able to change the install path of my project, so that when i publish my application, it should install my application to the C:\Program Files directory? Get application installation path. .NET FrameworkI need to get the path to my program after it has been installed. In other words, I ... the Good Reasons for using the Registry; it's where applications have "published ... Update Configuration of a ClickOnce WPF Application Using Mage or ...In our example, we would use a file path as the publishing folder location. ... open the installation folder for viewing: “Unable to view published application ... Xml file path is not found after publish WPF Browser application.Hi, I am working a WPF application several months. Now I am going to deploy that application. During test deploy I am facing a file path problem. I ... 7/23/2012 5:54:12 AM
|
|
|
|
|
|
|
|
|