VS 2008 Publishing A Project

Dec 21, 2009

i went up to "Build > Build Project" then "Build > Publish Project." So I went to the director i published my project in, and I ran Setup.exe, I followed as prompt, and then when the Splash screen unloaded, the project stopped responding and closed. So I ran the debug on VB8 and it ran fine passed the splash screen. Then, I tried going to the debug folder, and run the project from there, it ran fine to. So I tried another solution. I copied, and pasted the .exe file in the debug folder to my desktop, along with the .dll files in the debug folder to, ran it, and it got an error instantly after running it.So the only way I could get it to run, is to leave the .exe in the Debug folder, and to run Debugging in VB8.Also, I really don't like the way VB8 publishes the files and you have to run the setup each time you want to run the program. Is there a way to just make it a normal .exe file, like the ones vb6 makes?

View 11 Replies


ADVERTISEMENT

VS 2008 Publishing A Project With ClickOnce?

Aug 30, 2010

I have a project and I'm publishing it with ClickOnce. As it publishes, it asks: "Version 1.00.xxx (etc) already exists on the server, do you want to overwrite it?" -- well, I click yes, and then I run the setup file and install it (I publish to my desktop), and guess what -- it's the old version of the project.For some reason, unless the version that is published is greater than the prior version, even if I tell it to overwrite that version, it is not published properly!

This has caused me some headaches, as I test my program on another VM, find errors, fix them in code, republish, and find the same bugs in my program as I test it again because it didn't publish the latest or newest version of my program, I even tried the simplest thing, I changed the text on my main form window that opens to something different from previous, and no matter how many times I publish, and click overwrite the old version, the old version remains!

View 2 Replies

VS 2008 Publishing - Make Just One Exe File In Vb9 - Install The Program After Publishing?

May 22, 2009

About publishing my program. there's a lot of files made after publishing unlike in vb6 when i converted it to exe file theres only one file. hmm how can i make just one exe file in vb9 is it possible? another question do i have to install the program after publishing?

View 5 Replies

Publishing A VB.NET Project

Sep 5, 2006

When i use the 'Publish <ProjectName>' feature in VB .NET, a setup file is created. When u run the setup, u cannot specify where u want to install ure program. Is there any way to change that.

View 5 Replies

Publishing A Project In VB2008?

Sep 5, 2011

This problem suddenly arose after several months of successful publishing.I am still able to build the project.

[Code]...

View 2 Replies

IDE :: Publishing A Vb2008express Edition Project

Jul 8, 2009

I have created a small project which also interacts with a mdb.It works great on the PC where it was created.However, when publishing it on my home network it asks for the first path. It lets me input the first path "where do u want to publish the project" successfully. When clicking next it brings up this form:

[Code]...

View 1 Replies

Not Getting Data Access After Publishing Project

Mar 21, 2011

I want to publish my vb.net project, but when I publish the project, there is no access to database. It is showing error : "System.Data.OleDb.OleDbException: Could not find file 'C:\Documents and Settings\Administrator\Local Settings\Apps\2.0\N3WEXXZN.DE6\JHJXMQC9.9N6\mara..tion_c355efc190f94c5f_0001.0000_d27846b1540f4a39\EventsTable1.mdb'."

I am giving connection string as

"Provider=Microsoft.JET.OLEDB.4.0;Data Source=" & My.Application.Info.DirectoryPath & "\EventsTable1.mdb"
OR
"Provider=Microsoft.JET.OLEDB.4.0;Data Source=|DataDirectory|\EventsTable1.mdb"

Why this error is occuring? Is there any other way to provide database path?

View 7 Replies

Fix An 'AppType Is Not Valid' Error When Publishing A Project?

Dec 7, 2009

I'm trying to publish a project I created to a network server using the Publish Wizard in VB 2008. The project publishes to the specified path but I try to install the application I keep getting this error..

View 2 Replies

Publishing A Project - Can't Find The Installation Directory

Mar 18, 2009

I am trying to publish a project. Via the publish wizard I have published the project. So I have:Project.applicationSetup.exeand a directory application files in which:Project.applicationProject.exe.deployProject.exe.manifest. When I start the setup it does it's thing (only one question: do you want to install ...etc) and 2 seconds later its done.

Problem:
1. I can't find the installation directory... (I can find the app in the 'add/remove programs' but not anywhere in program files or ..)

2. there are a few xml and mdb files I want to include in de project (or else the project does not work).

But because of (1) I don't know where to do so. Or beter yet, I would like to include these files in the installer.3. Why doesn't the installer ask me where I want to install?

View 5 Replies

Publishing A Project With Sql Server Database Access?

Dec 20, 2011

