PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → Connection of mobile application with a server HyperfileSQL
Connection of mobile application with a server HyperfileSQL
Started by bokilo, Feb., 10 2017 2:25 PM - No answer
Posted on February, 10 2017 - 2:25 PM
this is the code of initialisation of my application.

sNomConnexion est une chaîne = "Ya_Mos"
gsLibelléConnexion est une chaîne = "Connexion à '192.168.173.1'"
sTypeConnexion est une chaîne = "WinDevClientServeurHF"
sTypeAccès est un entier = hOLectureEcriture
sNomSource est une chaîne = "192.168.173.1:4900"
sNomBase est une Source de Données = "Eat--Well"
sNomUtilisateur est une chaîne = "admin"
sMotDePasse est une chaîne = ""
gsInfoEtendus est une chaîne = ";Cryptage = aucun;Initial Catalog=Eat--Well"


SI HOuvreConnexion(sNomConnexion, sNomUtilisateur, sMotDePasse, sNomSource, "Eat--Well", sTypeConnexion, sTypeAccès) ALORS
Info("Connexion établie")
SINON
Erreur(HErreurInfo())
FIN



///////////////////////////
i installed it in an adroid device and i try to connect it with my machine(server) but this is the information that i get every time.
cannot connect to the server "192.168.173.1"