Cannot Locate Exe File After Publish

Jun 17, 2009

important info : my o.s. is windows7

i just recently published my app, and when i try to locate the exe file from the start menu/my app folder/my app shortcut's properties, i get this as a directory:

C:Users rujadeAppDataRoamingMicrosoftWindowsStart MenuProgramsmy application

now when i go to that location, in windows explorer, all there is a shortcut looking icon. when i check the properties for that, the Type of File : is Application Reference (.appref-ms) . is this my app, and if so, why does it have that little arrow on the icon like shortcut icons do?

i cannot seem to locate the .exe file by doing a system search, other than locating my other similar app which is located in a set folder and was not run from a setup. and if possible, how can i install my app in c:program files and not that set location?

View 4 Replies


ADVERTISEMENT

VS 2008 : Cannot Locate Files After Publish

Jan 23, 2012

I have written a simple program in VB 2008 that in a part of it, it loads some images from a directory with a formula like this :

PictureBox.Image = Image.FromFile(CurDir() & "photos�.jpg")

The photos are located in : inDebugphotos this works fine and loads images when I run the program.But after I publish, it can no more locate the files and I receive an Error:

Unhandled exception...
c:users.............................................photos�.jpg

Now I need your kind help please in these 2 cases:

1- Can you tell me how I can correct the formula?

2- After publish, dose the setup file contains my photos folder as well?

View 9 Replies

File I/O And Registry :: Load - Read - Locate & Copy Text In A File?

Aug 12, 2010

Before I begin I would like to mention that I am not a noob in VB, it's just I've never had to do anything this complex before. Basically what I want is to have a program that you can load a txt file in, have it copy key words, and paste it in a textbox so I can use it later on. So in this text file, there is a bunch of info, but I am only needing a certain part. Here is an example of a text file (actually a .dat file, but is easily read):

[Code]...

View 3 Replies

How To Locate File Path

Aug 2, 2009

I'm trying to locate a file path using code but don't know how. I want to do something along the lines of:
dim currFilePath as string = '...
dim file As New IO.FileInfo(currentFilePath + "/bin/debug/sales.dat")

View 3 Replies

Locate A File In The System Search Path?

Sep 24, 2009

I need to obtain the full path for a file located in somewhere in the system search path for executable files, when I only have the file name. Another user came up with the following code. However I was hoping to find something that is more directly supplied by the system, rather than a "roll your own" solution such as this one. Also, the solution below could run into problems, however unlikely, because it is possible for Windows file and folder names to contain semicolons. The split function doesn't pay any attention to quotes, and could therefore improperly split a path that includes a folder name with an embedded semicolon.

Private paths() As String = Split(Environment.GetEnvironmentVariable("PATH"), ";")
Private messageOutput As String
Private fileInPath as String = "notepad.exe" ' for example[code]....

View 6 Replies

VB - Windows Mobile Application - Program Files To Locate The .sdf File

Feb 20, 2012

in my application, to get the path I use the following code.

Dim path As String
Dim asm As [Assembly] = [Assembly].GetExecutingAssembly()
path = System.IO.Path.GetDirectoryName(asm.GetName().CodeBase)

this gives path as Application Data, But i need Program Files to locate the .sdf file. how to get this path?

View 2 Replies

VS 2010 - Load, Read, Locate, & Copy Text In A File?

Jun 14, 2011

I'm calling a 3rd part app which 'sometimes' works in VB.NET (it's a self-hosted WCF). But sometimes the 3rd party app will hang forever, so I've added a 90-second timer to it. Problem is, how do I know if the thing timed out?

Code looks like this:

Dim MyProcess as System.Diagnostics.Process = System.Diagnostics.Process.Start(MyInfo)
MyProcess.WaitForExit(90000)

What I'd like to do is something like this

If MyProcess.ExceededTimeout Then
MyFunction = False
Else
MyFunction = True
End If

View 2 Replies

VS 2010 Load, Read, Locate, & Copy Text In A File?

Aug 11, 2010

Before I begin I would like to mention that I am not a noob in VB, it's just I've never had to do anything this complex before.Basically what I want is to have a program that you can load a txt file in, have it copy key words, and paste it in a textbox so I can use it later on.So in this text file, there is a bunch of info, but I am only needing a certain part.Here is an example of a text file (actually a .dat file, but is easily read):

