Community

.NET app.config Answered

Hello,

Is it possible to attach .NET app.config file to Flexicapture?
The Database Connection String used by my .NET codes  is inside the app.config.

Thanks.

0

Comments

3 comments

  • Avatar
    Ekaterina

    Hello,

    You may attach an external dll as described in the Appendix > Using scripts in ABBYY FlexiCapture > External Assemblies and use DB connection via script rule.

    0
  • Avatar
    abbyyuser

    Hello,

    What do you mean by "use DB connection via script rule"? Can you elaborate more?
    The DB connection string is required by my custom .NET DLL. What I am currently doing is hard-coding the connection string inside the DLL.

    Thanks.

    0
  • Avatar
    Ekaterina

    Hello,

    Yes, you may store your connection string inside the dll. But it is also possible to use environment variables

    Program settings > Creating a project > Environment variables

    0

Please sign in to leave a comment.