-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
ImportFilter – Debugger
Home > Community > Automation and VBA > ImportFilter – Debugger
- This topic has 6 replies, 2 voices, and was last updated 17 years, 7 months ago by
Mustapha Ghazzouz.
-
AuthorPosts
-
September 14, 2007 at 12:02 am #12403
Mustapha Ghazzouz
MemberDank 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 at 12:02 am #8086Mustapha Ghazzouz
MemberDank 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 at 1:45 am #8646Bernhard Kantz
ParticipantIf 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 at 2:22 am #8647Mustapha Ghazzouz
MemberI 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 at 2:47 am #8648Bernhard Kantz
ParticipantIn 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 at 2:16 am #8649Mustapha Ghazzouz
MemberNoch 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 at 2:50 am #8650Bernhard Kantz
ParticipantBy 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.
-
AuthorPosts
- You must be logged in to reply to this topic.
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information