Home All Groups Group Topic Archive Search About

Loading CrystalReports.rpt, I Am Asked To Enter Login ID And Password

Author
6 Jun 2006 2:58 PM
Christopher Lusardi
How do I stop VB from asking me this? I want to view the Crystal Report
immediately without the prompt.

Thank you,
Christopher Lusardi

Author
6 Jun 2006 3:44 PM
Christopher Lusardi
Christopher Lusardi wrote:
> How do I stop VB from asking me this? I want to view the Crystal Report
> immediately without the prompt.
>
> Thank you,
> Christopher Lusardi

Also, with a simplier version of my application, I was never asked for
a password to this Access database. The old version would display the
report immediately without beging asked for a password.

Thanks,
Christopher Lusardi
Author
6 Jun 2006 4:30 PM
keanhee
Hi,
Crystal reports did a bad job on database login. It's better than you
pass a ADO dataset to crystal report instead of using crystal report to
login to database..

Thanks
keanhee

Christopher Lusardi wrote:
Show quoteHide quote
> Christopher Lusardi wrote:
>> How do I stop VB from asking me this? I want to view the Crystal Report
>> immediately without the prompt.
>>
>> Thank you,
>> Christopher Lusardi
>
> Also, with a simplier version of my application, I was never asked for
> a password to this Access database. The old version would display the
> report immediately without beging asked for a password.
>
> Thanks,
> Christopher Lusardi
>
Author
6 Jun 2006 4:44 PM
Christopher Lusardi
keanhee wrote:
> Hi,
> Crystal reports did a bad job on database login. It's better than you
> pass a ADO dataset to crystal report instead of using crystal report to
> login to database..
>

What will happen if I do this? Will I always be prompted for a
password? Do have to do anything else besides the below? Will the below
even compile?

