<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>19 Feb 2020 10:48:28 Z</lastBuildDate><pubDate>15 Jun 2015 14:41:53 Z</pubDate><description>Bonjour&#13;
&#13;
L'application que j'ai créé est sur un disque réseau avec une base HFSQL sur un serveur Hyperfile distant. Chqaue utilisateur dans l'entreprise peut créer sur son bureau un raccourci vers l'exeécutable de l'application et la lancer depuis son poste (pour éviter les copies multiples sur chaque poste et simplifier les mises à jours). &#13;
&#13;
Par contre l'application a dans son analyse un fichier local utilisable pour faire un calcul des besoins. A chaque calcul de besoin l'application va vider ce fichier local, y entrer les données de sa requete et afficher le contenu à l'utilisateur. Mais le problème est que si deux ou trois utilisateurs lancent un calcul de besoins en même temps ils seront les trois sur le même fichier et ça va faire des conflits ! &#13;
&#13;
Je souhaite donc trouver une solution pour créer ce fichier en local sur le PC de l'utilisateur dans le dossier C:\TEMP par exemple à l'ouverture de la fenêtre de calcul des besoins. Est ce que c'est possible de faire ça par programmation ?&#13;
&#13;
Dans la doc j'ai trouvé : HdécritFichier  &#13;
si j'essaye ça pourrait peut-être fonctionner : &#13;
&#13;
[code:wl]&#13;
UnFichier est une Description de Fichier&#13;
UnFichier..Nom = "CalculBesoins"&#13;
UnFichier..Type = hFichierNormal&#13;
UnFichier..CryptageFic = hCryptageStandard&#13;
Unfichier..Répertoire = "C:/TEMP"&#13;
&#13;
HDécritFichier(UnFichier)&#13;
HCréation(CalculBesoins)&#13;
[/code]&#13;
&#13;
Mais comment lui envoyer toutes les rubriques de celui de l'analyse ?&#13;
&#13;
Merci d'avance.&#13;
&#13;
--&#13;
Manu M.C&#13;
Windev 19</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation/read.awp</link><title>Création d'un fichier local HyperFile par programmation</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>dacostacarl</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-237135/read.awp</comments><pubDate>19 Feb 2020 10:48:28 Z</pubDate><description>Salut,&#13;
Pour créer une vue matérialisée dans un fichier plat local HFSQL. On peut créer un fichier plat JSON dans lequel on copi…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-237135/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-237135/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation/read.awp">Création d'un fichier local HyperFile par programmation</source><title>Re: Création d'un fichier local HyperFile par programmation</title></item><item><author>Manu MC</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184377/read.awp</comments><pubDate>16 Jun 2015 07:32:47 Z</pubDate><description>Merci pour vos réponses Sebinc et Franck, je vais essayer les deux solutions.&#13;
&#13;
--&#13;
Manu M.C&#13;
Windev 19</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184377/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184377/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation/read.awp">Création d'un fichier local HyperFile par programmation</source><title>Re: Création d'un fichier local HyperFile par programmation</title></item><item><author>Sebinc</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184362/read.awp</comments><pubDate>15 Jun 2015 15:31:04 Z</pubDate><description>Bon c'est clair que la solution de Franck est bien plus simple que la mienne.&#13;
Merci pour la leçon :)&#13;
&#13;
--&#13;
Seb</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184362/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184362/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation/read.awp">Création d'un fichier local HyperFile par programmation</source><title>Re: Création d'un fichier local HyperFile par programmation</title></item><item><author>Sebinc</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184361/read.awp</comments><pubDate>15 Jun 2015 15:25:54 Z</pubDate><description>Ensuite tu le manipule en utilisant UnAlias.NomRubrique et tu peux utiliser les fonctions H... dessus.&#13;
&#13;
--&#13;
Seb</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184361/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184361/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation/read.awp">Création d'un fichier local HyperFile par programmation</source><title>Re: Création d'un fichier local HyperFile par programmation</title></item><item><author>Sebinc</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184360/read.awp</comments><pubDate>15 Jun 2015 15:24:53 Z</pubDate><description>Salut,&#13;
Tu peux faire un truc du genre :&#13;
&#13;
[code:wl]&#13;
        UnAlias est une Source de Données&#13;
	NomFichier	est une chaîne	=	C…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184360/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184360/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation/read.awp">Création d'un fichier local HyperFile par programmation</source><title>Re: Création d'un fichier local HyperFile par programmation</title></item><item><author>fchallan</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184359/read.awp</comments><pubDate>15 Jun 2015 15:11:22 Z</pubDate><description>Tu n'as pas besoin de hdécrit, un hchangeconnexion va te suffir pour ce que tu souhaites faire.&#13;
ou tu peux mettre la ligne suiv…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184359/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation-184359/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/184356-creation-fichier-local-hyperfile-par-programmation/read.awp">Création d'un fichier local HyperFile par programmation</source><title>Re: Création d'un fichier local HyperFile par programmation</title></item></channel></rss>