s t y l e T h e m e d s h y - A l p i n e V i l l a g e S e t S t y l e & h y - a v p o s t 1 H a n g 3 , V ¯s t y l e T h e m e d s h y - A l p i n e V i l l a g e S e t S t y l e , y - a v p o s t 1 H

[code].....

View 14 Replies

How To Publish An Access File

Aug 18, 2010

I want to publish an access file to server with code in C# or VB.NET

View 3 Replies

Setup File Does Not Run After Publish?

Mar 31, 2010

I resive this message

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.3603
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3603 (GDR.050727-3600)

[Code]...

View 6 Replies

Publish Compile Error " Error1Cannot Publish Because A Project Failed To Build"?

Nov 21, 2009

Now I did a clean build, and tried to publish, and I get a lot of errors and warnings that I don't understand.

Error1Cannot publish because a project failed to build.11AllJ Slots

Warning2Assembly 'Microsoft.DirectX.AudioVideoPlayback.DLL' is incorrectly specified as a file.AllJ Slots
Warning3Assembly 'Microsoft.DirectX.DLL' is incorrectly specified as a file.AllJ Slots
Warning4Assembly 'Microsoft.DirectX.DirectSound.DLL' is incorrectly specified as a file.AllJ Slots
Error5An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: ISigned
:Sign returned error: 0x80880253

The signer's certificate is not valid for signing.

SignTool Error: An error occurred while attempting to sign: binReleaseapp.publish\setup.exeAllJ Slots

View 2 Replies

Asp.net - Web.Config File Corrupting On Publish?

Aug 22, 2010

So I've just started up my most recent website:[URL]and it would seem that every 5th or 6th time I publish my project out of VS 2005 the Web.Config file corrupts and loses its connection string to the database and a nasty exception gets thrown stating that the web.config file does not contain the connection string that all of my SQLDataSource objects use.

View 1 Replies

Include Large Txt File With Publish?

Jan 5, 2012

I have a simple app that reads from a very large text file, and returns a value if a string is found. I can instruct users where to download the file, and where to put it, but it would be nice if I could embed the file with the publish, so that the program knew where to look by default.Getting users to download a seprate file is painful. This file has 1.4 milion lines of text. I really need it to look for the file in a predictable place and be able to run against that by default for most users. I can have experienced users browse for a new file, but most people aren't into that much thought.

View 8 Replies

VS 2008 Publish .net Application With .swf File?

Mar 7, 2011

I got the problem to play flash file in my vb.net application.I am using .net 2008 express to publish my window application.I am able to play it when it has a actual .swf location. e.g. "C:Documents and SettingsmypcDesktopmysql"

But I want to put the .swf file together when it publish.when I copy this to other computer , they can have this flash file,the loction to load will become>>ApplicationDeployment.CurrentDeployment.DataDirectory & "Resourcesfirework3.swf".

the file is in Resources forlder but the application is not able to play, with no error popup

[Code]...

View 14 Replies

VS 2008 Publish Program To A .exe And .dll File?

Jan 25, 2010

publish my program to a .exe and a .dll files (which would contain all the images used in the program)?

View 5 Replies

Add A Music File To The Appliaction Prior To Publish?

Apr 23, 2010

I am currently trying to publish my project, not to web but to the cd/dvd option, I have done a test and it works all fine. During my project i have code that plays an audio file (wav) in background. This file i have placed manually in my c-drive and and i reference its loaction when i call it via;

[Code]...

View 20 Replies

Remove File Association From Publish Options

Oct 30, 2009

I am trying to remove the File Association I created in the Project properties tab 'Publish'/ 'Options'.I have tried deleting all the entries but is won't let me 'OK".Here is a picture of the evil dialogbox.

View 2 Replies

VS 2008 - Possible To Include Local File In Publish

Jan 12, 2011

I am new in 2008 and I have a very simple question. I have made a program in vb net that load one ini file and make some things. It is possible to include this ini file when I make publish my program? I want this ini file to copied when I make a setup my program.

View 2 Replies

Publish An Application With An Access Database File On 2005?

Apr 4, 2011

how to publish an application with an access database file on vb 2005?

View 2 Replies

