PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WD - Como descrever dinamicamente um arquivo de Hyper cliente File Server via codigo?
WD - Como descrever dinamicamente um arquivo de Hyper cliente File Server via codigo?
Started by BOLLER ADRIANO, Jun., 30 2016 2:25 AM - No answer
Connect yourself…
BOLLER ADRIANO
#1
Registered member
3,660 messages
Popularité : +175 (223 votes)
Posted on June, 30 2016 - 2:25 AM
EXTERNE
ConneBst
,
ConnectNom
//Variables de connexion
s
NomConnexion est une
chaîne
=
"PMO_test"
s
LibelleConnexion est une
chaîne
=
"Connexion au serveur PMO, base test"
s
TypeConnexion est une
chaîne
=
"WinDevClientServeurHF"
s
TypeAccès est un
entier
=
hOLectureEcriture
s
NomSource est une
chaîne
=
"PMO:4900"
s
NomBase est une
Source de Données
=
"test"
s
NomUtilisateur est une
chaîne
=
"pmo"
s
MotDePasse est une
chaîne
=
"forpmo"
s
InfoEtendus est une
chaîne
=
";Cryptage = aucun;Initial Catalog=test"
SI
HOuvreConnexion
(
s
NomConnexion
,
s
NomUtilisateur
,
s
MotDePasse
,
s
NomSource
,
s
NomBase
,
s
TypeConnexion
,
s
TypeAccès
)
ALORS
Info
(
"Connexion etablie"
)
SINON
Erreur
(
HErreurInfo
(
)
)
FIN
//Declarations
DecFic est une
Description de Fichier
DecRub est une
Description de Rubrique
//Fichier
DecFic
..
Nom
=
"ConneBst"
DecFic
..
Type
=
hFichierClientServeur
//Rubriques
DecRub
..
Nom
=
"ConnectNom"
DecRub
..
Type
=
hRubTexte
DecRub
..
Taille
=
20
DecRub
..
TypeCle
=
hCléDoublon
HDécritRubrique
(
DecFic
,
DecRub
)
DecRub
..
Nom
=
"ConnectNomMachine"
DecRub
..
Type
=
hRubTexte
DecRub
..
Taille
=
50
HDécritRubrique
(
DecFic
,
DecRub
)
DecRub
..
Nom
=
"ConnectIpMachine"
DecRub
..
Type
=
hRubTexte
DecRub
..
Taille
=
20
HDécritRubrique
(
DecFic
,
DecRub
)
DecRub
..
Nom
=
"ConnectNomExe"
DecRub
..
Type
=
hRubTexte
DecRub
..
Taille
=
20
HDécritRubrique
(
DecFic
,
DecRub
)
HDécritFichier
(
DecFic
)
SI
HChangeConnexion
(
"ConneBst"
,
s
NomConnexion
)
ALORS
HCréationSiInexistant
(
"ConneBst"
)
ConneBst.ConnectNom
=
"Valeur de test 2"
HAjoute
(
ConneBst
)
HLitPremier
(
ConneBst
,
"ConnectNom"
)
SINON
Erreur
(
HErreurInfo
(
)
)
FIN
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text