Click here to Skip to main content
16,005,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to create realtime forms? Pin
Robert Rohde30-Dec-04 4:27
Robert Rohde30-Dec-04 4:27 
GeneralLAN/internet/modem recongnization Pin
John F Not Kennedy29-Dec-04 23:34
sussJohn F Not Kennedy29-Dec-04 23:34 
GeneralFTP Download Problem Pin
nitin_ion29-Dec-04 17:12
nitin_ion29-Dec-04 17:12 
GeneralHuge Brick WALL, need help... VB6.0 question Pin
dcudev.lcr29-Dec-04 15:56
dcudev.lcr29-Dec-04 15:56 
GeneralRe: Huge Brick WALL, need help... VB6.0 question Pin
dcudev.lcr30-Dec-04 4:24
dcudev.lcr30-Dec-04 4:24 
GeneralCumstomizable Mainmenu: how to add the events C#s vs VB.NET Pin
David M J29-Dec-04 12:27
David M J29-Dec-04 12:27 
GeneralRe: Cumstomizable Mainmenu: how to add the events C#s vs VB.NET Pin
Robert Rohde30-Dec-04 4:34
Robert Rohde30-Dec-04 4:34 
Questionhow to disable database login in crystal report.net ? Pin
viettho29-Dec-04 12:25
viettho29-Dec-04 12:25 
Could someone please help me on how to disable database login in crystal report 9.0?

Here's how I did:

I created a customer.rpt file

then I wrote this code to call customer.rpt to make the report:
-------------------------------------------------------------------------

Private Sub CustomersPrintForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim CRYRpt As New Customers
Dim rst As MICControlLibrary.RecordSet = MICControlLibrary.DBContacts.DBSelectPrint(_contact_id)
Dim dtview As DataView = New DataView(rst.DataTable)
CRYRpt.SetDataSource(dtview)

Dim ParameterFields As CrystalDecisions.Shared.ParameterFields
Dim ParameterField As CrystalDecisions.Shared.ParameterField
Dim ParameterRangeValue As CrystalDecisions.Shared.ParameterDiscreteValue 'ParameterRangeValue
ParameterFields = New CrystalDecisions.Shared.ParameterFields
ParameterField = New CrystalDecisions.Shared.ParameterField
ParameterField.ParameterFieldName = "@contact_id"
ParameterRangeValue = New CrystalDecisions.Shared.ParameterDiscreteValue 'ParameterRangeValue()
ParameterRangeValue.Value = _contact_id
ParameterField.CurrentValues.Add(ParameterRangeValue)
ParameterFields.Add(ParameterField)
CrystalReportViewer1.ParameterFieldInfo = ParameterFields
CrystalReportViewer1.ReportSource = CRYRpt
CrystalReportViewer1.Refresh()

End Sub

----------------------------------------------

am I missing something? because when I run it, it prompt a database login asking me to login before view the report?

Thanks for helping.
AnswerRe: how to disable database login in crystal report.net ? Pin
m_hussein4-Jan-05 20:14
m_hussein4-Jan-05 20:14 
GeneralCharting/Graphing - Form association... Pin
ajlong129-Dec-04 6:54
ajlong129-Dec-04 6:54 
GeneralPlacement of Data in ListView Pin
kobezt0829-Dec-04 4:54
kobezt0829-Dec-04 4:54 
GeneralDates from a given week Pin
Alsvha29-Dec-04 4:06
Alsvha29-Dec-04 4:06 
Questionhow can i use Overture and Adwords in Vb.net Pin
Hammad Umar28-Dec-04 23:23
sussHammad Umar28-Dec-04 23:23 
QuestionSilent install? Pin
charleslau285528-Dec-04 15:54
charleslau285528-Dec-04 15:54 
QuestionHow to write and display chemical formula or mathematical formula in VB.NET Pin
bangzozo28-Dec-04 15:32
bangzozo28-Dec-04 15:32 
GeneralSQL Statement in vb.net Pin
Mekong River28-Dec-04 13:33
Mekong River28-Dec-04 13:33 
GeneralRe: SQL Statement in vb.net Pin
Mekong River28-Dec-04 14:53
Mekong River28-Dec-04 14:53 
QuestionHow to select a RadioButton? Pin
Matrix100028-Dec-04 13:29
Matrix100028-Dec-04 13:29 
GeneralDisappointed with Graphics Speed Pin
nagajim28-Dec-04 12:05
nagajim28-Dec-04 12:05 
GeneralRe: Disappointed with Graphics Speed Pin
Robert Rohde29-Dec-04 1:26
Robert Rohde29-Dec-04 1:26 
GeneralVB.NET & ADO - Update & Insert Problems Pin
tinomclaren28-Dec-04 12:01
tinomclaren28-Dec-04 12:01 
GeneralRe: VB.NET & ADO - Update & Insert Problems Pin
Mekong River28-Dec-04 13:46
Mekong River28-Dec-04 13:46 
GeneralZip and Unzip from VB.Net Pin
CharlotteF28-Dec-04 6:19
CharlotteF28-Dec-04 6:19 
GeneralRe: Zip and Unzip from VB.Net Pin
Robert Rohde29-Dec-04 1:32
Robert Rohde29-Dec-04 1:32 
GeneralRe: Zip and Unzip from VB.Net Pin
Dennis C. Dietrich29-Dec-04 9:35
Dennis C. Dietrich29-Dec-04 9:35 

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.