Jump to content

Ligacao BD - Host Server


Recommended Posts

Public Sub abrebd()
        'construir a string de ligação
        connectstr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & nomebd
        'abrir a ligação para a bd
        ligacaobd = New OleDb.OleDbConnection(connectstr)
End Sub

Utilizo a seguinte funçao para ligar a uma base de dados localmente.

como é que transformo isto par ausar num servidor Host do genero.

database hotsserver url: database555666.hostserver.com

username: admin

password: root


Yours, Bid_dady

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.