473,387 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Want to call crystal report through vb.net without asking for Database name etc

Want to call a crystal report of version 8.5 through VB.NET.
In this the data is passed to report through XML file. On running this, the report asks for Database name, Server name, Userid, Pwd.
Subreports are also used into that report.
I want it to directly display the report without asking for this info .
I tried for code from google, as follows

Database.Tables(0).ApplyLogOnInfo(myLogin)

_rdoc.Database.Tables(0).LogOnInfo.ConnectionInfo. DatabaseName = "DB"
_rdoc.Database.Tables(0).LogOnInfo.ConnectionInfo. ServerName = "DBServer"
_rdoc.Database.Tables(0).LogOnInfo.ConnectionInfo. UserID = "cUserID"
_rdoc.Database.Tables(0).LogOnInfo.ConnectionInfo. Password = "cPassword"

Also tried code as
_rdoc.SetDatabaseLogon("sa", "", "(local)", "ANVR")

But still asking for details while displaying
Is any option to Verify Database through coding ?

Can anyone help me about ??

Thanks
Apr 5 '07 #1
1 2117
MMcCarthy
14,534 Expert Mod 8TB
This question is being moved to the .NET forum.

ADMIN
Apr 5 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Mithun Verma | last post by:
Hello All, I have a Windows application that uses Crystal Reports 9 (bundled Version) developed using VS.NET 2003 on a windows server 2003 m/c. The application has to be deployed on the client...
0
by: V.Boomessh | last post by:
Hai all I am creating an VB.NET application which has some reporting involved. i use Crystal report for VS.NET to create the report I have designed the report(rpt file) by making a connection...
2
by: Ceri | last post by:
I have been trying to display dataset data in a Crystal Report in a Crystal Reports Viewer using VB.Net. Displaying the data from the default xtreme.mdb Access database was no problem, but when...
3
by: route_coder | last post by:
I am using access database to create a crystal report in VB.NET Everything works fine when I run on my machine. But when I am deploying it other windows machines. It is asking for database server...
6
by: Agnes | last post by:
Please help, i had completed over 30-50 reports, now. our client insist to change the database name. anyshorcut that I can change the database name in the report without re-write all of them ??...
3
by: LataChavan | last post by:
I have tried to look for a solution to the problem of sending parameters to stored procedures through crystal report. Following is the code: Now what happens is that if i do not apply the logon...
1
by: Rodo | last post by:
Hi all, I'm trying to generate a simple crystal report without a database. Several people mention the use of a dataset. Someone mention in a msdn forum that I could use the SetParameterValue to...
2
by: Bruno43 | last post by:
I am very new to Visual Baisc in general but I am trying to learn Crystal Reports. I have gotten a few things on there but a couple of things are still escaping my grasp. My question: I have a...
11
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
How can I stop receiving this message while calling a crystal report? "The report you requested requires further information." Thanks
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.