PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

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
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
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
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>

&#47;&#47;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#32;&#80;&#114;&#111;&#99;&#101;&#100;&#117;&#114;&#101;

&#47;&#47;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;

&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#78;&#97;&#109;&#101;&nbsp;&nbsp;&nbsp;&#61;&#32;&#34;&#109;&#121;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#78;&#97;&#109;&#101;&#34;

&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#67;&#97;&#112;&#116;&#105;&#111;&#110;&#32;&nbsp;&nbsp;&nbsp;&#61;&#32;&#34;&#109;&#121;&#32;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#67;&#97;&#112;&#116;&#105;&#111;&#110;&#34;

&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#84;&#121;&#112;&#101;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#32;&#61;&#32;&#34;&#87;&#105;&#110;&#68;&#101;&#118;&#67;&#108;&#105;&#101;&#110;&#116;&#83;&#101;&#114;&#118;&#101;&#117;&#114;&#72;&#70;&#34;

&#115;&#65;&#99;&#99;&#101;&#115;&#84;&#121;&#112;&#101;&#32;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#61;&#32;&#104;&#79;&#82;&#101;&#97;&#100;&#87;&#114;&#105;&#116;&#101;

&#115;&#83;&#111;&#117;&#114;&#99;&#101;&#78;&#97;&#109;&#101;&#32;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#61;&#32;&#34;&#109;&#121;&#83;&#101;&#114;&#118;&#101;&#114;&#58;&#52;&#57;&#48;&#48;&#34;

&#115;&#66;&#97;&#115;&#101;&#78;&#97;&#109;&#101;&#32;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#61;&#32;&#34;&#109;&#121;&#65;&#112;&#112;&#108;&#105;&#99;&#97;&#116;&#105;&#111;&#110;&#34;

&#115;&#85;&#115;&#101;&#114;&#78;&#97;&#109;&#101;&#32;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#61;&#32;&#34;&#97;&#98;&#99;&#34;

&#115;&#80;&#97;&#115;&#115;&#119;&#111;&#114;&#100;&#32;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#61;&#32;&#34;&#109;&#121;&#80;&#97;&#115;&#115;&#119;&#111;&#114;&#100;&#34;

&#115;&#68;&#101;&#116;&#97;&#105;&#108;&#101;&#100;&#73;&#110;&#102;&#111;&#32;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#61;&#32;&#34;&#59;&#69;&#110;&#99;&#114;&#121;&#112;&#116;&#105;&#111;&#110;&#32;&#61;&#32;&#110;&#111;&#110;&#101;&#59;&#73;&#110;&#105;&#116;&#105;&#97;&#108;&#32;&#67;&#97;&#116;&#97;&#108;&#111;&#103;&#61;&#109;&#121;&#65;&#112;&#112;&#108;&#105;&#99;&#97;&#116;&#105;&#111;&#110;&#34;



&#73;&#70;&#32;&#72;&#79;&#112;&#101;&#110;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#40;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#78;&#97;&#109;&#101;&#44;&#32;&#115;&#85;&#115;&#101;&#114;&#78;&#97;&#109;&#101;&#44;&#32;&#115;&#80;&#97;&#115;&#115;&#119;&#111;&#114;&#100;&#44;&#32;&#115;&#83;&#111;&#117;&#114;&#99;&#101;&#78;&#97;&#109;&#101;&#44;&#32;&#115;&#66;&#97;&#115;&#101;&#78;&#97;&#109;&#101;&#44;&#32;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#84;&#121;&#112;&#101;&#44;&#32;&#115;&#65;&#99;&#99;&#101;&#115;&#84;&#121;&#112;&#101;&#41;&#32;&#84;&#72;&#69;&#78;

&#47;&#47;&nbsp;&nbsp;&nbsp;&#73;&#110;&#102;&#111;&#40;&#34;&#67;&#111;&#110;&#110;&#101;&#120;&#105;&#111;&#110;&#32;&#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108;&#34;&#41;

&#69;&#76;&#83;&#69;

&nbsp;&nbsp;&nbsp;&#69;&#114;&#114;&#111;&#114;&#40;&#72;&#69;&#114;&#114;&#111;&#114;&#73;&#110;&#102;&#111;&#40;&#41;&#41;

&nbsp;&nbsp;&nbsp;&#84;&#111;&#67;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100;&#40;&#72;&#69;&#114;&#114;&#111;&#114;&#73;&#110;&#102;&#111;&#41;

&nbsp;&nbsp;&nbsp;&#82;&#69;&#83;&#85;&#76;&#84;&#32;&#70;&#97;&#108;&#115;&#101;

&#69;&#78;&#68;

&#72;&#67;&#104;&#97;&#110;&#103;&#101;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#40;&#34;&#42;&#34;&#44;&#32;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#78;&#97;&#109;&#101;&#41;

&#82;&#69;&#83;&#85;&#76;&#84;&#32;&#116;&#114;&#117;&#101;

</pcode>
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>


&#62;&#47;&#47;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#32;&#80;&#114;&#111;&#99;&#101;&#100;&#117;&#114;&#101;

&#62;&#47;&#47;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;

