Click here to Skip to main content
15,893,486 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questioncrystal report + vb.net2005 Pin
hrishiS11-May-09 20:26
hrishiS11-May-09 20:26 
AnswerRe: crystal report + vb.net2005 Pin
Tiyani Miyambo11-May-09 20:49
Tiyani Miyambo11-May-09 20:49 
GeneralRe: crystal report + vb.net2005 Pin
hrishiS11-May-09 20:57
hrishiS11-May-09 20:57 
QuestionCrystal Report Error when called from VB 2008 Pin
Ener Leumas11-May-09 20:09
Ener Leumas11-May-09 20:09 
Questionconnection string Pin
hrishiS11-May-09 19:52
hrishiS11-May-09 19:52 
AnswerRe: connection string Pin
specialdreamsin11-May-09 20:11
specialdreamsin11-May-09 20:11 
GeneralRe: connection string Pin
EliottA12-May-09 2:44
EliottA12-May-09 2:44 
QuestionCalling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas11-May-09 17:23
Ener Leumas11-May-09 17:23 
I'm trying to call a Crystal Report 7 from my Visual Basic 2008 project.

I have used the following codes on my form:

ConInfo.ConnectionInfo.UserID = <user name="">
ConInfo.ConnectionInfo.Password = <password>
ConInfo.ConnectionInfo.ServerName = <server name="">
ConInfo.ConnectionInfo.DatabaseName = <database name="">

For intCounter = 0 To objReport.Database.Tables.Count - 1
objReport.Database.Tables(intCounter).ApplyLogOnInfo(ConInfo)
Next

However, whenever I call it using the code below, I'm still being asked for the login details.

Dim objForm As New frmViewReport
objForm.ViewReport("C:\MyREPORT.RPT", , "@pParam=MyParam")
objForm.Show()

I supply the correct login information (server name, user id, password, database)
but I'm still getting error message "Login Failed. Please try again."

Help anyone? It will be highly appreciated.

BTW, I got the codes also from this site. Maybe I'm just lacking something to make it run.
AnswerRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Mycroft Holmes11-May-09 18:06
professionalMycroft Holmes11-May-09 18:06 
GeneralRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas11-May-09 18:29
Ener Leumas11-May-09 18:29 
AnswerRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
DJ Matthews12-May-09 5:14
DJ Matthews12-May-09 5:14 
GeneralRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas12-May-09 21:03
Ener Leumas12-May-09 21:03 
Question[Message Deleted] Pin
Silva_A11-May-09 12:20
Silva_A11-May-09 12:20 
AnswerRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak11-May-09 15:32
mveDave Kreskowiak11-May-09 15:32 
General[Message Deleted] Pin
Silva_A12-May-09 3:50
Silva_A12-May-09 3:50 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak12-May-09 4:23
mveDave Kreskowiak12-May-09 4:23 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Silva_A12-May-09 12:47
Silva_A12-May-09 12:47 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak12-May-09 13:31
mveDave Kreskowiak12-May-09 13:31 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Silva_A13-May-09 1:40
Silva_A13-May-09 1:40 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak13-May-09 2:02
mveDave Kreskowiak13-May-09 2:02 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Silva_A13-May-09 5:40
Silva_A13-May-09 5:40 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak13-May-09 14:18
mveDave Kreskowiak13-May-09 14:18 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Silva_A14-May-09 8:45
Silva_A14-May-09 8:45 
QuestionHelp - Finding 3rd Point on Circle Pin
cyndy_northrup11-May-09 9:53
cyndy_northrup11-May-09 9:53 
AnswerRe: Help - Finding 3rd Point on Circle Pin
Luc Pattyn11-May-09 10:43
sitebuilderLuc Pattyn11-May-09 10:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.