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
ADVERTISEMENT
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
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
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
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
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
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
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
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
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
Sep 17, 2009
recover a program from published files saved on a website?
View 2 Replies
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
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
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
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
Nov 30, 2010
This may be a dumb question, but I am stumped. I wrote a simple desktop application in vb.net (vs2005) and published it via the "deploy" method. After I deployed the app and ran the deployment exe - the application runs fine. However, I have recently added some command line switches so I can run the app via a scheduled job. But I cannot find the "exe" file in order to run the application from the command line. Am I missing something or did I deploy/publish the application wrong?
View 1 Replies
Oct 30, 2010
Ok a simple question, I should know the answer but I am embarrased to ask. How do I get the .Net 4.0 framework deployed with my application when I publish it.Instead of having to download it on other pc's. Im sure its just a tick box in the preferences/settings somewhere.
View 3 Replies
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
Sep 27, 2010
I want to know how i can add reports either crystal or microsoft to a folder called reports in my application and then for them to be displayed in my menu tool bar under reports and then for them to run once clicked. I know it can be done its just how it is done.
View 2 Replies
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
Jun 23, 2011
I have three data files that I include with my project. They are all set to Build Action Content and Copy to Output Copy Always. I have a preferences form that allows the user to copy these files to a folder of their choosing. It works fine in the IDE. However, when deployed one file will copy but the next returns an error the the file cannot be found. In the following code block a deployed application will copy ABW11Data.sdf but cannot find 100610_40.dtb or 2118@005.dtb. They are in the deployment files and I can search and find them in the clickonce installation although they are not in the same place as the ABW11data.sdf.
If My.Application.IsNetworkDeployed = False Then
My.Computer.FileSystem.CopyFile(My.Application.Info.DirectoryPath + "ABW11Data.sdf", TextBoxFolder.Text, True)
My.Computer.FileSystem.CopyFile(My.Application.Info.DirectoryPath + "100610_40.dtb", .SelectedPath + "100610_40.dtb", True)
[code]....
View 4 Replies
Jun 24, 2009
I have migrated a VB6 application to .Net which uses the MSFlexGrid in a total of 7 different places on 3 forms.When the compiled application is installed on a non-development PC, one of the forms throws a LicenseException when trying to create the instance of the MSFlexGrid control.The other two forms successfully create and use the MSFlexGrid instances that they contain.The problem doesn't occur when the application is run on a development PC.[code]I have looked at the designer.vb code for the forms, comparing the instances which work with the one that doesn't.In both cases, (working and failed) the same calls are made to the control wrapper (i.e. a new instance is created, BeginInit() is called, attributes are set, it is added to the containing control, and EndInit() is called, where the exception is raised.To reiterate, this is not the 'usual' problem of a missing developer license.The exception is not occuring during development, it is occurring in the application installed in the production setting.
View 1 Replies
May 26, 2009
I've created a VB.NET Windows Form application which pulls info from an MSAccess database via datasets and tableadapter. When the user makes a change to the data, I use the Update method of the tableadapter to send the changes back to the database. This all works fine in the Visual Studio 2008 IDE, but once the build is done and the application is installed, I run into problems. The application keeps the original data and will not read or write to the database, although any changes I make through the application are mysteriously saved somewhere. If I make changes directly to the database using MS Access - which I need to be able to do - those changes don't show up in the data pulled into the application.
View 13 Replies
Jun 15, 2010
VB.NET: Can the .EXE built by VS2005 be deployed as a standalone EXE?When I change the mode in VS2005 to "Release" and build the solution, the binRelease directory then contains the solution .EXE file, but also a .pdb, vshost.exe and .xml file. What are these extra files and are they necessary?
I copied the .exe file to another machine and it executed properly, but there was a significant delay when it first executed - thereafter it was like any other program. What is the reason for this, Is it because the other 3 files in the Release folder are not there with it?
View 4 Replies
Aug 12, 2009
I would like to create a desktop shortcut for my clickonce deployed application.The IDE is VS2005 and there is no need for upgrading to 2008 yet.
View 3 Replies
Feb 15, 2010
I have a file in the Resources folder for one of my libraries, which is set to "Content" and "Copy Always".In debugging, the file is there, and the program works.
View 2 Replies
May 20, 2010
I have a vb.net app that is installed on server 2008 and registered as a remote app with approximately 70 users accessing it. There is an issue that when I put a new version of the app on the server, every user must remote desktop in and run setup.exe before the app will update to the newest version. If they try to run it without doing this step first, the app just runs the previously installed version under their login.
View 2 Replies
Apr 5, 2010
I deployed a VB.Net app and ran it and I get 'AppName has stopped working" "Windows is checking for a solution to the problem" along with a Cancel button under Windows 7. Under XP I am only getting the option to Send the error report to Microsoft or not. There is no apparent way to hook into a debugger. I am not getting any exception data. I have put msgboxes at the very start of my code and they are not hit so it is failing before any of my code is even executing. I have checked all dependencies that I can think of. I developed the app on VS2008 Windows 7 and deploying to Windows 7 and WinXP. I need some advice - how do I debug this?
View 2 Replies
Feb 18, 2011
Using the clickonce deployment, how can I change the location where the project is going to be deployed? I want it to be deployed to program files!
Because at the moment and I suppose as default the files are going to C:UsersAdminmgrAppDataRoamingMicrosoft......, it is even hard to find them at all
And also how to create a shortcut after it installs ? those are the features I could not find how to do using the clickonce. I know there are setups as well but I have read somewhere that clickonce should be able those two things and I would prefer to use it.
View 7 Replies
Nov 17, 2011
I am trying to access the private key of a certificate I uploded to Windows azure do do decryption. I used a code similar to this post: Using DotNetOpenAuth OAuth 2 with Azure - Reading Certificate - difficulty extracting keys. Andrew Arnott provided an answer to what post referencing this link:[URL].. However I cannot access it so I am not sure what is the solution.
Essentially when try to cast the private key of a certificate as a RSACryptoProvider. I get nothing:
Dim provider As RSACryptoServiceProvider = DirectCast(certificate.PrivateKey, RSACryptoServiceProvider)
That is provider is assigned nothing. The code works perfectly outside of Azure.
View 1 Replies