Skip to Content
author's profile photo Former Member
Former Member

DI: User name and password for DI connection(6.2)

Hi

I've just write Add-On for version 6.2 that uses UI and DI. Now, I've got a problem to get user name and password in order to connect with database via DI. I know this problem was solved in 6.5 (single sign-on).Does anybody know a simple(or not) way to do this in 6.2?

Thank you

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2004 at 03:00 PM

    Hi Mark,

    simlest way is opening up the "choose company" form and reading out the data you need. You can get everything but the database name out of this form. Check my earlier postings. I have answered on this issue before. There might be some VB sample code available in this forum. If not, just ask for it.

    It is a little clumsy as a solution, but it works.

    😉

    HTH Lutz Morrien

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2004 at 05:37 PM

    Hi Lutz

    This is very simple - to open form and ask for user name and password. But it's a last thing I want to do, because it's not convinient way for user. What do you think about storing that data in the registry(password in encripted format)?

    Thank you

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Szymon,

      maybe renaming the company is an option.

      Something like MyCompanyName2003 and MyCompanyName2004

      After all, they do not contain the same data.

      This seems like the simplest solution, without having to do any extra coding. HTH Lutz Morrien

      MyMatrix = ChooseFrm.Items(“4”).Specific should work in order to get the Matrix object.