I Have a windows application made using VB.net and Mysql database. I want to install it on a Local network to be used by several users on different windows machines. How best can I do this?
You should have a look at
ClickOnce - A new VB.NET 2005
Deployment Tool
Using ClickOnce Deployment in
VB.NET
ClickOnce: Delivering .NET
Applications Via the Net
ClickOnce Deployment for Windows
Forms Applications
ClickOnce Deployment in .NET
Framework 2.0
You will have to install the application on each computer. But you can have on machine running the MySQL server to which the application will connect. This way all users can access the same data.
Related
I am new to IBM Worklight,and i found a way to connect to the MySQL using the SQL adapter.
the configuration as below:
<dataSourceDefinition>
<driverClass>com.mysql.jdbc.Driver</driverClass>
<url>jdbc:mysql://localhost:3306/worklight_training</url>
<user>Worklight</user>
<password>Worklight</password>
</dataSourceDefinition>
Since the adapter are compile together with the app, just wondering, is it safe? is there a possibility of someone decompiling my apk or ipa to view the adapter connection thus acquire the user and password to my mysql database.
A hacker decompiling your .apk or .ipa file will not find the database username/password there, for the simple reason that the adapter is not compiled "together with the app" and is not part of any artifacts that you install in a device.
An adapter is a server-side entity, not client-side.
The adapter is an object stored in the memory of the running application server.
Adapters are Server side code andare not part of the apk or ipa files.
You can check/confirm this information in Worklight documentation. The details about adapters, under "Developing the server side of a Worklight Application" are at:
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/devref/c_overview_of_ibm_worklight_adap.html
You can also check the Server Side Development of MobileFirst Platform Getting Started Modules
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/server-side-development/
(MobileFirst Platform is the new name of Worklight)
In worklight, you usually have the application (apk/ipa) communicating with a server side component (the adapters) running in a worklight server. The adapters are used to communicate with backend systems (like a mysql server). There are a few different types of adapters to communicate with different types of backends (like sql, http and SAP)
Please, let us know what documentation/guide caused you the understanding that adapters are part of the client apk/ipa. If that is really stated in any documentation, it is wrong and must be corrected.
Edit:
To connect to a MySQL DB (no matter if it is a standalone MySQL or in XAMP, LAMP or whatever package) you can follow this geting started tutorial
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/server-side-development/sql-adapter-communicating-sql-database/
Also note that, if you are using MobileFirst Studio (previously Worklight Studio) downloaded for free from Developer Works you have a developer version of the WOrklight Server running inside Studio so that you can create and deploy adapters and use it during development as your server. But when you go to production you are required to purchase licenses of Worklight because you don't have the worklight server available for free.
So if you have Studio, you have the server available but only for development purposes.
I have a .NET 4.0 Windows service application (VS2010), I need to call an SSIS 2008 package.
I know that it is easier to create a web service and call that service from SSIS, I am not at liberty to do that.
So, I figured my next best option is to call my SSIS package from my windows service. I know in .NET 2.0 you can call the DTS package, and if i have SQL Server 2012 installed.
But I am not able to find a solution for this specific combination. .NET 4 and SQL server 2008 SSIS.
Or is there a way using the same combination that i can start and stop a windows service using SSIS 2008. And figure out when the windows service is finished running.
Refer the section Using a Web Service or Remote Component to Run a Remote Package Programmatically in the below MSDN documentation.
Loading and Running a Remote Package Programmatically
I have successfully created Web Services from MySQL Database using Netbeans tutorial. However, I would like to develop similar web services using Eclipse IDE. Why Eclipse IDE? There are two reasons for that:
1) This is because i am using Tomcat 7.0 and JEE6. Unfortunately, NetBeans 7.0.1 implements Facade design pattern while using their “Create Web services from Database …” Wizard and it does not have a plugin for Tomcat 7 and EE6.
2) The NetBeans Wizard is helpful but does not help me understand details about using JDBC bridge, managing connections to MySQL DB and creating services to access the DB. Additionally, i want to add authorization for my services so that only registered users will be able to access my web services.
There's a very clear tutorial for building JAX-RS services in the Jersey user guide.
I found this tutorial that contains Restful web services using java and mysql in eclipse. It might be what you were looking for though it is a very simple tutorial. Check it out.
http://www.techpages.org/webservice/simple-restful-web-services-using-java-and-mysql-example/2009/
I am trying to use the crystal reports application in ubuntu. So far i was able to connect the MYSQL database using c# in .net platform and run a small application in ubuntu over crossover linux.
But when i try to fetch the data from mysql database and display in crystal reports i get an error as shown in the below picture:
alt text http://img136.imageshack.us/img136/3282/screenshot2i.jpg
alt text http://img155.imageshack.us/img155/3504/screenshot1my.png
This thread is an extension of the below thread.
Can't connect to MySQL for .NET application deployed in Wine using Ubuntu
The WineHQ db claims that it will run. However, if you do intend to target the Linux and Windows platforms, I would suggest a more cross platform compatible library.
I got the answer by my own after doing a small research.
The error was due the licensing problem of visual studio .net 2005. The following packages had to be configured in Merge Reports (i.e C:\Program Files\Common Files\Merge Modules)
Crystal_Managed2003.msm
Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_regwiz2003.msm
And then we need to enter the license key while deploying the application correctly.
Later the following packages would be installed automatically when we run the deployed .net application in ubuntu linux
Refer screenshot below
I have been using Microsoft Visual Web Developer 2008 Express Edition. Originally, I made a website with a MySQL back-end. Then I discovered the .Net web authentication, and moved to MS Access as I could, with some modification, make the web authentication work (but not all the features). For a future release of my site, I moved to MS SQL as it supported all of the features of the .Net web authentication. However, my host does not support MS SQL, my host supports MS Access and MySQL.
If I get Visual Studio 2008 Standard, with it have better integration with MySQL, to the point that all features of web authentication and using the development environment to make changes to the database are supported? Are there thrid-party tools or modifications that I can make to get things to that level of integration?
Or, do I have to move to a host that supports MS SQL?
We run a .NET environment here but using MySQL as our backend (though our software is applications, not web apps).
The MySql Net Connector is basically the MySQL version of the System.Data namespace in .NET (with nearly identical functionality/naming except for the MySql prefixes). So, as far as I have seen while working with it, anything that you can do via those namespaces, you can do via the connector.
As for IDE integration, I don't know. I use MySql Administrator and SQLYog to manage/work with the db.
You could try MySQL's .NET connector, though it's only a development version