i am trying to publish a vb.net project that has is connected to a database. the project can be published and installed and runs fine without the data base part. i get following error message: System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

i assume that it simply cant find the database. where do i need to adjust the database file settings to make this work.

View 3 Replies

Publishing Project In Visual Studio 9. With Database?

Apr 22, 2011

I am using an Access Database with my project. When I publish, all the Forms seem to Publish. Also the database gets published. However, once I install it, there seems to be no connection with the Database.The Forms give me the Oledb error as Im using Access. However, the login form seems to connect with the database. In other words, my applications gets authenticated, but when I try to open other forms, there seem to be an error with DB connection

[Code]...

View 1 Replies

Add "Uninstall" In The Set-up Project On Publishing?

Oct 10, 2009

how to do the followings when creating the Set-up project for a program I created.The Page which appears when the "Setup" project is successfully finished, shows a menu bar in the "Solution Explorer". The "Custom Actions Editor" gives a list of (1) Install, (2) Commit, (3) Rollback & (4) Uninstall. I couldd do anything on this. Why these folders are there? How can I use this to create an "Uninstall" utility? What are they meant for? 1) How to include "Uninstall" part for aa program? (I want it appears in the Program menu on moving the Cursor on the Program. 2) How to create the "Uninstall" for a program?3) I couldn't make my program to appear in the list of Program Menu after installing (I'd to make a "Shortcut" of the program in the Program Menu), it didn't appear in the Desktop also - again I had to make a Shortcut on the Desktop also manually.The Tutorials didn't explain anything about this but only showed these options are available.

View 1 Replies

ClickOnce Publishing With VB 2008 Express?

May 24, 2009

Publishing to CD using the ClickOnce method IS possible in VB 2008 Express. I've posed many questions in the past in my questions regarding "Distributing A Program on CD".I was getting error messages and my program would not instal on a 3rd party computer (My LapTop)

I followed all the instruction as laid out in the Help file and took note of all the advice I received in the forum but the programs wouldn't install on my LapTop.I bought a book entitled "Build A Program Now Microsoft VisualBasic 2008 Express Edition" by Patrice Pelland.

In Chapter nine in goes through the procedure of publishing with the ClickOnce method. The one thing that the book said which was not included in the Help file was that the option "Build (Program)" in the Build menu had to be selected.I then went through all the other options as were discussed in my threads "Distributing a Program on CD".

Success! I published two programs, "MasterMind" and "HangMan" (Simple enough programs for a beginner to VB Express)I then burnt the two folders created during the publish porcedure to a CD, loaded the CD onto my LapTop and double clicked on "Setup" on the "Mastermind" program. Total success! The program installed without a hitch and runs without fault.

I then selcted to instal "HangMan" and bombed out with the error message that stated I need to instal
"Microsoft.Visual Basic.PowerPacks.Vs" in the Global Assembly Cache (GAC) first."

View 1 Replies

VS 2008 - Publishing The Application - Error Msg

Nov 25, 2010

I have a vb.net application that has to be published on the server to a specified path. After publishing, when I try to install the application, I get the below error msg:

ERROR SUMMARY: Below is a summary of the errors, details of these errors are listed later in the log.

* Activation of \agbvseng14datasSOFTEasy_ECNNouveau dossierEASY ECN.application resulted in exception.

Following failure messages were detected:
+ Downloading http://bue479/EASY ECN/EASY ECN.application did not succeed.
+ Unable to connect to the remote server
+ No connection could be made because the target machine actively refused 180.30.4.18:80

View 10 Replies

VS 2008 - Timer - Project A References Project B So Can Open A Large Form In Project B

May 5, 2010

For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.

View 2 Replies

Deployment :: Publishing The Program .net 2008 Express?

Mar 5, 2009

when publishing a program is it possible to get it to include or copy over a mdb file and can the setup be made into 1 setup file instead of the "Application Files Folder" and "Program name.application"

View 2 Replies

VS 2008 Publishing A Mandatory Update With ClickOnce?

Sep 28, 2009

I'm trying to add an automatic update feature if there is a mandatory update for my application using something like this:

vb.net
'Check for mandatory updates
Private Sub MyApplication_CheckForUpdateCompleted(ByVal sender As Object, ByVal e As Deployment.Application.CheckForUpdateCompletedEventArgs)
If e.UpdateAvailable AndAlso e.IsUpdateRequired Then

[Code]...

View 2 Replies

VS 2008 Publishing Program And Not Use The Click Once Format?

Aug 10, 2009

where I can locate a tutorial on Publishing in VS8. I have both, VS8 Express Edition and VS8 Studio. I know that if I click publish in either edition, I get the Click once publishing format.But, I also know that you can specify directory to publish your program to exc:Program Filesprogram namemy executable.exe). But I am unsure how to properly set this up in the VS8 Studio. The only part I have not found, is how to Publish your program and not use the Click once format.

