Publishing Application Files (MySql.Data.dll.deploy)?

Jun 26, 2011

Using: VB 2008 Express?I created an application that connects to my MySQL, and everything works fine, but...

1. On my development computer, Windows 7, 64bit, I add the MySQL.data.dll file as a reference. I publish the program, run the setup.exe, and sucess.

2. I then copy my published folder to my test computer, Windows Vista 32 bit, and upon running the setup, the program fails to work because it cannot find the Mysql reference.

3. I then transfer my entire project over to my Vista computer, publish the program, run the setup.exe, and sucess.

4. I finally found out what was happening. My Windows 7 comptuer was not including MySql.Data.dll.deploy file in the Application Files published directory; but when I compiled it on the Vista machine this MySql.Data.dll.deploy was included.

So, in the end, I cannot compile the program on Windows 7, because it fails to create the .deploy file, and use it on Vista or XP (for some reason Win7 doesn't need this .deploy file?); but I can publish it on the Vista machine and install it fine on Windows 7, Vista, or XP. My targe CPU setting is Any computer.

View 3 Replies


ADVERTISEMENT

How To Access Files In Data Folder When Publishing Application

Apr 8, 2011

I have added some files that I need to be downloaded to the Application start up path. So I set Build Action as content now the files have been copied some where
C:Documents and SettingsTestUser.ANNAMLocal SettingsApps2.0DataHVDRBMY5.8AA858AT9VM.TNP est..tion_2d7cfc137d9c2c74_0001.0013_432bd4561850d290Data
How can access file from the application. My problem since it is a dynamic path will it be same folder count so that we can use like ....Data Some think like this

View 1 Replies

IDE :: Deploy Data Files In Root Directory With Application In Its Normal Place

Apr 8, 2009

I am trying to deploy my first application using vb. I have tried to use the one click but here is my problem.

I have a group of data files, some *.txt and one access data base (*.dbf) that I need to have placed in a folder (that is created) located at c:monitor.

how to do it in either the one-click or in a setup project.

I would also like to have a condition that if the files exist that they are not overwritten with an updated installation.

View 2 Replies

Deploy Mysql With VB Application

Feb 15, 2012

I developed a vb.net application and TRIED MYsql for database as ( open source). i have to install this application in client machine? As i am new to MYSQL, for deploying MYSQL Database as a Setup installation (With application ) in client machine.

View 1 Replies

Publishing Vb Application With StreamReader/StreamWriter .txt Files

Mar 4, 2012

In my code I've allowed used to create their own mazes and save them, under whatever name they like. I've also included a few pre-created mazes. The mazes themselves are saves in .txt files in the bin/debug folder of the project, along with a .txt file containing the maze names.

I really need to publish this program to send it to my teacher, but when I publish it it doesn't include any of the .txt files in my bin/debug folder.

View 3 Replies

Deploy Windows Application With Attached .sdf Db Files?

Apr 29, 2009

I am working on vs2008+vb+sqlserver compact edition project which hav a attached .sdf database. Now i want to deploy my project to clients machine. I dont want to embbed sqlserver ce with my setup and also on clients machine. Now i m not getting idea, how to add sqlserver ce dll files with my application to deploy on client side and also i don't hav any experience of deployment. I m using a third party code security tool to prevent my codes and which also provides licencing facilities. So, How could i manage all these stuffs for successfull application deployment?

View 8 Replies

Database - Design And Deploy A Data Driven Desktop Application?

Jun 28, 2011

I am designing a desktop application that will be driven by local data. I am trying to determine the best way to accomplish this. The database would contain about 10-12 tables if I use a database and I would imagine no more than 10000 records in any one table (but honestly 99% of users would not have more than 1000 records). I am thinking about using SQL Server Compact.

Is this a good solution? I can certainly include this in my installation, but I am just wondering if anyone knows of a better solution? If this is the best solution, how would you suggest that I create the tables upon deployment? Should I just run "queries" with create table statements in them from my vb application or include a database file or what?

View 1 Replies

Data Logging Application That Stores Data In A Table In A MySQL Database?

Dec 18, 2010

I have a data logging application that stores data in a table in a MySQL database. Data with a TimeStamp is logged into the table anytime the data from the sensor changes. This means that there maybe 2 seconds between data points or there maybe 20 seconds between points depending on how the data is changing.

When I need the data I have 2 dates and use this command to fill a table..SELECT FROM myTable WHERE timeStamp > date1 AND timeStamp < date2 This gets all the data that has a TimeStamp between the given dates, but in most case the first date in the returned table will be after date1, so I need to get the data from one row before the date returned in the table to know what the data was at date1.How can I get the data row that immediately precedes the returned data set?

View 2 Replies

VS 2010 : Where Does The .xml Files Go After Publishing

Mar 10, 2012

an application that stores data in xml files,after publishing where can i access those files?

View 2 Replies

Publishing The App Flash Files Are Not Running?

Mar 12, 2010

i made an application vb.net 2008 express edition when i am debugging flash files r working fine when i am publishing the app flash files are not running?

View 2 Replies

VS 2008 Change The Application Version Without Publishing The Application?

Sep 23, 2010

Is it possible to change the application version without publishing the application? Because I'm going to make an auto updater which needs some version information to work, but I don't want to have an installer.

View 3 Replies

Deploy Applications To Program Files?

Jun 16, 2009

when i publish my applications in visual studio 2008. when it is installed i only see the entry in the programs list at the start menu and the application folder is thrown some where else(wonder where). So i was wondering is there a way to publish an application so that when it is installed, it gets installed in the program files folder on C:\

View 2 Replies

C# - Deploy An ASP.NET Application As Desktop Application (with Server Component)?

Jul 7, 2010

Question: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.That is working, so, so far so good.My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?

I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there The nonplusultra would be that it only starts the server when you click on the shortcut.

View 4 Replies

Publishing VB Projects - Files Required To Run The Executable

Feb 19, 2009

When a project is built in VB, the executable file is created in the \bin\Release folder. Apart from the executable there are other files that get created:

MyProject.application
MyProject.exe.manifest
MyProject.pdb
MyProject.xml

Are these files required to run the executable? Is having just the MyProject.exe file in the setup enough? And what are these files for?

View 2 Replies

Deploy Project To Other Computers And Transfer All Files That Need?

Oct 17, 2009

1.How can i deploy my project to other computers and transfer all the files that i need? I know i do publish, but do i need to change any of my files setings, or do anyting inparticular get the files to the automatically deploy.for example how MS Office suppliers all file you need to do templates and stuff.

2.How can i tell the other persons to create a folder if they havent got one? my locations to work from is here, but no one will have the rimless data sheets folder and the shapes folder.C:Program FilesRimless Data SheetsShapes.

View 4 Replies

Publishing My Application - Where Exactly Does The Application Gets Installed On My System

Jan 9, 2012

I have recently created an application with Visual Basic.NET. I published my application and installed it. Now the question is that I need to know where exactly does the application gets installed on my system ?

View 6 Replies

VS 2008 - Deploy (RTF) Content Files In Specific Folder

Mar 11, 2011

I've created a Setup project (in VB.Net 2008 Standard Edition) and I need to deploy some .rtf files in a specific folder for the user to edit. I've added these files to the project as content files but the Setup project installs them in Program File/MyApp along with the exe. As these rtf files need to be found easily by the user I need to specify a different folder on the hard drive. These are not mdb or xls files so are not used by the app itself. All the user needs to do is find them manually loading them into MS Word for editing. I don't need to load MS Word from the app, but I do need to deploy them so the user has access to them. How do I edit the file path so it does not bury them in Common Files or the User App Data or app folder itself? Ideally, since these are rtf files they could go in My Documents. (The app itself will work whether or not these files exist elsewhere.)

View 5 Replies

Install .rtf Files In Folders When Building/publishing/installing Program?

Oct 18, 2010

I could not figure out the key to installing folders/subfolders/.rtf files during deployment/installation. The key here is to 'add' folders and subfolders to the project in solution explorer, then adding existing item (.text (.rtf files in my case) files) then selecting the .rtf file in solution explorer.go to its properties and under 'Build Action' select 'Content' (very Important!). Then under 'Copy to Output' select 'Copy if newer'!Then in code to access these files you use the following code:

Me.RichTextBoxDisplay.LoadFile(Path.Combine(Application.StartupPath, "KJV BibleOTExodusExodus KJV.rtf"))

Finally after 3 days of research and 2 days at the msdn forum picking peoples minds (smarter than mine) and lots of prayer, I got it!

View 5 Replies

VS 2008 Publishing - Make Just One Exe File In Vb9 - Install The Program After Publishing?

May 22, 2009

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 Replies

Deploy A .net Application With SQL?

Jan 16, 2011

As i am deploying my vb.net application with sql database

it doesn't work on other client system without SQL installation

What is the way to deploy a vb.net application with SQL.

View 5 Replies

Deploy An Application On A LAN?

Jun 29, 2009

i just finished developing an application with visual basic and want to deploy it on the client computers while the database is on the server in a LAN environment.i tried installing the application on the server but the other computers on the network couldn't access it.i am using SQL 2000 database on the server.

View 2 Replies

Installing Application After Publishing

May 30, 2009

i can publish my app fine.it creates the setup and the rest of the files, whatever they are.on my operating system, the setup runs fine.when trying to install it on another system, it asks for the microsoft 3.5.net.this update can take quite a while.how can i publish my app, in such a way that it can run from the files in the setup and not have to have any other addons, as .net framework. i know it's possible, since i was able to install other software before i had the .net framework.

View 19 Replies

Error When Publishing An Application?

May 17, 2012

i just finished an application it works good when i debug but i tried to publish it and the publishing fails with errors that some files are double but i don't get what the problem is the error details are as follows

PLATFORM VERSION INFO
Windows : 6.1.7600.0 (Win32NT)
Common Language Runtime
: 4.0.30319.235

[code]....

View 1 Replies

Error When Publishing Application?

Apr 25, 2010

Getting error 'cannot locate application' when publishing vb.net application..

View 1 Replies

Publishing An Application In An Old Version Of .NET

Dec 30, 2010

I've written a really simple launcher app for my team at work to use. However I wrote it in VB.net Express 2010 so its using .NET 4. I need it to be compatible with older machines that are using .NET 2 or maybe 2.5. I don't want to force upgrading to a higher .net if its not needed. And in some cases we work on old machines that can't be upgraded. My app is really simple and I'll post the code if needed. I am still a noob, my coding is ugly, and this is a quick and dirty tool.

View 1 Replies

VS 2010 Publishing Application That Uses SQL DB?

Jul 2, 2010

I'm having troubles publishing my application to use in any computer. That's because I don't know how can I publish it within the database.

View 10 Replies

VS 2010 - MySQL Connector As A Resource On My Application - Connect To My MySQL Server

Jun 21, 2012

What i have going on, is i have a MySQL connector as a resource on my application, and im basically trying to connect to my MySQL server, to either a) register a new account, or b) check that the account exists and they are premium, and login, Now what i have run into problems with is: My MySQL Database Name has a _ in it which VB is not allowing for some strange reason.

