-
la fonction HChangeRep
salut tout le monde
quelqu'un peut m'aider je galère depuis des jours pour résoudre un soucis, après avoir établis une petite application en Windev. mon soucis c'est qu'elle ne marche pas sur un autre pc
" Code d'erreur système : 3
Message d'erreur système :
Le chemin d’accès spécifié est introuvable.
en cherchant j'ai trouvé qu'il faut utiliser la fonction HChangeRep. Dans l'auto-formation Windev j'ai compris qu'il faut utiliser HChangeRep et HcréationsiInexistant. je voudrais bien voir que ce qu'il faut écrire sur ce fameux code d'initialisation de projet. aider moi svp je suis perdue.
citation <<Le savoir est le plus intellectuel des virus, dommage qu'il ne soit pas très contagieux>>
-
Bonjour,
Avec le code incriminé et ce qu'il est sensé faire, ce serait plus facile de te répondre
-
Tu sais comment faire (passer par hChangeRep).
Mais tu ne sais pas ce que tu veux faire.
Montre l'intitulé de l'exercice si tu veux.
-
pardon!
comment ca l'intitulé??
-
Bonjour,
Montre nous le code et notamment l'endroit où apparaît l'erreur.
-
Le HChangeRep me semble quand même "violent". La plupart du temps, il est utilisé dans une architecture spécifique, lorsque l'on a décidé de regrouper les données par package ou par période, ou alors lorsque l'on "attaque" une autre base. Mais dans tous les cas, on l'a choisi.
Le HCréationSiInexistant (tout seul), qui est quasiment indispensable lors de l(initialisation, est en effet une piste à explorer. Une autre piste est l'utilisation du fRepExe en lieu et place du fRepDonnées. En mode test, on ne voit pas la différence. En mode production, c'est une autre histoire. Normalement les données ne sont pas installées dans le même répertoire que l'exe. Dans le pire des cas elle sont placées dans un sous répertoire, dans le meilleurs sur le disque (la partition) de données.
Sans ton code ni le fichier concerné on ne peut pas être plus précis.