View 1 Replies

Include MS Access Database When Publishing Projects Vb 2008?

Feb 24, 2010

I have a database that works fine when not yet published, I connect this way: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|Network_Info.mdb" But when I publish my project my application can't find my database and I always get an error. Any solution to this matter?

View 4 Replies

MSSQL2005 Publishing In Microsoft Visual Studio 2008

Jun 9, 2011

I got problem in my vb.net program in publishing it. I am using Microsoft Visual Studio 2008, when I publish my program and I got the setup file and when i tried to run into another computer I got some error saying that it cant connect into the database. Actually I used msSQL 2005 server in my VS 2008.

View 7 Replies

Add Project Setup Project For Project For Visual Studio 2008?

Nov 15, 2010

i was developing Voice Chat Application in visual Basic .NET 2008 i try a lot methods to make installer for it :

1- i add Project Setup Project for my Project for Visual Studio 2008 Deploy & setup Type Projects and make it with output option and detect dependices

2- i try make it with Setup Factory 8.2.1

3- i try with MSI Factory 2.0

4 i try with Setup Factory 6.0

and after making installer copying it to my test virtual Machine or my friend lap and install it i get this error when try to run my application :

[Code]...

View 3 Replies

Publishing In Visual Studio 2008 Or 2010 - Application - Quadratic Equations

May 6, 2011

I've made a fairly good Windows form application to solve quadratic equations, but I am having a hard time understanding the publication process microsoft uses in Visual Studio. I'd like to distribute my programm as freeware on my blog.

View 5 Replies

VS 2008 Microsoft SQL Publishing Wizard - MSI Returned Error Code 1638

Jan 3, 2012

At the end of the re-installation of Visual Studio 2008, there is this message: "Microsoft SQL Publishing Wizard: [2] Error: Installation failed for component Microsoft SQL Publishing Wizard. MSI returned error code 1638" in the log file dd_error_vs_procore_90.txt.

When I searched for just "MSI returned error code 1638", I got that it
cannot install something because it is already installed: "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel".

In Add/Remove Programs I see these two programs:
Microsoft SQL Server Database Publishing Wizard 1.3
Microsoft SQL Server Database Publishing Wizard 1.4

Are these programs/versions what the error is refering to? Am I safe to remove them and depend on the similarly-named item which would be newly installed with Visual Studio 2008 - "Microsoft SQL Publishing Wizard"?

I still use SQL Server 2000 and 2005 on my computer, as well as 2008.

I had installed VS 2008 on my computer before without this problem and also have VS 2005 and 2010.

View 1 Replies

VS 2008 : Get Multiple Icons In A Project For Use With Shortcuts OUTSIDE The Project?

Nov 28, 2011

How do i get multiple icons in a project for use with shortcuts OUTSIDE the project..

View 7 Replies

VS 2008 Export A File From One Project Directly Into Another Project?

Jun 28, 2009

Is there a way that you can export a file from one project directly into another project?

For example, in one project i have a file called authInvalid.vb and i need to export it into another project?

View 4 Replies

VS 2008 Change The Application Version Without Publishing The Application?

Sep 23, 2010

Is it possible to change the application version without publishing the application? Because I'm going to make an auto updater which needs some version information to work, but I don't want to have an installer.

View 3 Replies

Convert .NET 2005 Project To C# 2008 Project?

Jun 16, 2009

Is there a tool to convert a VB.NET 2005 project to a C# 2008 project. I am trying to convert our project to VS 2008 and mostly port all the vb.NET code in some projects to C# 3.0/3.5.

View 6 Replies

VS 2008 How To Declare Things From BLL Project In UI Project

Apr 26, 2009

i'm doing a program, and i'm working with a guy (he's kinda like a teacher) and he's teaching me tiered coding, UI, BLL and DAL.i've been taught to have the UI in one project, and the BLL in another, but they're in the same solution. pretty much i don't know how to declare things from the BLL project in the UI project.

View 1 Replies

VS 2008 Project Does Not Appear In Recently Viewed Project?

Jul 9, 2011

I emptied the recently-viewed projects from the registry but now the project which I'm working on does not appear there even though I've opened it many times. How do I get the project to appear in recently-viewed projects?

View 5 Replies

How To Close One Form In A Project And Note The Entire Project When Using Me.close() In Visual Studio 2008

Mar 22, 2010

I am really new to Visual Studio and VB and I am having trouble closing a single form:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Me.Close()
End Sub

When I use Me.close() associated with this button it closes the entire project and not just the single form can anyone.

View 2 Replies







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