Old Code
CrystalReport1.Load("C:\Documents and
Settings\chrislusardi\Desktop\EMPLOYEE
DATABASE\Employee_Database_Program\Employee_Database_Program\CrystalReport1.rpt")

New Code
CrystalReport1.Load (Employee_DatabseDataSet)

Thank you,
Christopher Lusardi

Show quoteHide quote
>
> Christopher Lusardi wrote:
> > Christopher Lusardi wrote:
> >> How do I stop VB from asking me this? I want to view the Crystal Report
> >> immediately without the prompt.
> >>
> >> Thank you,
> >> Christopher Lusardi
> >
> > Also, with a simplier version of my application, I was never asked for
> > a password to this Access database. The old version would display the
> > report immediately without beging asked for a password.
> >
Author
6 Jun 2006 5:13 PM
Christopher Lusardi
Christopher Lusardi wrote:
Show quoteHide quote
> keanhee wrote:
> > Hi,
> > Crystal reports did a bad job on database login. It's better than you
> > pass a ADO dataset to crystal report instead of using crystal report to
> > login to database..
> >
>
> What will happen if I do this? Will I always be prompted for a
> password? Do have to do anything else besides the below? Will the below
> even compile?
>
> Old Code
> CrystalReport1.Load("C:\Documents and
> Settings\chrislusardi\Desktop\EMPLOYEE
> DATABASE\Employee_Database_Program\Employee_Database_Program\CrystalReport1.rpt")
>
> New Code
> CrystalReport1.Load (Employee_DatabseDataSet)
>

When I do that "New Code" above, it tells me, cannot be converted to
String.

Show quoteHide quote
> Thank you,
> Christopher Lusardi
>
> >
> > Christopher Lusardi wrote:
> > > Christopher Lusardi wrote:
> > >> How do I stop VB from asking me this? I want to view the Crystal Report
> > >> immediately without the prompt.
> > >>
> > >> Thank you,
> > >> Christopher Lusardi
> > >
> > > Also, with a simplier version of my application, I was never asked for
> > > a password to this Access database. The old version would display the
> > > report immediately without beging asked for a password.
> > >
Author
6 Jun 2006 5:53 PM
Christopher Lusardi
Hello,

  I have discovered why I am now being prompted for a user ID and
password. I modified my connection string to use DataDirectory so that
I can get the benefit of using a relative path to my database! How can
I prevent being prompted for user ID and password while I use keyword
DataDirectory?

Thank you,
Christopher Lusardi

Christopher Lusardi wrote:
Show quoteHide quote
> Christopher Lusardi wrote:
> > keanhee wrote:
> > > Hi,
> > > Crystal reports did a bad job on database login. It's better than you
> > > pass a ADO dataset to crystal report instead of using crystal report to
> > > login to database..
> > >
> >
> > What will happen if I do this? Will I always be prompted for a
> > password? Do have to do anything else besides the below? Will the below
> > even compile?
> >
> > Old Code
> > CrystalReport1.Load("C:\Documents and
> > Settings\chrislusardi\Desktop\EMPLOYEE
> > DATABASE\Employee_Database_Program\Employee_Database_Program\CrystalReport1.rpt")
> >
> > New Code
> > CrystalReport1.Load (Employee_DatabseDataSet)
> >
>
> When I do that "New Code" above, it tells me, cannot be converted to
> String.
>
> > Thank you,
> > Christopher Lusardi
> >
> > >
> > > Christopher Lusardi wrote:
> > > > Christopher Lusardi wrote:
> > > >> How do I stop VB from asking me this? I want to view the Crystal Report
> > > >> immediately without the prompt.
> > > >>
> > > >> Thank you,
> > > >> Christopher Lusardi
> > > >
> > > > Also, with a simplier version of my application, I was never asked for
> > > > a password to this Access database. The old version would display the
> > > > report immediately without beging asked for a password.
> > > >
Author
7 Jun 2006 7:31 AM
Peter Proost
Hi,

have a look at

http://www.vb-tips.com/default.aspx?ID=68888abf-f137-45d1-8a81-e779bfb411c5

Greetz, Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

Show quoteHide quote
"Christopher Lusardi" <clusard***@aol.com> schreef in bericht
news:1149616435.967964.143370@i39g2000cwa.googlegroups.com...
> Hello,
>
>   I have discovered why I am now being prompted for a user ID and
> password. I modified my connection string to use DataDirectory so that
> I can get the benefit of using a relative path to my database! How can
> I prevent being prompted for user ID and password while I use keyword
> DataDirectory?
>
> Thank you,
> Christopher Lusardi
>
> Christopher Lusardi wrote:
> > Christopher Lusardi wrote:
> > > keanhee wrote:
> > > > Hi,
> > > > Crystal reports did a bad job on database login. It's better than
you
> > > > pass a ADO dataset to crystal report instead of using crystal report
to
> > > > login to database..
> > > >
> > >
> > > What will happen if I do this? Will I always be prompted for a
> > > password? Do have to do anything else besides the below? Will the
below
> > > even compile?
> > >
> > > Old Code
> > > CrystalReport1.Load("C:\Documents and
> > > Settings\chrislusardi\Desktop\EMPLOYEE
> > >
DATABASE\Employee_Database_Program\Employee_Database_Program\CrystalReport1.
rpt")
Show quoteHide quote
> > >
> > > New Code
> > > CrystalReport1.Load (Employee_DatabseDataSet)
> > >
> >
> > When I do that "New Code" above, it tells me, cannot be converted to
> > String.
> >
> > > Thank you,
> > > Christopher Lusardi
> > >
> > > >
> > > > Christopher Lusardi wrote:
> > > > > Christopher Lusardi wrote:
> > > > >> How do I stop VB from asking me this? I want to view the Crystal
Report
> > > > >> immediately without the prompt.
> > > > >>
> > > > >> Thank you,
> > > > >> Christopher Lusardi
> > > > >
> > > > > Also, with a simplier version of my application, I was never asked
for
> > > > > a password to this Access database. The old version would display
the
> > > > > report immediately without beging asked for a password.
> > > > >
>