LicenseException For AxMSFlexGrid In Deployed Application

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


ADVERTISEMENT

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

Using Switches In A Deployed Application?

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

.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

Add Crystal Reports To Deployed Application?

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

Deployed MSAccess Database Not Updated Through Application?

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

Desktop Shortcut For Click Once Deployed Application?

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

Smart Client Application Deployed As A Click Once Application Called "PDFSplitter"

Jun 24, 2009

I have a smart client application deployed as a click once application called "PDFSplitter". The link to install this PDFSplitter is on our company intranet and when you click the link you get a "The publisher could not be verified. Are you sure you want to run this software?" message. Is there any way to make this message go away?

View 4 Replies

Finished A Console Application And Deployed It To Several Computers On Our Network For Testing

Dec 17, 2011

I have recently finished a console application and deployed it to several computers on our network for testing. As it is just an EXE a copied to the hard drives of selected computers for now. When the app is launched it writes info to an sql DB so I always know which computers it is on.

During the past few weeks I have modified this app at least 6 times (improvements, adjustments, etc)

It is a paint to keep going back to the computers to update it with the new version, and getting mixed up which version i am on - LOL I am looking for advice on how I would go about doing this automatically, for example, it would be cool if I just had to put an updated file in a repositry and clients would use this to update.

In Visual Studio, when I view the properties of my application>assembly information - I can set a file version. Is it possible to extract this info and store it in a variable? I would like to dump the in my DB. Also I could then possibly compare the file version of the launched app against an updated file in a network share folder.

View 16 Replies

Deployed And Installed Application / Want To Attach Database Within SQL Server Management Studio

Mar 9, 2009

I've developed an application in VB2008 express and have installed it to another PC. The installation has put the mdf file in c:documents and settingsuserappsdata.I want to attach this with SQL Server Management studio but when I try to browse to the file in order to attach it, I find I can't browse further then C:documents and settingsuser.

View 3 Replies

Error: "AxMSFlexGrid" Is Ambiguous In Namespace "AxMSFLexGridLib"?

Mar 26, 2010

I have this application where I am getting this error. What can I do to resolve this?

View 2 Replies

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

VS 2010 .net 4.0 Framework Deployed With App?

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

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

Copying Deployed Data Files?

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

Deployment - EXE Built By VS2005 Be Deployed As A Standalone EXE?

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

IDE :: Resource File Not Being Deployed With ClickOnce Installation?

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

IDE :: Upgrading App Deployed As A Remote App On Server 2008

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

Launching Deployed App Error: Stopped Working

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

VS 2008 Change The Location Where The Project Is Going To Be Deployed?

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

.net - Accessing Private Keys From Certificate Deployed To Windows Azure?

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

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

.net - Component Not Found When Deployed On IIS But Found When Running ASP Development Server?

Oct 1, 2010

We have an VB.net application that is being moved from one box to another. It runs great on the old box. The new box is configured the same as the old one but is on newer hardware. When I run the application on the new server it complains that the adobe toolkit that we use can not be found.

View 2 Replies

Deployed It Using The "click-once" Method?

Nov 14, 2010

I have the following configuration:

Code:
Windows 7
Visual studio 2010
Microsoft .NET Framework 4.0
Microsoft SQL Server Compact 3.5 x64

I have developed a windows forms application on VS, and i deployed it using the "click-once" method. The software works fine on my PC.When i installed it on :

Code:
Windows XP (SP3)Microsoft .NET Framework 4.0 Microsoft SQL Server Compact 3.5 x86 I got a weird error. It installs fine. But when u run the application it generates an error.When i installed this file on another laptop with has Windows 7 and the same config as before, it generated a SQL server instance-specific or network-specific error.

I was getting this instance-specific n network-specific error before, while installing the sql server 2008 R2 express. but later on, it got resolved.

View 3 Replies

Developing Messaging Framework For Windows Application That Sends Messages To Java Application

Feb 9, 2009

I am in the process of developing a messaging framework for a windows application that sends messages to a java application. To be precise when the win app wants to send a message it simply drops the message in a common database table which will be picked up by the java app. The windows application is deployed across 10 application servers (10 instances) over citrix for load balancing.Each instance of the application is capable of sending a message to the java application and each of these messages should have a unique id. From my end I need to make sure every message generated has to carry a unique id so that they can be identified when necessary. All the messages can be cleared every day or two.i am not quite sure about a best method of achieving this. Initially I wanted to create a static method that serves the next available id (incrementing the last id by 1). But this approach willn't guarantee unique number as the application starts only when at least one user is logged on. For e.g .On one server the app starts when a user logs in, he then sends a message and then the application stops when that user logs off. So when a next request for the app comes to that server a new instance will be started.

View 3 Replies

Error Application Failed To Initialize Properly (0xc000007b) Click OK To Terminate The Application

Aug 13, 2009

When I install .net Frame work 2.0 I had this Error when the setup writing system register values RegSvcs.exe-Application Error The application failed to initialize properly (0xc000007b) click OK to terminate the application and i have running an blank application (blank forum) and i running it in the VS 2005 IDE iget this error: windowsapplicatin1.exe-Application Error The application failed to initialize properly (0xc000007b) click OK to terminate the application and i have a program in setup package that i made from 1 week . i have install this program and when i want to run it i had this problem

[Code]...

View 2 Replies

Message :'Application Failed To Initialize Property Ox700000000000000 ..... Click Ok To Terminate Application'

Apr 11, 2011

When i click on my installed VB.net application icon on the desktop,i receive the message : 'Application failed ti initialize property ox700000000000000 ..... click ok to terminate application'.

View 2 Replies

Remote Desktop Application? Safe To Use Winsock In Creating A Client/server Application?

Jul 18, 2012

Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.

Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?

View 3 Replies

VS 2008 Make One Application Send A Task To Another Application / Receive Result From That Secondary App?

Apr 26, 2010

is it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?

View 11 Replies

.net - Store Application And User Settings Of An Application Running With Multiple Instances?

Jul 12, 2011

Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.

View 1 Replies







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