Results 1 to 6 of 6

Thread: pasword manager

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2006
    Posts
    146

    pasword manager

    i have create da new vb.net , ms access and cr 8.0 project . the database is password protected so every time crystal report in opend it demands for the database pass word is there some way to avoid that or can the password be pre provided by some manner ???
    Using VB.NET 2003/.NET 1.1

    If you found a post useful then please Rate it!
    Please mark you thread resolved using the Thread Tools above

  2. #2
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Re: pasword manager

    yes you can include the password in the connection string. Check this link for MS Access connection strings.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2006
    Posts
    146

    Re: pasword manager

    but i am not giving crystal report any connection string so where to add the string for crytal report to connect with data base
    Using VB.NET 2003/.NET 1.1

    If you found a post useful then please Rate it!
    Please mark you thread resolved using the Thread Tools above

  4. #4
    Lively Member
    Join Date
    Nov 2006
    Posts
    116

    Re: pasword manager

    If you use the crystal report that will connect to the database directly and wish the cystal report to login itself, may be you can look at this link

    http://technicalsupport.businessobje...1%200%20356275

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Aug 2006
    Posts
    146

    Re: pasword manager

    VB Code:
    1. If you are using an Oracle database, specify the schema name for 'myOwner' but do not specify a value for 'DatabaseName'
    2. :crTable.Location = myDBName & "." & myOwner & "." & crTable.Location.Substring

    can u plz tell me what to write in my owner and my db name
    Using VB.NET 2003/.NET 1.1

    If you found a post useful then please Rate it!
    Please mark you thread resolved using the Thread Tools above

  6. #6
    Lively Member
    Join Date
    Nov 2006
    Posts
    116

    Re: pasword manager

    If you are reporting off an Access database, then
    specify either the 'ServerName' or 'DatabaseName'
    to the 'ConnectionInfo' Object depending on
    how you are connecting to Access.

    For example, if you are connecting to Access
    through ODBC, then set the 'DatabaseName' for the
    'ConnectionInfo' object as follows:

    With crConnectionInfo
    .DatabaseName = "C:\mydatabase\mydata.mdb"
    End With

    If you are connecting to Access through OLE DB,
    then set set the 'ServerName':

    With crConnectionInfo
    .ServerName = "C:\mydatabase\mydata.mdb"
    End With


    It is not possible to report of a secured Access
    database using a native connection. See knowledge
    base article C2010460 for more information.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width