Click here to Skip to main content
15,921,697 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Checking date modified Pin
ReactiveX4-Dec-07 20:21
ReactiveX4-Dec-07 20:21 
GeneralVBA Help in Excel (Updated) Pin
harveyhanson4-Dec-07 2:34
harveyhanson4-Dec-07 2:34 
GeneralPrinting Rich Text Pin
BooleanTrue4-Dec-07 1:41
professionalBooleanTrue4-Dec-07 1:41 
GeneralRe: Printing Rich Text Pin
Dave Kreskowiak4-Dec-07 5:04
mveDave Kreskowiak4-Dec-07 5:04 
GeneralRe: Printing Rich Text Pin
Duncan Edwards Jones4-Dec-07 7:36
professionalDuncan Edwards Jones4-Dec-07 7:36 
GeneralRe: Printing Rich Text Pin
BooleanTrue4-Dec-07 23:18
professionalBooleanTrue4-Dec-07 23:18 
GeneralRe: Printing Rich Text Pin
Duncan Edwards Jones7-Dec-07 11:06
professionalDuncan Edwards Jones7-Dec-07 11:06 
GeneralDirect print out in Crystal report(VB2005) Pin
Keshaba4-Dec-07 1:38
Keshaba4-Dec-07 1:38 
Hi I am using VB2005 as fon-end and sqlserver 2005 Express edition
as Back end.I want to get Direct printout in crystal report from
VB2005 form.I use the following piece of code To Display
crystal Report..But for direct printout I don't know...Plz Help...

Dim rpstr As String
rpstr = "select * from viewRequisitions where bookingno ='" & Label15.Text + "' and " _
& "Requisitionno =" & Label9.Text + " and " _
& "Vehno ='" & Label13.Text + "' and " _
& "Day(RequisitionDate) = '" & Format(DTPReqDt.Value, "dd") + "' and " _
& "Month(RequisitionDate) = '" & Format(DTPReqDt.Value, "MM") + "' and " _
& "Year(RequisitionDate) = '" & Format(DTPReqDt.Value, "yyyy") + "' "

Me.Crpt.ReportFileName = "D:\TrialFleet\TrialFleet\Bin\Debug\Report\RequsitionReport.rpt"
Me.Crpt.Connect = "DSN=FleetDSN;UID="";Pwd="";"
Me.Crpt.DiscardSavedData = True
Me.Crpt.SQLQuery = rpstr
Me.Crpt.WindowState = Crystal.WindowStateConstants.crptMaximized
Me.Crpt.Destination = Crystal.DestinationConstants.crptToWindow
Me.Crpt.Action = 1

Keshaba

Questionstrange code?? Pin
Tom Deketelaere4-Dec-07 1:38
professionalTom Deketelaere4-Dec-07 1:38 
GeneralRe: strange code?? Pin
Thomas Krojer4-Dec-07 1:46
Thomas Krojer4-Dec-07 1:46 
GeneralRe: strange code?? Pin
Tom Deketelaere4-Dec-07 2:52
professionalTom Deketelaere4-Dec-07 2:52 
GeneralRe: strange code?? Pin
Dave Kreskowiak4-Dec-07 4:02
mveDave Kreskowiak4-Dec-07 4:02 
GeneralRe: strange code?? Pin
Tom Deketelaere5-Dec-07 0:20
professionalTom Deketelaere5-Dec-07 0:20 
GeneralRe: strange code?? Pin
Thomas Krojer5-Dec-07 5:08
Thomas Krojer5-Dec-07 5:08 
Jokedata report display type mismatch error and invalid data sourec Pin
perumalLashmi3-Dec-07 20:10
perumalLashmi3-Dec-07 20:10 
GeneralRe: data report display type mismatch error and invalid data sourec Pin
Dave Kreskowiak4-Dec-07 4:34
mveDave Kreskowiak4-Dec-07 4:34 
GeneralHi friends Pin
kalyan3-Dec-07 19:40
kalyan3-Dec-07 19:40 
GeneralRe: Hi friends Pin
John_Adams4-Dec-07 2:50
John_Adams4-Dec-07 2:50 
GeneralConvert String To DataGridViewCell Pin
VB 8.03-Dec-07 19:22
VB 8.03-Dec-07 19:22 
GeneralRe: Convert String To DataGridViewCell Pin
Dave Kreskowiak4-Dec-07 4:11
mveDave Kreskowiak4-Dec-07 4:11 
Generalget data from another form Pin
Travis James3-Dec-07 17:33
Travis James3-Dec-07 17:33 
GeneralRe: get data from another form Pin
ReactiveX3-Dec-07 17:49
ReactiveX3-Dec-07 17:49 
GeneralRe: get data from another form Pin
Travis James3-Dec-07 18:17
Travis James3-Dec-07 18:17 
GeneralRe: get data from another form Pin
Mycroft Holmes3-Dec-07 18:51
professionalMycroft Holmes3-Dec-07 18:51 
GeneralRe: get data from another form Pin
Christian Graus3-Dec-07 19:39
protectorChristian Graus3-Dec-07 19:39 

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.