1. A

    Question How to get application's Connection for general query/DML purpose

    I am developing a Sales application with MS Access Database. I've added Data Source through wizard and created forms with Data Set. It is sometimes required to do some other query/dml inside the form code. Is it possible to use the same Connection as my application is using or I've to open a...
  2. J Trahair

    MySQL on-line not connecting to one user

    I have a VB.Net application which runs on the local machine and connects to an on-line MySQL database. I have successfully used the connection string to access the on-line MySQL database on my development machine since May 2016, and other customers in the UK and Italy have successfully connected...
  3. E

    Socket Multiple Connection

    hey all , I wish to send message to multiple computers (LAN network). each computer in lab is running the server except one computer which is the client. problem : once message has been sent to first computer , the client stops to send to other computers. CLIENT : Dim ip As String Dim i As...
  4. N

    Using form inheritance for database connection.

    Hello everyone. I am fairly new to VB.NET. I am building a simple mobile application (WM 6.0) in which I have a login form (where the user inputs his username and password) and subsequent forms that capture certain fields that are to be inserted into the same database that contains the username...
  5. jlcruzAME

    Unable to Open Connection in VB Code But Rest of Site Connects

    So in this site we're building, I have a connection String in the web.config to connect to our SQL Server, and it works, as I can create users and login with them. However, I have one page that needs to grab a value from a tasble based on their username. Here is the code that runs: Dim dbCrew...
  6. A

    Remote SQL Connection

    Hi guys, I'm not sure if I posted this in the right area but here goes. I want to connect to a SQL Database remotely located on my website (eg. and this is the code I am using Imports System.Data.SqlClient Private Sub OK_Click(ByVal sender As System.Object, ByVal e As...
  7. C

    differences to Classic ASP

    Hi folks. I hope y'all haven't gone bush for the weekend and left me to my own devices. I definitely can't be trusted on my own! I'm trying to transition from Classic Asp to VB.NET and I have to confess some confusion when it comes to using a MySQL database. Here is the initial connection code...
  8. A

    Create Database Connection String Builder like SQL Connect to Server interface

    Hi All, I am trying to build a user control that will do exactly what the SQL 2005 Connect to Server interface do, eventually create a connection string and store in a app.config file. It should allow user to select server type, server name, authentication, user name and password. It...
  9. Adagio

    Question SQL server 2008 - Connection problems

    I get this lovely message from time to time: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote...