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."
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!
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
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"
Trying to publish a click once type app to a local directory and create a websetup with the published contents- so that i can give tat setup to install in two different servers. but as the publishing wizard takes a URL - separate setup is required for each server. Is there any way that i can create a single setup which i can use it in two servers..?
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?
I have a question regarding publishing vis ClickOnce. For the publish options, there is a Publishing Folder Location and there is a Installation Folder URL. clarify the difference between Publish and Install, and when it would be apropriate for the two to be different?
I know the express edition of Vb does not give a detailed publish but i want to ask something. I have made program that uses database (Sql), and also my program uses folders (Help, Pictures etc..) I tried to publish my program but the express edition does not have an option to add my folders. So i tried to publish with "inno setup" program. But this time my program does not work in computers which dont have "Sql Server 2008 express". I tried to put "Read me " file, that says "First setup Sql Server 2008 Express from internet then setup .Net Framework from internet then setup the program" but it is so hard for user to do those thing. Is there any way easier? (Does the computer must have Sql Server to work with my database?)
Published VB program will not run on another computer yet works fine on the computer the program was written on. Message window during set-up on the other computer reads "Cannot download the application. The application is missing required files." The set-up file is being run from a flash drive.The entire error summary is included below. A recurring line in the error message summary is "+Downloading file:///C:/Documents and Settings/username/Desktop/Application Files/filename_1_0_0_6/filename.exe.manifest did not succeed."The word "filename" is the name of my program. "username" is the computer's owner.Interestingly, the "manifest" file on my computer is kept in C:UsersusernameDesktopApplication Filesfilename_1_0_0_6filename.exe.manifest" I'm running Windows7; the other computer is running Windows XP.How do I get my program to run on another computer?
PLATFORM VERSION INFO Windows : 5.1.2600.196608 (Win32NT) Common Language Runtime : 2.0.50727.3625
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?
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
i would like to ask if it is possible to implement clickonce like in vb2008 in vb.net 2003?..example:i have a button "Update" in my application running on local machine...if i click it it will check the remote server if there is an update of that app.if yes then download it an change the application on local machine...
I have an application that was deployed almost a year ago using clickonce. My Test certificate is about to expire. Seemed to have read somewhere that the problem was fixed in VS 2008. Can someone confirm and tell me if there is something I have to do to keep my users up and running? Also, if I make changes to the application and redeploy after the expire date, is there anything I need to do? I don't know anything about certificates just that I had to create one to use ClickOnce.
I am having great difficulty installing my app from a Click Once Deployment from my website using IIS6 I have done some searching online and I have carried out everything I can find but still nothing. I have tried with the .deploy option on and off and I get the error:The Page Cannot Be Found - HTTP Error 404 when I hit the 'Install' button and its trying to launch /setup.exe I have added the following into Mime Types:
.exe .manifest .deploy .Application
and I have Restarted IIS Service after the changes as documents somewhere.
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.
how I can implement my calendar with VB .net express 2008 and MSSQL 2008 Express. How do I get it to work with datasets, binding source etc.If I go to Properties>settings my connection string is:
Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|CalendarDatabase.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True
and I have a table with fields:-
CalendarID Subject Location Purpose
[code]....
I can Add the event to the calendar I have the necessary items on my form linked to my table and I can save them to my table:
I've used VB2008EE to create a Windows Forms app which includes a Help form. The helpform contains a Treeview for navigation and a WebBrowser control which displays the relevant part of an HTML page containg the help information.The app is intended to be used offline - so I need to include the HTML page file as part of the published app, and I need to be able to specify where this HTML file will be installed on the target computer so that the URI in my Helpform which loads the Help page will locate this file. (I expect the HTML file should live in the directory pointed to by the:
I have written a program and deployed using clickonce to all desktop users. Additionally, the program is also installed (non clickonce) on a terminal server. (For security reasons, these users cannot install on their desktops). I need to add some code to the current program but only need this code to happen if it's being run as a Non ClickOnce Application. Does anyone know how to determine if the running version is a clickonce or not? Is there something in System.Deployment.Application that identifies?
My application is small, I intend to use the installer that comes with VS 2008 Prof.Edition, or ClickOnce.I'm wondering which is better, I need to include a copy of the .NET framework 2.0 in a package, and have it installed simply, and also be easy to uninstall.
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?
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.
I'm just using the default SQL Server Express in my vb 2008 express edition as my database server for my database operation. When I tried to update the records on my table I got a runtime error which indicates the error on this line 'myCommand.ExecuteNonQuery()'and it highlights a yellow background on it. The runtime error says "SqlException was unhandled: An expression of non-boolean type specified in a context where a condition is expected, near 'Number'. ".
Imports System.Data.SqlClient Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim myConnection As New SqlConnection Dim myCommand As New SqlCommand
I tried to start using VB 2010 Express with a program I originally developed with VB 2005 Express that I moved to VB 2008 Express successfully a couple years ago. It uses a database file (*.mdf) that is on the computer ( not out on a server). When attempt to run the program in debug mode, I get the following error "An attempt to attach an auto-named database for file C:Documents and SettingsTomMy DocumentsQuizzing StuffQuestion Database 2010QuizQuest ionGameQuizQuestionGameinReleaseQuizQuestionDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share."
I first made a copy of the entire project folder that was working in VB 2008 Express and gave it a different name. In VB2010 I opened the project in the copied folder and it said it successfully converted the project. I am able to open the Data Source inthe Designer and see the database structure as I expect. I think the project is still using SQL Server 2005 Express (because it is what is checked in the list of prerequisites on the Publish tab).
Note, I have programmed off and on for many years, but fairly new to using databases and SQL Server.
Here is the scoop: I am trying to make a user account SQL database work with Visual Basic 2008 Express for login purposes, i.e. usernames & passwords. Plan is to host this server so people can login to use the the application and verify they have a valid account. I would like to host all the account information in SQL due to the possiblity of hundreds of users at any given time. I also need the ability to add data to the database for users registering for the first time. The SQL server will need to be able to access the SQL Server databases remote via WAN.
I am trying to re write a VB6 program using MS Access, many years ago, using VB 2010 express and SQL server 2008 R2 Express. I have a database with several tables, which I created using the designer. I am able to connect to the database and select data and display it in textboxes etc in vb code. What I have not been able to in code is to INSERT rows DELETE rows or UPDATE any data in the tables. I can do any of these operations using the Query Designer, but I want to do it in code. I can post some code if necessiary, but I thought it might just be some property that I had not set in the designer.
I am trying to deploy a VB.net application that is currently using SQL Server 2008 as its database to connect to.I need this application to be able to include a copy of its data so that wherever I install the application there is no need for them to install SQL Express.
What i have been reading is that I should of been using SQL Server Compact Edition to do this. Is there any way that I can do this with using an .MDF file?If not, is it possible to convert an .MDF file to .SDF and then just include it in my vb.net app?
VS 2008 / VB.Net / WinForms I have an application setting (Settings.settings) for a project and I am using Click Once deployment. I used the VS Editor to create the setting and I can see the setting in the app.config file