IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Composants VCL Delphi Discussion :

[BDS2006][VISTA] Utilisation de TDBChart


Sujet :

Composants VCL Delphi

  1. #1
    Membre averti

    Homme Profil pro
    ingénieur, retraité
    Inscrit en
    Février 2007
    Messages
    230
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : ingénieur, retraité
    Secteur : Industrie

    Informations forums :
    Inscription : Février 2007
    Messages : 230
    Points : 332
    Points
    332
    Par défaut [BDS2006][VISTA] Utilisation de TDBChart
    Bonjour,

    Si j'utilise le composant Tchart suivant les indications Ch 5 p. 129
    de "Graphe orientés BD" (Cf "Delphi 7 studio" - DAHAN & TOTH) :
    1 Nouveau projet,
    2 Placer un TTable,
    3 Data Base Name : DBDEMOS
    4 Table name : Country.db,
    (il se trouve dans le dossier : Data(C:\Prog.\CommOn Files\Borland Shared) )
    5 Activer la table,
    à ce moment j'ai l'erreur suivante :

    "Echec à l'initialisation réseau
    Fichier ou répertoire inexistant
    Fichier C:\PDOXURS.NET
    Permission refusée
    Répertoire C:\"

    Si pour s'affranchir du BDE j'affecte
    Data Base Name = d:\delphi\teech , (répertoire du fichier Table Name)
    Table Name = Country$.db (fichier Country.db renommé)
    j'ai la même erreur.

    J'ai seulement un accès Internet bas débit.
    Démarrer/Réseau confirme : "Cet ordinateur n'est pas connecté à un réseau"
    et je n'ai aucune autre configuration réseau (portable local).
    Seul DELPHI pour WIN32 a été installé.

    Comment résoudre ce problème ?
    D'avance merci.

  2. #2
    Rédacteur/Modérateur

    Avatar de SergioMaster
    Homme Profil pro
    Développeur informatique retraité
    Inscrit en
    Janvier 2007
    Messages
    15 043
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 67
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Développeur informatique retraité
    Secteur : Industrie

    Informations forums :
    Inscription : Janvier 2007
    Messages : 15 043
    Points : 40 957
    Points
    40 957
    Billets dans le blog
    62
    Par défaut
    Citation Envoyé par paulfr Voir le message
    "Echec à l'initialisation réseau
    Fichier ou répertoire inexistant
    Fichier C:\PDOXURS.NET
    Permission refusée
    Répertoire C:\"
    ceci me semble être un problème purement vista (c:\ est protégé) et de l'installation du BDE
    pour régler le problème

    Administrateur BDE
    onglet configuration
    puis dans l'arbre
    configuration
    - pilote
    - natif
    - PARADOX
    changes le chemin du NETDIR (actuellement par défaut = C:\) à mettre par exemple en C:\temp (le repertoire doit exister)


    NOTA :

    Si pour s'affranchir du BDE j'affecte
    Data Base Name = d:\delphi\teech , (répertoire du fichier Table Name)
    Table Name = Country$.db (fichier Country.db renommé)
    j'ai la même erreur.
    ceci ne t'affranchis pas du BDE juste de l'alias
    TTable, TQuery etc.. = accès via BDE
    MVP Embarcadero
    Delphi installés : D3,D7,D2010,XE4,XE7,D10 (Rio, Sidney), D11 (Alexandria), D12 (Athènes)
    SGBD : Firebird 2.5, 3, SQLite
    générateurs États : FastReport, Rave, QuickReport
    OS : Window Vista, Windows 10, Windows 11, Ubuntu, Androïd

  3. #3
    Membre averti

    Homme Profil pro
    ingénieur, retraité
    Inscrit en
    Février 2007
    Messages
    230
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : ingénieur, retraité
    Secteur : Industrie

    Informations forums :
    Inscription : Février 2007
    Messages : 230
    Points : 332
    Points
    332
    Par défaut
    Bonjour,

    Après configuration comme indiqué par SergioMaster (que je remercie) Delphi cherche toujours le fichier PDOXUSRS.NET qu'il ne trouve toujours pas, n'existant pas sur C:\.

    Ayant fait précédemment une installation, sur un autre PC, de BDS2006 sous XPRO j'ai trouvé que ce fichier était bien sur C:.

    J'ai copié le fichier, récupéré sur PC/XPRO, sur VISTA dans le répertoire
    C:\users\PL et configuré en conséquence PARADOX par l'intermédiaire de l'Administrateur BDE.
    Je vous confirme que dans ce contexte je n'ai plus d'erreur (avec le fichier sous C:\ l'erreur existe encore).

    Remerciements à SergioMaster.

  4. #4
    Nouveau Candidat au Club
    Inscrit en
    Octobre 2010
    Messages
    1
    Détails du profil
    Informations forums :
    Inscription : Octobre 2010
    Messages : 1
    Points : 0
    Points
    0
    Par défaut Solution
    Configuring the BDE for Windows Vista

    Note: This page applies ONLY to users of Windows 7 and Windows Vista using Insider TA v4.0 through v6.0. This page does NOT apply to you if you are using the latest Insider TA version 6.1.

    Insider TA (versions 4.0 through 6.0) by Stock Blocks® uses the Borland Database Engine (BDE) for underlying operations. Windows Vista can be very restrictive towards applications written for the previous versions of Windows. This is also the case with the BDE, which is not capable of running in Vista unless two settings have been changed:

    A permission for the BDE must be given in the windows registry database.

    A BDE attribute named "Net Dir" must be configured to an arbitrary folder other than the root drive (C:\). This configuration is done in the "BDE Administrator" program that's installed with Insider TA. (This step is automatically performed by Insider TA v6.0).
    Without these two steps being performed, you'll see the following two error messages appear immedately after Insider TA is loaded:

    First you'll see this...



    Then you'll see this...


    The following instructions are to be carried out after installing Insider TA to your Vista computer...

    1. First, configure the permission for the BDE in the registry...

    Make sure you are logged into your Vista machine with an administrator account. Then follow these directions:

    Go to Start | Run… Type regedit...



    Open the HKEY_LOCAL_MACHINE branch.

    Open the SOFTWARE branch.

    Right-Click on the entry labeled "Borland".



    In the menu that shows select Permissions. The following dialog will appear:



    Click "Users".

    Under "Permissions for Users ", select "Allow" for Full Control. Then click OK.

    Click OK to exit the Registry Key Permissions dialog box.

    Exit the Registry Editor window

    2. Next the Borland Database Engine must be configured...

    NOTE: This step is automatically performed by Insider TA version 6.0. You only need to perform the following steps if you're using Insider TA version 5.4 or earlier.

    The Borland Database Engine makes use of a special file called "Pdoxusrs.net" (the purpose of which is beyond the scope of this document). The default setting for the placement of this file is in the root of drive C, which will fail under Windows Vista, as this operating system does not permit new files to be created here. However, it is permitted to designate any subfolder for the "Pdoxusrs.net" file to be placed. The name of this new folder is of minor importance and could be named anything you like. For example, here we will choose "BDEShare". (The name doesn't matter. It just needs to be any folder other than the root drive.)

    So let's stick with this example. Create a subfolder off the root drive C and name it "BDEShare". So the file path for this new subfolder will be "C:\BDEShare". Remember this string value because you will need to enter it below.

    Now the BDE must be configured to use the new folder. This is done in the Windows control panel, where you will find an applet named "BDE administrator". Note that you will only see this after the BDE has been installed to your system (which is done automatically during the Insider TA installation).



    Double-click the BDE Administrator to open it. You will see the following dialog appear:



    As shown in the above picture, click the tabsheet titled "Configuration". Expand the configuration as shown (Drivers - Native) to expose the entry titled "PARADOX". Single click the item named PARADOX. Now observe the data that fills on the right half of the dialog. You will need to edit the entry for "NET DIR". Initially, it will be shown as "C:\". You need to change that entry to the subfolder that you created above. In our example, this is C:\BDEShare.

    If the BDE Administrator is not capable of making the change then verify that the permission in the registry has been set properly. If this isn’t the case then retry to apply the permission as described in the above.

    Now start Insider TA. With the BDE now configured to work with Windows 7 or Vista, Insider TA will function properly.

  5. #5
    Rédacteur/Modérateur

    Avatar de SergioMaster
    Homme Profil pro
    Développeur informatique retraité
    Inscrit en
    Janvier 2007
    Messages
    15 043
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 67
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Développeur informatique retraité
    Secteur : Industrie

    Informations forums :
    Inscription : Janvier 2007
    Messages : 15 043
    Points : 40 957
    Points
    40 957
    Billets dans le blog
    62
    Par défaut
    Réponse tardive et en anglais , même si pertinente
    Messieurs les modérateurs Delphi
    tirez les premiers
    MVP Embarcadero
    Delphi installés : D3,D7,D2010,XE4,XE7,D10 (Rio, Sidney), D11 (Alexandria), D12 (Athènes)
    SGBD : Firebird 2.5, 3, SQLite
    générateurs États : FastReport, Rave, QuickReport
    OS : Window Vista, Windows 10, Windows 11, Ubuntu, Androïd

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [C::B 8.02,vista] utiliser une bibliothèque de calculs
    Par olivier57b dans le forum Code::Blocks
    Réponses: 0
    Dernier message: 16/08/2008, 00h24
  2. Réponses: 11
    Dernier message: 05/09/2007, 18h23
  3. [Vista] Utilisation d'AERO
    Par kuja2053 dans le forum Windows Vista
    Réponses: 3
    Dernier message: 20/03/2007, 20h08
  4. utilisation du referentiel avec BDS2006
    Par emmental dans le forum C++Builder
    Réponses: 1
    Dernier message: 25/09/2006, 13h29
  5. Réponses: 10
    Dernier message: 31/07/2006, 10h18

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo