Can't Run Published/deployed Program (debugging Version Work Find However)

Jun 9, 2010

I've been using a piece of code I found that reads in joystick movement into my VB application using DirectInput. Building an executable works great, the program operates as should be, however when I publish my program for final deployment, I get the following error:

"WindowsApplication has encountered a problem and needs to close. We are sorry for the inconvenience."

Here's some of the error details:

EventType : clr20r3 P1 : windowsapplication.exe P2 : 1.0.0.0
P3 : 4c0f1ae6 P4 : microsoft.visualbasic P5 : 10.0.0.0 P6 : 4ba2183b
P7 : 88 P8 : 8 P9 : system.io.fileloadexception

And then a second error pops up shortly after:

AppName: windowsapplication.exe AppVer: 1.0.0.0 AppStamp:4c0f1ae6
ModName: kernel32.dll ModVer: 5.1.2600.5781 ModStamp:49c4f482
fDebug: 0 Offset: 00012afb

The errors only occur once I try installing the program and just before the application loads.Here's the code for the program:

Imports System
Imports System.Windows.Forms
Imports Microsoft.DirectX.DirectInput
Imports Microsoft.DirectX

[code]....

View 2 Replies


ADVERTISEMENT

Can't Run Published / Deployed Program

Jun 8, 2010

I've been using a piece of code I found that reads in joystick movement into my VB application using DirectInput. Building an executable works great, the program operates as should be, however when I publish my program for final deployment[code]...

View 10 Replies

Links Don't Work In Published Program?

Jul 19, 2011

I included (as its a property compnay) photos, MS word docs and exel docs by creating links such as ths one:

