Publishing A Project In VB2008?
Sep 5, 2011This problem suddenly arose after several months of successful publishing.I am still able to build the project.
[Code]...
This problem suddenly arose after several months of successful publishing.I am still able to build the project.
[Code]...
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
[code]....
As part of my VB2008 Express edition app there is a web page containing help info. This web page is accessed locally from the app using a form containg a Web Browser control. The page (e.g. "foobar.htm") contains approx 15 screenshots - and so there is a directory ("foobar_files") associated with the htm file.
I can successfully add the help page to my project and then after installation access it from the apps startup directory (or copy it to the user's My.Documents directory) but I'm at a loss as to how to include the associated "foobar_files" folder and it's contents - such that after installation the web pages images become viewable in the apps WebBrowser control.
I have also tried creating the page + images as a single file web page (i.e. foobar.mht) format - but the VB2008 WebBrowser control doesn't seem to handle this.
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 Repliesi 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 RepliesI 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]...
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?
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 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 RepliesI 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?
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.
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]...
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 RepliesI have a problem with building a project. When I build a project and when I create .exe file, I cannot run it on other computers.There is an error: "The application failed to initialize properly (0x0000135). Click OK to terminate the application.".ca i have any chance to solve this error without installing framework 3.5
View 2 RepliesI have a problem with building a project. When I build a project and when I create .exe file, I cannot run it on other computers. There is an error: "The application failed to initialize properly (0x0000135). Click OK to terminate the application.". When I install .NET framework on the computer, than there is no this error. Is there any chance to create a file that will run on the other computers without installing the .NET framework?
View 8 RepliesRun project error from VB2008?
View 3 RepliesI am using Visual Basic Pro 2008 SP1. I am currently working on a windows application form project and everything was fine until recently when I try to add a new item (does not matter a new form or control), the whole program is frozen up. If I look at the task manager, the "devenv.exe" process memory usage keeps increasing until FatalErrorOutOfMemmory. I can run build, debug without any error. I can publish the project and run the program without any problem too. I have tried to open a new project and I can add a new form or control without any problem. I wonder if there is something in the project causing this problem and where I should start to troubleshoot it.
View 5 Repliesexit VB2008 without saving the current project?Or to revert to the previous saved version?After trying a few changes in my program I decided that is was not the way to go. So I wanted to discard my changes and start again with the program the way it was.
View 9 RepliesI am not able to use Format function in a converted VB2008 project in VS 2010.
MSDN Documentation about Format function in not available for VS 2010.
Has that function been deprecated? If so, what is the alternative?
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 RepliesI want to use "System.Configuration.ConfigurationManager" in my project, but when attempting to use it, I get the error "ConfigurationManager is not a member of Configuration".
[Code]...
I'm trying to integrate "DesktopSerialPort" into my VB2008 project
View 1 Replies In one of my forms witch I imported from VB2008 there are all properties saved in the *.resx file. One Property, of the Type System.Windows.Forms.Keys, can contain the Value 'Ctrl+F1' witch compiles fine in VB2008, but not in VB2010. To reproduce, simply add the following to any resx file:
<data name="cmdFenster.ShortcutKeys" type="System.Windows.Forms.Keys, System.Windows.Forms">
<value>Ctrl+F1</value>
</data>
It will compile fine with VB2008, but not with VB2010. Notice: The VB2010 also generates this Code in the resx file
Public Class ExtendedDateTimePicker Inherits DateTimePicker
View 5 RepliesFor 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 RepliesI had a working WCF published to IIS on my server. Recently I created another, self-hosting WCF (windows service) and added a reference to it from my WCF on IIS. Like this:
ASP --> WCF (in IIS) --> WCF (as win service)
Now, I can't seem to add a reference to my first WCF in my ASP app. So I've got this:
ASP XXX WCF (in IIS) --> WCF (as win service)
Here's the service model from the WCF in IIS. I'm publishing to http://localhost/LetterWriterASP/
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.A full list of settings and comments can be found in machine.config.comments usually located in
WindowsMicrosoft.NetFrameworkv2.xConfig
-->
<configuration>
<configSections>
[code]....
when i publish an app in vb.net it creates some files: application files directory, app.application, and setup.exe i am going to be distributing this application to people who can barely use a computer, so i need to bundle everything in one, self-extractable package.
View 1 RepliesIn my current program, I'm calling some EXEs by just clicking on a button (so basically an all-in-one tool). (I'm using VS 2010)Question is: when I publish my project, you get of course a setup which you have to install. I'd rather have it be an EXE you can just launch.
View 5 RepliesI have a project that I have created, it something like a contact database.It is complete with its own sql server database, and controls and forms.I kinda of understand that I can include this project into another project.This is the tricky part,Can I include my contact project into another project and add more items to the database and forms in a new project?What I'm after is like using classes.My contact database would be like the base class, and the new project would be adding more features to that project.
View 10 RepliesI'm a college student, and I made a web-based game for a friend using Visual Studios. I created a WPF project, and it's saved as an .xaml file. All of the free web hosting sites I've found would only let you post in HTML, CSS, or Flash. I've looked online for any help, and even looked for converters.
View 2 Replies