FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Help with Connecting Windev app
Help with Connecting Windev app
Débuté par Nouman, 13 sep. 2007 17:22 - 5 réponses
Connectez-vous…
Nouman
#1
Posté le 13 septembre 2007 - 17:22
Hi Guys,
I'm Nouman from Paksitan.I just started learning Windev which means that i'm a beginner. I'm building an application for Retail Outlets. I want to connect Head Office with the Branch Application and share data files. Can anyone please guide me how can i do that? Please help Guys ! !
Thx
Nouman
Signaler
0
0
Bob
#2
Posté le 14 septembre 2007 - 08:39
Hi Nouman
I would recommend using Hyperfile Client/Server if your remote links are fast enough. A better way is to host your application on a Terminal Server. Either way everyone is using the same database in real time. I.e. No replication required.
Cheers
Bob
Signaler
0
0
mat
#3
Posté le 18 septembre 2007 - 08:56
...
I want to connect Head Office with the Branch Application and share data files. Can anyone please guide me how can i do that?
...
Hi,
the first possibility to learn about this issue is to run the tutorial. Another is to read the help. Under Client/Server, you'll find a heading "Connections of the client stations to the server". This will give you all there is to know. This information could then lead to the code below.
Regards
Mat
<pcode>
//Connection Procedure
//==============================
sConnectionName = "myConnectionName"
sConnectionCaption  = "my ConnectionCaption"
sConnectionType  = "WinDevClientServeurHF"
sAccesType  = hOReadWrite
sSourceName  = "myServer:4900"
sBaseName  = "myApplication"
sUserName  = "abc"
sPassword  = "myPassword"
sDetailedInfo  = ";Encryption = none;Initial Catalog=myApplication"
IF HOpenConnection(sConnectionName, sUserName, sPassword, sSourceName, sBaseName, sConnectionType, sAccesType) THEN
// Info("Connexion successful")
ELSE
Error(HErrorInfo())
ToClipboard(HErrorInfo)
RESULT False
END
HChangeConnection("*", sConnectionName)
RESULT true
</pcode>
Signaler
0
0
Peter Holemans
#4
Posté le 18 septembre 2007 - 08:56
Hi Nouman,
WD also has a universal replication feature built-in. Universal meaning that it is database vendor independent. You might want to look at that as well. Check out the online help. Haven't used it, but read about it somewhere.
Cheers,
P.
>...
I want to connect Head Office with the Branch Application and share data files. Can anyone please guide me how can i do that?
>...
Hi,
>the first possibility to learn about this issue is to run the tutorial. Another is to read the help. Under Client/Server, you'll find a heading "Connections of the client stations to the server". This will give you all there is to know. This information could then lead to the code below.
Regards
>Mat
<pcode>
>//Connection Procedure
>//==============================
>sConnectionName   = "myConnectionName"
>sConnectionCaption    = "my ConnectionCaption"
>sConnectionType         = "WinDevClientServeurHF"
>sAccesType       = hOReadWrite
>sSourceName       = "myServer:4900"
>sBaseName            = "myApplication"
>sUserName       = "abc"
>sPassword       = "myPassword"
>sDetailedInfo       = ";Encryption = none;Initial Catalog=myApplication"
>
>IF HOpenConnection(sConnectionName, sUserName, sPassword, sSourceName, sBaseName, sConnectionType, sAccesType) THEN
>//   Info("Connexion successful")
>ELSE
>   Error(HErrorInfo())
>   ToClipboard(HErrorInfo)
>   RESULT False
>END
>HChangeConnection("*", sConnectionName)
>RESULT true
></pcode>
Signaler
0
0
Nouman
#5
Posté le 18 septembre 2007 - 11:32
Thx peter,
i'll try this.
nouman
Signaler
0
0
Bob
#6
Posté le 18 septembre 2007 - 11:44
Hi Nouman
I would recommend using Hyperfile Client/Server if your remote links are fast enough. A better way is to host your application on a Terminal Server. Either way everyone is using the same database in real time. I.e. No replication required.
Cheers
Bob
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte