VB 2008 Express Published Exe Will Not Run On Other Computers

Mar 11, 2010

Application runs fine on the computer that I used to create it.The application has 3 functions:

Button1...locate and preview an image file.
Button2...creates an email with html link...creates an html page file...ftp's the image and html files to server...sends email.
Button3...ftps image file only.

Publish and install on another computer and I have problems.

Button 1...Will load and preview file correctly.
Button 3...ftp image file only.
Button 2...I get an error (my own 'failed' message)

I have the same net framework 3.5 sp1 on all computers.What am I missing?I am thinking now it is code, but why does it will work on one and not the other.Do I need to install VB 2008 express on every computer that will be running this app just to insure that the computers are the same?

View 4 Replies


ADVERTISEMENT

Published Application Won't Launch On Other Computers

Aug 15, 2011

I've been working on a piece of software for a few weeks now and I've got to the point where I'm publishing it and testing it on other computers, namely my colleague's. We're both working on the same network and have similar permissions for our accounts, but for some reason the application will launch on my account but not his.

We've tried using the same computer and just changing accounts, but that won't work either; he still isn't able to launch the published application.

I receive the standard "[x] has encountered a problem and needs to close. We are sorry for the inconvenience." message.

What is baffling me is that we've tried previous versions on his computer and they worked just fine. I can't think of any changes that I've made that would suddenly stop the application from running.

A few extra pieces of information: the application has a splashscreen, which displays for a few seconds before the error message crops up. In this time, the program is supposed to check if certain files and directories exist and, if not, create them. It also changes file attributes. These files exist in a directory we are both able to access and both have permissions to change. It also changes and sets some variables within the program itself, but I don't see that being an issue. It is able to catch exceptions of type IOException and InvalidOperationException (which was being thrown when a computer didn't have access to the intranet).

View 4 Replies

Install Of VB 2010 Express On Multiple Computers?

Apr 14, 2010

I installed VB 2010 Express on 2 different computers using the same activation key. An XP machine and a win 7 machine. Is this is allowed? There is no FAQ and since its free I figured this was OK. Is there a Microsoft Certified person here that has an answer for this 100%?

View 1 Replies

VS 2010 Program Crashes As Published Executable, Not As Program Running In Studio Or Express?

Jun 6, 2012

I wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.

View 5 Replies

VS 2008 Debug Published App?

Jan 9, 2012

I have written a fairly basic application. It reads txt files, loads a SQL, and outputs to text files. The application compiles and publishes without an error. The app works perfectly on my PC. I can not get it to work on any other PC. Application will install without an error but when I try to launch the app, nothing happens. Running out of ideas to try and hoping someone may have some tips or tricks to try and see what is going on that I have not tried.I am running Windows 7 Pro - 64 with Visual Studio 2008. The only references are for .net 2.0 and ADODB.DLL. I have setup the app to include all references as local copy to true.

I have tried installs on Windows 7 Pro, Windows Server 2000, Windows Server 2003, Windows XP Pro, and Windows Vista. All install without error. Have tried installed as user with admin rights and the PC's primary admin account. When you launch the app, there are no messages in all OS except Windows 7. It will basically Flash a message about checking for compatability and run you through a wizard to see if running as XP or Vista works and it doesn't.

View 14 Replies

VS 2008 - Published EXE File Does Not Work

May 8, 2010

I have a windows form app. project and when I start the debugger my form with datagridviews works fine, but when I publish the application the exe file does not work. When I double click the exe file, I get two small empty windows and the second one has a ok button on it, when I click it both windows disappear. I work with vista 64 bit and I have made another small editform which works fine.

View 2 Replies

VS 2008 Published App Takes A Long Time To Load?

Feb 10, 2010

Whenever I publish my app, or when I run the exe from teh debug folder it takes a couple of seconds before the splash screen shows.However, when I run it from within VB (by pressing the "play" button) the splash screen shows immediately.

What could be the cause of this?

View 2 Replies

VS 2008 Setting The Installation Location Of A Published Application?

Jan 11, 2011

I have published a vb.net application and installed it on my PC. When I try to locate the installed application, I dont find the location where its been installed.

How to install a publish application on a specified location in C:Program FilesProject?

View 8 Replies

VS 2008 Unspecified Error When Executing Published Setup.exe

Aug 15, 2010

I have published application before and they all (3 setup files) work fine. The problem is I don't know anymore how I exactly did it. Now I am trying to publish another form which has a connection to my sql database. The publishing goes fine: publishing folder is: C:Movie-databaseApplication 4 and installation folder is the same, and I therefore leave it empty. Application is available only online. But when I execute the published setup.exe I get two windows with no info about the error: see attachment.

View 3 Replies

VS 2008 Unspecified Error When Executing Published Setup.exe?

Oct 2, 2008

I have published application before and they all (3 setup files) work fine. The problem is I don't know anymore how I exactly did it.Now I am trying to publish another form which has a connection to my sql database. The publishing goes fine: publishing folder is: C:Movie-databaseApplication 4 and installation folder is the same, and I therefore leave it empty. Application is available only online.But when I execute the published setup.exe I get two windows with no info about the error: see attachment.

View 12 Replies

VS 2008 Published Projects - Get Hold Of The Actual Executable File

Jul 31, 2009

When a project has been published the file that is put in my start menu is an application reference. How do i get hold of the actual executable file so i can post a demo?

View 3 Replies

SQLServer.Diagnostic.STrace V 10.0.0.0 Is Claimed On Customer PC To Execute A VB 2008 Published Program

Aug 25, 2010

