Click here to Skip to main content
16,012,107 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Autosearch stock items Pin
Colin Angus Mackay14-Jun-07 22:47
Colin Angus Mackay14-Jun-07 22:47 
QuestionRe: Autosearch stock items Pin
ozzyrocsdbn17-Jun-07 20:37
ozzyrocsdbn17-Jun-07 20:37 
QuestionRe: Autosearch stock items Pin
ozzyrocsdbn17-Jun-07 20:43
ozzyrocsdbn17-Jun-07 20:43 
NewsRe: Autosearch stock items Pin
ozzyrocsdbn14-Jun-07 22:15
ozzyrocsdbn14-Jun-07 22:15 
Questiontext from file.txt to web page ? Pin
porsti14-Jun-07 19:59
porsti14-Jun-07 19:59 
AnswerRe: text from file.txt to web page ? Pin
Christian Graus14-Jun-07 20:11
protectorChristian Graus14-Jun-07 20:11 
QuestionVB 6.0/Crystal Reports Pin
Indrojeet_Bhattacharya14-Jun-07 19:55
Indrojeet_Bhattacharya14-Jun-07 19:55 
AnswerRe: VB 6.0/Crystal Reports Pin
Dileep_Vickey14-Jun-07 20:58
Dileep_Vickey14-Jun-07 20:58 
Hi,
I dont know how to create crystal reports by using VB6. But i can help u for calling report from VB6. Here is a sample code

gtRptDsn = "DSN = " & ServerName & ";UID = **; PWD=****"



<report control="">.Connect = gtRptDsn
<report control="">.Destination = crptToWindow
<report control="">.Destination = crptToPrinter
in report function
<report control="">.ReportFileName = tcpath & "ReportName.rpt"
//stored procedure parameters
<report control="">.StoredProcParam(0) = GiSbuid
<report control="">.StoredProcParam(1) = iProjectId
<report control="">.StoredProcParam(2) = iVendorId
<report control="">.StoredProcParam(3) = ICategoryId
<report control="">.StoredProcParam(4) = IGroupId
<report control="">.StoredProcParam(5) = IMaterialId

//for header(like company name and addresss) use Fomula
<report control="">.Formulas(0) = "Company='" & GTEnterprise & "'"
<report control="">.Formulas(1) = "Add1='" & GTSbuAdd1 & "'"
<report control="">.Formulas(2) = "Add2='" & GTSbuADD2 & "'"

// to show report
RptQuotation.Action = 1
RptQuotationReport.PageZoom 100
// to make the report as a child of MDI form
<report control="">.WindowParentHandle = mdiFormMain.hwnd


By Dileep
I love my bug since she is my best friend.
QuestionRe: VB 6.0/Crystal Reports Pin
Indrojeet_Bhattacharya15-Jun-07 2:52
Indrojeet_Bhattacharya15-Jun-07 2:52 
AnswerRe: VB 6.0/Crystal Reports Pin
Dave Kreskowiak15-Jun-07 3:53
mveDave Kreskowiak15-Jun-07 3:53 
QuestionFlexgrid in VB Pin
kankeyan14-Jun-07 18:58
kankeyan14-Jun-07 18:58 
AnswerRe: Flexgrid in VB Pin
Sanjay Kunjam15-Jun-07 0:10
Sanjay Kunjam15-Jun-07 0:10 
QuestionPassing muti-parameters crystal report8.5 Pin
Nine_14-Jun-07 18:56
Nine_14-Jun-07 18:56 
AnswerRe: Passing muti-parameters crystal report8.5 Pin
Steven J Jowett14-Jun-07 23:13
Steven J Jowett14-Jun-07 23:13 
GeneralRe: Passing muti-parameters crystal report8.5 Pin
Nine_17-Jun-07 17:13
Nine_17-Jun-07 17:13 
QuestionDataGrids and editing values Pin
Geoff_300114-Jun-07 12:10
Geoff_300114-Jun-07 12:10 
QuestionHow to get date from long number Pin
vurugonda14-Jun-07 6:17
vurugonda14-Jun-07 6:17 
AnswerRe: How to get date from long number Pin
Sathesh Sakthivel14-Jun-07 6:23
Sathesh Sakthivel14-Jun-07 6:23 
AnswerRe: How to get date from long number Pin
Dave Kreskowiak14-Jun-07 6:50
mveDave Kreskowiak14-Jun-07 6:50 
GeneralRe: How to get date from long number Pin
vurugonda14-Jun-07 8:22
vurugonda14-Jun-07 8:22 
GeneralRe: How to get date from long number Pin
Dave Kreskowiak14-Jun-07 8:57
mveDave Kreskowiak14-Jun-07 8:57 
GeneralRe: How to get date from long number Pin
vurugonda14-Jun-07 9:31
vurugonda14-Jun-07 9:31 
GeneralRe: How to get date from long number Pin
Dave Kreskowiak14-Jun-07 9:41
mveDave Kreskowiak14-Jun-07 9:41 
GeneralRe: How to get date from long number Pin
vurugonda14-Jun-07 11:35
vurugonda14-Jun-07 11:35 
QuestionDrawing 8-bit images in VB.NET 2003 Pin
ZSaberLink14-Jun-07 5:32
ZSaberLink14-Jun-07 5:32 

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.