Click here to Skip to main content
16,008,490 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: A Function that Accept Parameters and Return ds Pin
Colin Angus Mackay11-Oct-07 0:30
Colin Angus Mackay11-Oct-07 0:30 
GeneralRe: A Function that Accept Parameters and Return ds Pin
Christian Graus11-Oct-07 0:44
protectorChristian Graus11-Oct-07 0:44 
GeneralRe: A Function that Accept Parameters and Return ds Pin
Vimalsoft(Pty) Ltd11-Oct-07 0:44
professionalVimalsoft(Pty) Ltd11-Oct-07 0:44 
GeneralRe: A Function that Accept Parameters and Return ds Pin
Colin Angus Mackay11-Oct-07 2:20
Colin Angus Mackay11-Oct-07 2:20 
GeneralRe: A Function that Accept Parameters and Return ds Pin
Vimalsoft(Pty) Ltd11-Oct-07 2:36
professionalVimalsoft(Pty) Ltd11-Oct-07 2:36 
GeneralRe: A Function that Accept Parameters and Return ds Pin
Colin Angus Mackay11-Oct-07 2:50
Colin Angus Mackay11-Oct-07 2:50 
GeneralRe: A Function that Accept Parameters and Return ds Pin
Vimalsoft(Pty) Ltd11-Oct-07 3:09
professionalVimalsoft(Pty) Ltd11-Oct-07 3:09 
Questionsetting up Crystal Pin
twsted f811-Oct-07 0:21
twsted f811-Oct-07 0:21 
Hi

Has any one out there used crystal with sql server to generate reports? I have been trying to get my code running that passes my login info and password to sql automatically. I have followed the instructions in the MSDN to set up these reports and one of the variables which I know I have declared is simply not being picked up.

The code I ahve been making use of is as follows

Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.ReportSource

Public Class Form1
Private Sub configurecrystalreports()
Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
myConnectionInfo.DatabaseName = "Northwind"
myConnectionInfo.UserID = "limitedPermissionAccount"
myConnectionInfo.Password = "1234"
Dim reportpath As String = Application.StartupPath & "\" & "northwind.rpt"
myCrystalReportViewer.ReportSource = reportpath
setdblogforreport(myConnectionInfo)
End Sub
Private Sub setdblogforreport(ByVal myconnectioninfo As ConnectionInfo)
Dim mytablelogoninfo As TableLogOnInfos = myCrystalReportViewer.LogOnInfo
For Each myTableLogOnInfo As TableLogOnInfo In [myTableLogOnInfos] ' vbstates that I 'have not declared mytablelogonInfo.
myTableLogOnInfo.ConnectionInfo = myconnectioninfo
Next
End Sub


I have gone over the instructions in the MSDN several times and I am still getting the same error.
What am I doing wrong, or is there an easier way of doing this that is not using the wizards?
AnswerRe: setting up Crystal Pin
ChandraRam11-Oct-07 2:11
ChandraRam11-Oct-07 2:11 
Question()_send email in visual studio .net 2005 Pin
Suhail Ali10-Oct-07 21:39
Suhail Ali10-Oct-07 21:39 
AnswerRe: ()_send email in visual studio .net 2005 Pin
Christian Graus10-Oct-07 22:25
protectorChristian Graus10-Oct-07 22:25 
Questiondoubts in abstract class and interface Pin
VG Ramanan10-Oct-07 21:26
VG Ramanan10-Oct-07 21:26 
AnswerRe: doubts in abstract class and interface Pin
Christian Graus10-Oct-07 22:27
protectorChristian Graus10-Oct-07 22:27 
Questionvb.net localized Pin
ganash10-Oct-07 21:20
ganash10-Oct-07 21:20 
AnswerRe: vb.net localized Pin
Christian Graus10-Oct-07 22:28
protectorChristian Graus10-Oct-07 22:28 
Questioneliminate the space Pin
ganash10-Oct-07 21:15
ganash10-Oct-07 21:15 
AnswerRe: eliminate the space Pin
nishkarsh_k10-Oct-07 21:51
nishkarsh_k10-Oct-07 21:51 
GeneralRe: eliminate the space Pin
ganash11-Oct-07 1:04
ganash11-Oct-07 1:04 
GeneralRe: eliminate the space Pin
Luc Pattyn11-Oct-07 1:16
sitebuilderLuc Pattyn11-Oct-07 1:16 
GeneralRe: eliminate the space Pin
nishkarsh_k11-Oct-07 20:00
nishkarsh_k11-Oct-07 20:00 
QuestionOpen VB.Net form from vb6 Pin
QPun10-Oct-07 20:58
QPun10-Oct-07 20:58 
AnswerRe: Open VB.Net form from vb6 Pin
Christian Graus10-Oct-07 22:29
protectorChristian Graus10-Oct-07 22:29 
GeneralRe: Open VB.Net form from vb6 Pin
QPun10-Oct-07 23:46
QPun10-Oct-07 23:46 
GeneralRe: Open VB.Net form from vb6 Pin
Christian Graus11-Oct-07 0:18
protectorChristian Graus11-Oct-07 0:18 
GeneralRe: Open VB.Net form from vb6 Pin
QPun16-Oct-07 15:23
QPun16-Oct-07 15:23 

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.