I have updated a VB 2008 Winform program and published it on a shared folder. The customer can no longer use it because, at launch time, it claimed for SQLServer.Diagnostic.STrace v 10.0.0.0, what it did not before. The only thing I can think at is that I have also recently installed VS 2010 on my PC. Does it change the way VS 2008 work ? How can I solve this issue on the customer PC ?

View 2 Replies

Implement Calendar With .net Express 2008 And MSSQL 2008 Express?

Sep 21, 2009

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:

Me.Validate()
Me.CalendarTableBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.CalendarDatabaseDataSet)

But I cant keep the event displayed on my calendar when I close it and open it again.

View 1 Replies

Proper Update And Delete Code For SQL Express In 2008 Express Edition?

Oct 3, 2011

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

[code]....

View 3 Replies

Unhandled SqlException In VB 2010 Express Thta Does Not Occur In VB 2008 Express?

Oct 16, 2010

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.

View 3 Replies

Connecting VB 2010 Express To SQL Server 2008 Express Database Via IP

Feb 29, 2012

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.

View 1 Replies

INSERT Or Update In SQL Server 2008 R2 Express In VB 2010 Express

Jan 21, 2011

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.

[Code]...

View 13 Replies

Connecting VB 2010 Express To SQL Server 2008 Express Via IP

Feb 29, 2012

there Dream in Code Community! Im an okay programmer as far as skill right now I am still learning as we all are I need some help from some experienced VB.NET programmers in the community, 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.

[Code]...

View 2 Replies

Converting A VB 2005 Express Program To VB 2008 Express

Feb 24, 2010

The program I am trying to modify was initially written using VB 2005 Express. I have subsequently downloaded the 2008 version. The program creates a monthly spreadsheet from a template. The old code that will no longer (highlighted and underlined) compile is as follows:

[Code]...

View 4 Replies

List All Computers On The Network With 2008?

Apr 11, 2010

I wonder how do I list all computers on the network with vb 2008?I know to do in vb6 I have no more sense in vb 2008.

View 2 Replies

Macbook-computers Run Programs From A Vb 2008?

Jun 6, 2009

Can Macbook-computers run programs from a vb 2008 .net, Windows Vista computer?

View 6 Replies

VS 2008 : Copy Files Between 2 Computers Over LAN?

Mar 28, 2012

It is possible to copy on file (.txt) from a computer to another over LAN without using file sharing? Something like client-server app?

View 5 Replies

VS 2008 Mute The Computers Volume

Feb 7, 2010

How can I make it so a command button or whatever you'd like to use can mute the computers volume, then unmute it?

View 2 Replies

Connecting To SQL Server 2008 Express From VB 2008 Express?

Mar 5, 2010

I'm using VB 2008 Express for our College Project. I'm also running SQL Server 2008 Express and have installed SQL Server Management Studio and used it to create my database. Both software have been installed and running locally. I'm trying to connect to the database from VB 2008 Express. Database connection wizard have 3 options:

connecting to Access db
connecting to SQL Server 3.5 compact db and
connecting to SQL Server db file.

[code].....

View 1 Replies

Connecting VB 2008 Express To SQL Server 2008 Express

Jan 7, 2010

I have SQL 2008 Express and Visual Basic 2008 Express runing on XP Professional SP2. When I select add new data source from VB I don't have the option to connect to SQL Server 2008 express to get at the to SQL Server Database. I also notice that the OLE DB connector is not availble as a data connector. Can somebody please confirm that VB 2008 Express can connect directly to SQL Server 2008 Express and how I can achieve it.

View 5 Replies

Use VB 2008 Express And Connect To A DB Of SQL Server 2008 Express?

Jan 7, 2009

'm trying to use Visual Basic 2008 Express and connect to a DB of SQL Server 2008 Express but ... you can tell me why in the Database Explorer and the Data menu of VB only have the following options for data source? Microsoft Access Database File Microsoft SQL Server Compact 3.5 Microsoft SQL Server Database File does not have the options Microsoft ODBC Data Source Microsoft SQL Server obs.: I have the Visual Web Express 2008 installed, and there are the options available.

View 10 Replies

VS 2008 - Sending URL Saved In Textbox Between Computers

Nov 19, 2009

I am trying to create a program that will send a URL saved in a textbox between the program which will be on different computers. So one computer will be running the program and the URL they have will be sent to the program on the other program.

View 2 Replies

VS 2008 Get In A Listbox All Computers In A Workgroup, NOT In A Domain?

Mar 4, 2010

how to get in a listbox all computers in a workgroup, NOT in a domain?

View 3 Replies

VS 2008 Logged On User Name Error In Some Computers

Jun 9, 2010

I have this code that gives me the user logged on name of a remote computer, but if i run the program in certaing computers, it returns with the error "Not Available Due Restrictions" which is set if the scope cant connect...

why it connects fine in some computers and other not..is there something i have to add to the code for it to run fine in any computer

this is the code

vb.net
Dim connection As New ConnectionOptions
connection.Username = ("ADMIN")
connection.Password = ("something")

[Code]....

View 3 Replies

VS 2008 With Direct Show On Vista Computers

Apr 8, 2010

on good computers direct show works fine on vista computers that are a few years old; after playing a few (4 hours or so) videos my program crashes on this line:

[Code]....

when i say crashes it just stops responding ... i hit ctl+break and it has a green arrow on that line that means it's busy executing the constructor of the filter graph it seems to run fine on descent brand new vista machines, the memory usage is minimal on all occurrences. seems fairly constant on older machines.

View 2 Replies







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