FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Support FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Support FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

ImportFilter – Debugger

Page d'accueil ' Communauté ' Automation et VBA ' ImportFilter – Debugger

Voir les messages de 7 - 1 à 7 (sur un total de 7)
  • Auteur
    Messages
  • #34895
    Mustapha Ghazzouz
    Participant

    Dank das mitgelieferte Importfilter-Beispiel konnte ich einen eigenen Importfilter implementieren, der für alle Datenbanken verfügbar sein soll. Die Registrierung findet in der AutoExec-Prozedur und Deregistrierung in AutoExec. Da bei der Entwicklung das VBA-Projekt zurückgesetzt wird, muss ich wie in der Dokumentation beschrieben den Importfilter deregistrieren und noch einmal neu registrieren. Angenommen mein Importfilter ist fertig, ich weiss nicht, wie ich die eine Zeile Code für die Deregistrierung in AutoExec auskommentiere, weil sonst bekomme immer eine Fehlermeldung beim Starten oder Beenden von Flexpro und aus der Schleife komme nicht raus.

    Ich hoffe Sie verstehen was ich meine

    #34901
    Mustapha Ghazzouz
    Participant

    Dank das mitgelieferte Importfilter-Beispiel konnte ich einen eigenen Importfilter implementieren, der für alle Datenbanken verfügbar sein soll. Die Registrierung findet in der AutoExec-Prozedur und Deregistrierung in AutoExec. Da bei der Entwicklung das VBA-Projekt zurückgesetzt wird, muss ich wie in der Dokumentation beschrieben den Importfilter deregistrieren und noch einmal neu registrieren. Angenommen mein Importfilter ist fertig, ich weiss nicht, wie ich die eine Zeile Code für die Deregistrierung in AutoExec auskommentiere, weil sonst bekomme immer eine Fehlermeldung beim Starten oder Beenden von Flexpro und aus der Schleife komme nicht raus.

    Ich hoffe Sie verstehen was ich meine

    #34896
    Bernhard Kantz
    Participant

    If an import filter is to be available in all databases of one user or to all users in general, it is recommended that you implement it in the personal or global template database and to register it in the procedure AutoExec, which is executed automatically when the template database is loaded. De-registration can then be handled by the AutoExit procedure (see also auto-macros).

    Don’t forget to add the references (Microsoft Scripting Runtime, Microsoft Windows Common Controls).

    It’s possible that FlexPro invokes twice the AutoExec macro. In this case you should insert the code “On Error Resume Next” into the macro.

    support@weisang.com

    #34897
    Mustapha Ghazzouz
    Participant

    I inserted the code “On Error Resume Next” into the macro AutoExec() and it works now.

    I still have a question. My ImportFilter is working well, but only on the Flexpro-Installation I´m working with. I´m new to VBA and have no idea how this ImportFilter would work for other installations on other computers.

    Thanks for the support

    #34898
    Bernhard Kantz
    Participant

    In this case you have to copy the local or the global template database to the other system.
    The path of the local template database is:
    C:Documents and SettingsUser login nameLocal SettingsApplication DataWeisangFlexPro7.0Template.FPT
    The path of the global template database is:
    C:Documents and SettingsAll UsersApplicationWeisangFlexPro7.0Template.FPT.

    support@weisang.com

    #34899
    Mustapha Ghazzouz
    Participant

    Noch eine Frage.. Was ist wenn das andere System schon irgendwelche Module und Formulare in seiner lokalen oder globalen Template Datenbank gespeichert hat. Wenn ich die Template.FPT überschreibe, dann werden sie wahrscheinlich alle gelöscht!!

    Wie kann man die alten Sachen (Module, Formulare, Makros) absichern?? und wie kann man das auch automatisieren ?

    Danke

    #34900
    Bernhard Kantz
    Participant

    By using the Organize Macro Project Items dialog box, you can copy a macro project to use it in another database or another database template.

    On the Tools menu, point to Macro, and then click on Macros.
    Click on Organizer.
    Select the macro project you want to copy from one of the lists, and then click on Copy.
    FlexPro displays the macro projects used in the active database in the list on the left and the macro projects in the personal templates database in the list on the right.

    You can automate these steps using the VBE interface in VBA.

    support@weisang.com

Voir les messages de 7 - 1 à 7 (sur un total de 7)
  • Vous devez être connecté pour répondre à ce sujet.