&#62;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#78;&#97;&#109;&#101;&#160;&#160;&#160;&#61;&#32;&#34;&#109;&#121;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#78;&#97;&#109;&#101;&#34;

&#62;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#67;&#97;&#112;&#116;&#105;&#111;&#110;&#32;&#160;&#160;&#160;&#61;&#32;&#34;&#109;&#121;&#32;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#67;&#97;&#112;&#116;&#105;&#111;&#110;&#34;

&#62;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#84;&#121;&#112;&#101;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#32;&#61;&#32;&#34;&#87;&#105;&#110;&#68;&#101;&#118;&#67;&#108;&#105;&#101;&#110;&#116;&#83;&#101;&#114;&#118;&#101;&#117;&#114;&#72;&#70;&#34;

&#62;&#115;&#65;&#99;&#99;&#101;&#115;&#84;&#121;&#112;&#101;&#32;&#160;&#160;&#160;&#160;&#160;&#160;&#61;&#32;&#104;&#79;&#82;&#101;&#97;&#100;&#87;&#114;&#105;&#116;&#101;

&#62;&#115;&#83;&#111;&#117;&#114;&#99;&#101;&#78;&#97;&#109;&#101;&#32;&#160;&#160;&#160;&#160;&#160;&#160;&#61;&#32;&#34;&#109;&#121;&#83;&#101;&#114;&#118;&#101;&#114;&#58;&#52;&#57;&#48;&#48;&#34;

&#62;&#115;&#66;&#97;&#115;&#101;&#78;&#97;&#109;&#101;&#32;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#61;&#32;&#34;&#109;&#121;&#65;&#112;&#112;&#108;&#105;&#99;&#97;&#116;&#105;&#111;&#110;&#34;

&#62;&#115;&#85;&#115;&#101;&#114;&#78;&#97;&#109;&#101;&#32;&#160;&#160;&#160;&#160;&#160;&#160;&#61;&#32;&#34;&#97;&#98;&#99;&#34;

&#62;&#115;&#80;&#97;&#115;&#115;&#119;&#111;&#114;&#100;&#32;&#160;&#160;&#160;&#160;&#160;&#160;&#61;&#32;&#34;&#109;&#121;&#80;&#97;&#115;&#115;&#119;&#111;&#114;&#100;&#34;

&#62;&#115;&#68;&#101;&#116;&#97;&#105;&#108;&#101;&#100;&#73;&#110;&#102;&#111;&#32;&#160;&#160;&#160;&#160;&#160;&#160;&#61;&#32;&#34;&#59;&#69;&#110;&#99;&#114;&#121;&#112;&#116;&#105;&#111;&#110;&#32;&#61;&#32;&#110;&#111;&#110;&#101;&#59;&#73;&#110;&#105;&#116;&#105;&#97;&#108;&#32;&#67;&#97;&#116;&#97;&#108;&#111;&#103;&#61;&#109;&#121;&#65;&#112;&#112;&#108;&#105;&#99;&#97;&#116;&#105;&#111;&#110;&#34;

&#62;

&#62;&#73;&#70;&#32;&#72;&#79;&#112;&#101;&#110;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#40;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#78;&#97;&#109;&#101;&#44;&#32;&#115;&#85;&#115;&#101;&#114;&#78;&#97;&#109;&#101;&#44;&#32;&#115;&#80;&#97;&#115;&#115;&#119;&#111;&#114;&#100;&#44;&#32;&#115;&#83;&#111;&#117;&#114;&#99;&#101;&#78;&#97;&#109;&#101;&#44;&#32;&#115;&#66;&#97;&#115;&#101;&#78;&#97;&#109;&#101;&#44;&#32;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#84;&#121;&#112;&#101;&#44;&#32;&#115;&#65;&#99;&#99;&#101;&#115;&#84;&#121;&#112;&#101;&#41;&#32;&#84;&#72;&#69;&#78;

&#62;&#47;&#47;&#160;&#160;&#160;&#73;&#110;&#102;&#111;&#40;&#34;&#67;&#111;&#110;&#110;&#101;&#120;&#105;&#111;&#110;&#32;&#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108;&#34;&#41;

&#62;&#69;&#76;&#83;&#69;

&#62;&#160;&#160;&#160;&#69;&#114;&#114;&#111;&#114;&#40;&#72;&#69;&#114;&#114;&#111;&#114;&#73;&#110;&#102;&#111;&#40;&#41;&#41;

&#62;&#160;&#160;&#160;&#84;&#111;&#67;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100;&#40;&#72;&#69;&#114;&#114;&#111;&#114;&#73;&#110;&#102;&#111;&#41;

&#62;&#160;&#160;&#160;&#82;&#69;&#83;&#85;&#76;&#84;&#32;&#70;&#97;&#108;&#115;&#101;

&#62;&#69;&#78;&#68;

&#62;&#72;&#67;&#104;&#97;&#110;&#103;&#101;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#40;&#34;&#42;&#34;&#44;&#32;&#115;&#67;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;&#78;&#97;&#109;&#101;&#41;

&#62;&#82;&#69;&#83;&#85;&#76;&#84;&#32;&#116;&#114;&#117;&#101;

&#62;</pcode>
Posté le 18 septembre 2007 - 11:32
Thx peter,
i'll try this.
nouman
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