-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
ImportFilter – Debugger
Home > Community > Automation and VBA > ImportFilter – Debugger
- Dieses Thema hat 6 Antworten und 2 Teilnehmer, und wurde zuletzt aktualisiert vor 14 Jahre, 11 Monaten von
Mustapha Ghazzouz.
-
AutorBeiträge
-
September 14, 2007 um 12:02 am Uhr #12403
Mustapha Ghazzouz
MitgliedDank 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
September 14, 2007 um 12:02 am Uhr #8086Mustapha Ghazzouz
MitgliedDank 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
September 14, 2007 um 1:45 am Uhr #8646Bernhard Kantz
TeilnehmerIf 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.
September 14, 2007 um 2:22 am Uhr #8647Mustapha Ghazzouz
MitgliedI 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
September 14, 2007 um 2:47 am Uhr #8648Bernhard Kantz
TeilnehmerIn 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 Settings\User login name\Local Settings\Application Data\Weisang\FlexPro\7.0\Template.FPT
The path of the global template database is:
C:\Documents and Settings\All Users\Application\Weisang\FlexPro\7.0\Template.FPT.April 12, 2008 um 2:16 am Uhr #8649Mustapha Ghazzouz
MitgliedNoch 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
April 12, 2008 um 2:50 am Uhr #8650Bernhard Kantz
TeilnehmerBy 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.
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.