Way To Publish Program So It Is Self-contained In A Single Executable File?

Apr 20, 2009

I am working on a relatively simple program in VB.NET. I am trying to make the installation process as simple as possible for the user.I know its possible to use the executable from the debug directory as a stand alone executable, but are there any drawbacks to this approach? For example, if the user does not have .NET on their machine, the program will not run. Is there a way to publish the program so it is self-contained in a single executable file?

View 4 Replies

Publish/deploy The WinForms Application Including A Database File Via ClickOnce?

Apr 11, 2009

How do I publish/deploy the WinForms application including a database file via ClickOnce?

Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Welcome to the All-In-One Code Framework! If you have any feedback,

View 1 Replies

File I/O And Registry :: Using "Click-Once" To Publish Embedded Text Files?

Nov 1, 2008

this is driving me insane. I have 4 text files that are needed for my application to run and I'm using the following code to read the data in them :

[Code]...

View 5 Replies

How To Locate Same Value

Aug 10, 2009

I have a windows form form1 on that form one textbox and one button.

textbox.text='200'

when I click in the button I have to show a table(vendor) and I need to locate on vendorno='200'.

in vendor table there is 1000 data fields are vendorno and vendorname.

View 12 Replies

Could Not Locate In Urlmon.dll

Oct 30, 2008

i got in to very strange error message. I have create one simple appliation which will download webpage from web and put that in htmldocument so that i can parse it later.
here is code for this

[Code]...

View 1 Replies

How To Locate A Button

Sep 4, 2009

I have already done the creation of button and the dragging of button at runtime already. But now i need to know how do i save the last dragged button on the form and also detect the name of the last clicked button.

i now drag a button to coordinates 25,254. so when i exit the form and the next time i launch it, the button will still be at 25,254. and this one will go on for the number of button i created like 100. so when i launch the form the 100 button will be at the exact position where i last saved them. the second part is lets say i created button1 and button2 on the form in runtime. so when i clicked the first button, it should display button1. and if i clicked on button 2, it should say button2. same goes for like 100buttons.

[Code]...

View 1 Replies

"Could Not Find .mdb File" Error After Publish?

Jun 15, 2009

I'm working on a project, doing fine until now, when debugging it gives no errors and works fine, but after I publish it online and download it, i get an error like thisSystem.Data.OleDb.OleDbException: Could not find file 'C:\Documents and Settings\Local Settings\Apps\2.0\Data\5OBGY35Z.KQX\BA0L3897.GKJ\ monk..tion_e4d7ac4b0efe78e1_0003.0000_40bef6809ef62922\Data\EquipmentWS.mdb'. although searching a little around that path i find the whole files including the 4 database.mdb there, and when i launch the program from that path, it works with no problems. But running the program from the installed files from the online setup still gives me an error.

My program contains 4 Access databases. They all are in the main program path with the other files, and all of them follow this pattern:

[code]...

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

View 10 Replies

Locate A Created Application?

Nov 1, 2009

Does anyone know where i can locate my Database.mdf this is a file inside my application but when i make the app and deploy it install it on my system i just cant find it anywhere.

View 4 Replies

Locate An User's Desktop?

Feb 2, 2010

I am making a program that stores all information that is entered into a directory and then zips that directory onto the C drive. It is working perfectly fine, but I think it would be easier for the user if the final directory was zipped onto the desktop.

Is there a way that VB.Net can locate the user's desktop and then zip the directory and place it on the desktop? For example, zipping it to "C:Documents and SettingsAdministratorDesktop" would work on my PC, but it may be different on a user's computer.

View 4 Replies

Regular Expression To Locate The Url In VB?

Oct 6, 2011

I am trying to use regular expression for extracting data from web page. but everytime i change the URL i need to change my regular expression for URL.

View 3 Replies

RGB, Transparency And Locate Pixel

Jul 20, 2011

I am making an image modifying program and would like to know how (after I have located the .png, .gif, .bmp etc) I can identify the properties of a certain pixel (RGB and the amount of transparency), how to change the colour of a pixel (similar to first part) and how to tell the program to "move along to the next pixel, unless you are at the end of the image, in which case; move down a row and continue" please help. Also, it is a program which converts a greyscale image (black, white and grey) to black, semi-transparent black and transparency). Just in case that helps.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved