Topic
deploy import filter
Page d'accueil ' Communauté ' Automation et VBA ' deploy import filter
- Ce sujet contient 3 réponses, 2 participants et a été mis à jour pour la dernière fois par sepp herberger, le il y a 17 années et 2 mois.
-
AuteurMessages
-
26.02.2008 à 19:34 #34842sepp herbergerParticipant
Dear,
I developed one import filter for customer. but the deployment for the filter seemed difficult for customer user, he should import my vba source code into his flexpro macro environment and run filter_register and filter_deregister etc,.
Is there any easy way to deployment customized import filter?Thanks in advance.
Tanya26.02.2008 à 19:34 #34845sepp herbergerParticipantDear,
I developed one import filter for customer. but the deployment for the filter seemed difficult for customer user, he should import my vba source code into his flexpro macro environment and run filter_register and filter_deregister etc,.
Is there any easy way to deployment customized import filter?Thanks in advance.
Tanya26.02.2008 à 20:13 #34843Bernhard KantzParticipantTo deploy a filter written in VBA you need to import the VBA source code in one of the template databases. The registration should than happen in either [i]AutoExec[/i] or [i]AutoOpen[/i] (see the article on Auto macros in the online help and the import filter example). De-registration should occur in [i]AutoExit[/i] or [i]AutoClose[/i].
All this can also be automated by using the object model of the Visual Basic Environment. Please take a look at the [b]VBE[/b] property of [b]Application[/b] for the entry point to this object model. You will need to add a reference to [b]Microsoft Visual Basic for Applications Extensibility 5.3[/b] to access the necessary type library.
Depending on what you can expect on the target system (module name or function name collisons, existing auto-macros etc.) this can be more or less work.You can reduce deployment issues by implementing your import filter as a COM add-in. Thus you just need to deploy and register a DLL (and its dependencies). As FlexPro VBA is the same as in Microsoft Office the same literature applies for COM add-in development.
Support
support@weisang.com28.02.2008 à 12:43 #34844sepp herbergerParticipantThanks very much.
-
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.