The code i am using is below

Imports MySql.Data.MySqlClient

Public Class Form1

Function UpdateRecord(ByVal query As String) As Integer

[CODE]...

How i can allow the _ into the application, because the only databases that don't have a _ in the user or dbname are a) Paid ones which i DO NOT have the money for or self hosted ones, i cannot leave my computer on 24/7

View 3 Replies

Deploy An Application By Using Clickonce?

Feb 24, 2009

Im trying to deploy an application by using clickonce and having some difficulties with it. In a class i have this function

Private AD As ApplicationDeployment
Private updateCheck As UpdateCheckInfo
Public Function SoftwareUpdate() As Boolean

[code]....

When i create my code on a form (to run the function above) i receive the error "Object not set to an instance" I try to add New to my declaration but then receive the error "Application Deployment has no constructors". Im not sure what im doing wrong or how i should go about this.it does not go past the line AD = ApplicationDeployment.CurrentDeployment i decided to leave the remaining code

View 4 Replies

Error When Trying To Deploy VB Application?

Jun 16, 2010

I have developed an application using VB2005 and Access Database and am trying to run it in another machine but wasn't successful in doing so!I tried to use (Publish from Build) but when I did the setupin the other machine I got anerror connecting to the database simply because the connection string is different

View 1 Replies

Guidlines To Deploy Application

Aug 4, 2011

I develop an application in vb 2008. Now the times come to give it to user. when i publish it setup file created but when i try to install on customer computer the error Assembly cashe 12.0.0 not installed.Please guide me how i make a setup with that assembly cashe GCA(12.0.0)i want customer just Double click the setup file and software install.

View 1 Replies







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