Click here to Skip to main content
15,890,557 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to detect available com ports Pin
dusk8529-Nov-10 18:53
dusk8529-Nov-10 18:53 
AnswerRe: how to detect available com ports PinPopular
Luc Pattyn29-Nov-10 19:02
sitebuilderLuc Pattyn29-Nov-10 19:02 
GeneralRe: how to detect available com ports Pin
Rajesh Anuhya29-Nov-10 23:50
professionalRajesh Anuhya29-Nov-10 23:50 
GeneralRe: how to detect available com ports Pin
Rick Shaub1-Dec-10 8:24
Rick Shaub1-Dec-10 8:24 
Questionread/recieve data from serial port Pin
dusk8525-Nov-10 19:56
dusk8525-Nov-10 19:56 
AnswerRe: read/recieve data from serial port Pin
Luc Pattyn26-Nov-10 0:56
sitebuilderLuc Pattyn26-Nov-10 0:56 
AnswerRe: read/recieve data from serial port Pin
Dave Kreskowiak26-Nov-10 6:13
mveDave Kreskowiak26-Nov-10 6:13 
QuestionVB.Net - Crystal report direct to printer. Missing parameter values [modified] Pin
Central_IT25-Nov-10 3:11
Central_IT25-Nov-10 3:11 
I am getting the following error message "Missing parameter values." when I am trying to print directly to the printer. Below is my code. Works perfect if I want to view on screen but get the above error message when I try to print direct to my printer. If I did not have any parameter code etc, prints no bother to printer.

Dim cr As New ReportDocument
Dim param1Fields As New ParameterFields
Dim param1Field As New ParameterField
Dim param1Range As New ParameterDiscreteValue

cr.Load("c:\MyReport.rpt")

param1Field.ParameterFieldName = "PassedParameter"
param1Range.Value = 123456
param1Field.CurrentValues.Add(param1Range)
param1Fields.Add(param1Field)

CrystalReportViewer1.ParameterFieldInfo = param1Fields

'View Report
'CrystalReportViewer1.ReportSource = cr
'Print straight to printer
cr.PrintToPrinter(1, False, 0, 0) '(1, False, 0, 0)

modified on Friday, November 26, 2010 5:21 AM

AnswerRe: VB.Net - Crystal report direct to printer. Missing parameter values Pin
ChandraRam26-Nov-10 1:14
ChandraRam26-Nov-10 1:14 
GeneralRe: VB.Net - Crystal report direct to printer. Missing parameter values Pin
Central_IT26-Nov-10 1:34
Central_IT26-Nov-10 1:34 
GeneralRe: VB.Net - Crystal report direct to printer. Missing parameter values Pin
DJ Matthews26-Nov-10 3:19
DJ Matthews26-Nov-10 3:19 
GeneralRe: VB.Net - Crystal report direct to printer. Missing parameter values Pin
Central_IT26-Nov-10 3:36
Central_IT26-Nov-10 3:36 
GeneralRe: VB.Net - Crystal report direct to printer. Missing parameter values Pin
Henry Minute29-Nov-10 1:23
Henry Minute29-Nov-10 1:23 
QuestionProblem while Publishing the application [SOLVED] Pin
vijay248224-Nov-10 22:38
vijay248224-Nov-10 22:38 
AnswerRe: Problem while Publishing the application Pin
Dave Kreskowiak25-Nov-10 2:58
mveDave Kreskowiak25-Nov-10 2:58 
GeneralRe: Problem while Publishing the application Pin
vijay248225-Nov-10 3:13
vijay248225-Nov-10 3:13 
GeneralRe: Problem while Publishing the application Pin
Dave Kreskowiak25-Nov-10 5:43
mveDave Kreskowiak25-Nov-10 5:43 
GeneralRe: Problem while Publishing the application Pin
vijay248225-Nov-10 3:36
vijay248225-Nov-10 3:36 
GeneralRe: Problem while Publishing the application Pin
Dave Kreskowiak25-Nov-10 5:48
mveDave Kreskowiak25-Nov-10 5:48 
GeneralRe: Problem while Publishing the application Pin
vijay248225-Nov-10 22:22
vijay248225-Nov-10 22:22 
GeneralRe: Problem while Publishing the application Pin
Dave Kreskowiak26-Nov-10 6:07
mveDave Kreskowiak26-Nov-10 6:07 
Questionaccess report to pdf Pin
C#Coudou24-Nov-10 14:35
C#Coudou24-Nov-10 14:35 
AnswerRe: access report to pdf Pin
Dave Kreskowiak25-Nov-10 3:02
mveDave Kreskowiak25-Nov-10 3:02 
GeneralRe: access report to pdf Pin
C#Coudou25-Nov-10 14:54
C#Coudou25-Nov-10 14:54 
QuestionClose a MDI form while closing on another MDI form from a Menu Pin
waner michaud24-Nov-10 3:08
waner michaud24-Nov-10 3:08 

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.