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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a 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 a 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.