Private
Sub
Timer1_Tick(sender As

[code]....

when i publish the program and export it to another computer these links fail and the pgm crashes.

View 1 Replies

.net - Debugging ClickOnce Deployed Application

Nov 9, 2010

I am new to ClickOnce deployment and at first glance it seems a great way to maintain .Net applications updated with ease. I am developing a simple application that stores information on a mdb database and over some XML files. I understood how to use the "data" folder with ClickOnce and I am developing the part of my application that should migrate the data from older versions after a ClickOnce update. Now I need to debug that part of my code that only runs when the application is in "networkDeployed" mode. So actually I'm doing the following really slow process to test a new deployed version:

publishing the application on a provisional website (I can choose between a faster locale iis site or a real online one) installing the application from the deploying website (the first time) or running the old installed application so it automatically catch new updates and gets updated... running the application

So basically I have two problems here:

the whole process is much too slow :/ I'm running the app as every other app directly from the OS, so I can't access to the debugger...

I am pretty sure that there are better way to test ClickOnce deployed applications...

View 2 Replies

AboutBox - Sink The Version Number In The Box With The Version Number Being Published?

Feb 8, 2010

I am using an about Box in my program and the version number doenst change.Its 1.0.0.0.0 , does anyone know how to sink the version number in the box with the version number being published.

View 3 Replies

Bcp Does Not Work In Deployed Application

Aug 21, 2009

I am calling a stored procedure that calls a bcp command from a visual basic 2005 application to export data to excel. When I publish the app on my machine the procedure works fine. However when I attempt to install on another users machine when I push the button to call the event ..the export does not happen. I am trying to install from a network and the other modules work fine.

View 2 Replies

Error In Published Version String To Double

Oct 1, 2010

I am getting an error message: Unhandled exception has occurred in your application.conversion from string"" to Double is not valid

I dont get this error when I am in debug mode only when I publish the program.

View 10 Replies

Can't Find Access DB When Deployed With ClickOnce

Jan 22, 2011

I have built a simple app that searches an Access DB. When I build it, I can run it without error. When I try to use ClickOnce to deploy the app, it says it cannot find the Access DB. I am pretty new VB.NET, working with a DB and ClickOnce, so any thoughts or assistance.

I have the the "build action" set to "content" and "copy to output directory" set to "copy always". In the Publish > App Files I have the db set to "include" and "required". Worse than a newbie, the business guy who wants to code...

View 2 Replies

Code That Works In Excel Version 2003 Does Not Work In Version 2007

Oct 21, 2008

This code no longer works in ver 2007:' Obtain max resources available for Excel

[Code]...

View 3 Replies

Images Don't Work After Project Is Published

Dec 15, 2009

If i use custom images in my programs from my pc. After i publish this and give it to my friends they get errors due to them not having the images. How do i go about adding the images to the application or just generally how you resolve this?

View 7 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 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

VB Express 2010 - Start Debugging Won't Work

May 3, 2010

Sometime when I press the run (F5) Start debugging button it does nothing. Often when I have jsut run it and made a quick correction. If left for a while it will then work! Have tried it with simple and complex projects.

Using W7 x64 - never had this problem with VB 2008 express.

View 5 Replies

Including DLL In Published Program?

Dec 9, 2009

I'm using a dll in my program, it works fine. But when I publish and try to run on another machine, it says the dll is missing.Am I right in saying that I need to add it to my references, with the Add button on the references page? When I do that, it says it's not a valid assembly or com component.

How do I fix this? My level of knowledge is very low, especially with dll's.

View 10 Replies

Can Re-open A Published VB2008 Program

Dec 5, 2009

I edited the development copy of a cherished program beyond restore by CTRL+Z, the original version which I want to recover is already published and it is in the c:/deploy folder but I dont know how to open such files for editing. How can I open this deployed program to edit and add some methods. I was cautious enough to save the program before editing but I was suprised that the original was over written by the edited copy.

View 7 Replies

Edit The Published Program Instantly?

Jun 6, 2011

i got a big project really big one and they need this new solution only because of peach tree, tally are not enough for doing their work. My program should be capable of bulk, multiple data transfer and usage at same time.The real problem is their main program is created 10 years ago in foxpro and they update it every month.!!the reason for they still using that old one, just because of it is highly flexible ! They really looking for a flexible program that can be changed settings instantly.

[Code]...

View 6 Replies

Published Program Not Responding To Mouse Down

Jul 11, 2010

I have written a very simple program to simulate the operation of some electrical relays which respond to buttons pressed on a form.The important thing in the program is the pick and drop times of the relays so I use about 40 timers to simulate the operation
of the relays each stimulated either by another timer or the operation of a mousedown operation over an area of the window which has a GIF background.

The program works great when simulated within VB2010 Xpress but when I publish and install on either of my 2 laptops it freezes and does not respond to the mousedown procedures. It seems slightly better if I don't enable XP visual syles but still does not respond enough to be used. I am running 12 procs each time a continous timer runs out but altering the value of the timer does not make any difference. I've also noticed if I minimise the window and reopen the window it does move on slightly but still never responds to the mouse.

Also the timers in the program for the relay times seem to work at strange values and not those set sometimes? It seems to work OK on my main PC if I install it

View 2 Replies

Program Runs But Can Not Open Pdf Because The Published Folder?

Jul 15, 2010

I made a project that open pdf files in the debug folder. But when i am trying to publish it program runs but can not open pdf because the published folder doesn't contains the pdf files. How can i publish my project with all the pdf and swf files?

View 12 Replies

VS 2010 Why Install Program Or Run From Published Location

Mar 1, 2012

In the past I have written VB6 and VB NET 2005 programs that are installed and on the user's computer. This had to be done because the salesmen in our company have has a set of local data on their laptops so that they could do work and not be connected to our network. I would then sync the files when they connected to the network. (This same program is used by the rest of the company as well, but everyone else uses network data.)We are now at the point where we are not using any local data. Our salesmen access our network data using an iPad, VPN, and a Citrix server, which works fine

View 2 Replies

Recover A Program From Published Files Saved On A Website?

Sep 17, 2009

recover a program from published files saved on a website?

View 2 Replies

Unhandled Exception When Running Built And Published Program?

Dec 30, 2010

I have been teaching myself to code in VB 2008 express so please excuse this question if its truly noob. :)I have built a simple database program to record my clients details in window forms...1: I created a database and connected it to my project by using the Data Sources "Add New Connection" function2: I have a add client page - I added the fields by dragging the table onto the form after setting it as "detail mode" in the Data Sources box3: I also have a Search Client page - I added the client table by dragging it onto the form in "Grid mode" then added queries to be able to search the table.

ERROR I GET:
Unhandled exception has occurred in your application. If you click Continue , the application will ignore this error and attempt to continue. If you click Quit, the

[code]....

View 13 Replies

Menu Strip - Make Ones Like 'Open' 'Exit' 'Undo' And Redo' Work When Start Debugging?

Aug 6, 2009

I have created a Form, added a MenuStrip to it and inserted the standard Items. My question is that I know some of the options won't work like 'Save' and 'Save As' but how do you make ones like 'Open' 'Exit' 'Undo' and Redo' work when start debugging?

View 9 Replies

Published Program Doesn't Include Text File And Database It Needs To Run

May 11, 2009

When I publish my program I get no errors, and then when I install it on another machine it says it gives me the error that it can't read the txt file that it stores data in. If I hit continue it also fails to read the database. The database file is stored in the bin/debug folder and I told my program to include it when I first added the data connection. Anything I can do to have these included so my program can run on other machines?

View 6 Replies

VS 2008 Specify The Net Frame Work Version?

Apr 17, 2012

(1) how to know which version of .net framework i am using for my application

(2) is it possible to force my application to use .net frame work of any specific version only

View 5 Replies

Write VB Script That Will Work On Any Version Of Windows

Apr 25, 2011

What I need to do is write VB scripts that will work on any version of Windows, right back to 3.1. I may need to write several files for different Windows versions, I just don't know.
[Code]
This runs on Windows Server 2003 and XP. I've tested it on those systems. But will that run on Windows 7, Vista, 98, 95, NT, 3.1? If not, which language/version do I need to use to do the same job on each system, and could you point me to the language reference?

View 4 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

Find Currently Used Version?

Aug 19, 2011

I'm working on a VB.Net Project and someone suggested me to use the VB2008 IF(a,b,c) operator. I think I am using VB2005, but I can't find where to confirm that information.

Also, is the server's IIS version important for the VB version used? (I think so, but I'd like confirmation... And a way to know what IIS version match what VB version).

View 1 Replies

Application Version Code Not Work In VB 2008 Express Edition?

Oct 19, 2009

I create a new Windows Forms application and add an AboutBox form which is built-in into Visual Studio. I add a button to Form1 to show the AboutBox when clicked.The AboutBox form has a label with the text "Version" on it. The following code is supposed to add the application's version to that label at run-time:

Me.LabelVersion.Text = String.Format("Version {0}", My.Application.Info.Version.ToString)When the application version is changed in the Publish tab of the My Project form to 2-0-3-6, the version on the AboutBox at run-time stays at 1.0.0.0 (of course after rebuilding).

Even when the application is published to the desktop, it still does not work. It does, however, reflect the correct version number in the title of a subfolder in the Applications folder that is created when the application is published.

View 1 Replies

Find Out What Version Of IIS That Need To Deploy ASP.NET+VB App?

Mar 17, 2009

I just got application written in ASP.NET and VB, can i deploy it on any IIS?Are there any files in project with that kind of information?

View 4 Replies

Find Version Of Access?

Jan 7, 2010

I have code below which determines the version of Access.It runs quickly on most PCs. We also have four terminal servers. On two of the terminal servers it runs fine. On the other two, this code takes over 15 seconds to run.All four terminal servers have Access 2003 runtime. I can't figure out why it would take longer to run on two servers. Would it be permissions? Or some mistake in the way the Access runtime was installed?

' Determine the Access version by creating an
' Access.Application object and looking at
' its Version property.[code]......

View 4 Replies







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