Click here to Skip to main content
15,902,492 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionOrganization Chart in vb 6 Pin
Ayat Setiawan26-Dec-17 21:45
Ayat Setiawan26-Dec-17 21:45 
Questionconnection string Pin
Member 1359500326-Dec-17 11:10
Member 1359500326-Dec-17 11:10 
AnswerRe: connection string Pin
Dave Kreskowiak26-Dec-17 18:24
mveDave Kreskowiak26-Dec-17 18:24 
AnswerRe: connection string Pin
Eddy Vluggen26-Dec-17 21:30
professionalEddy Vluggen26-Dec-17 21:30 
Questionhow to rectify class not support error in vb6 at win 7 Pin
Afarook Abdul Majeed22-Dec-17 17:32
Afarook Abdul Majeed22-Dec-17 17:32 
AnswerRe: how to rectify class not support error in vb6 at win 7 Pin
Peter_in_278022-Dec-17 19:06
professionalPeter_in_278022-Dec-17 19:06 
AnswerRe: how to rectify class not support error in vb6 at win 7 Pin
Richard Deeming8-Jan-18 6:08
mveRichard Deeming8-Jan-18 6:08 
QuestionLoad Report Failed Error show while direct printing crystal report vb.net(Not Every Time) Pin
rttech3121-Dec-17 9:36
rttech3121-Dec-17 9:36 
i m using this code to print crystal report with out priview ,Some Time Load Report Faild Error Show ,when i close and reopen application again report will printed,how can i resolve this error please guide me,my code is
VB
<pre> Dim crtableLogoninfo As New TableLogOnInfo
                Dim crConnectionInfo As New ConnectionInfo
                Dim CrTables As Tables
                '  Dim CrTable As Table
                Dim TableCounter
                Dim crReportDocument As New ReportDocument
                Dim crParameterDiscreteValue As ParameterDiscreteValue
                Dim crParameterFieldDefinitions As ParameterFieldDefinitions
                Dim crParameterFieldLocation As ParameterFieldDefinition
                Dim crParameterValues As ParameterValues
                Dim billno As New InfoGeneration
                Dim sname As ConfigurationSettings
                crReportDocument.Load(Application.StartupPath & "\Reports\rptsinv.rpt")
                With crConnectionInfo
                    .ServerName = sname.AppSettings("servername")
                    .DatabaseName = sname.AppSettings("dbname")
                    .UserID = sname.AppSettings("username")
                    .Password = sname.AppSettings("password")
                End With
                CrTables = crReportDocument.Database.Tables
                For Each CrTable In CrTables
                    crtableLogoninfo = CrTable.LogOnInfo
                    crtableLogoninfo.ConnectionInfo = crConnectionInfo
                    CrTable.ApplyLogOnInfo(crtableLogoninfo)
                Next
               
                crParameterFieldDefinitions = crReportDocument.DataDefinition.ParameterFields
                crParameterFieldLocation = crParameterFieldDefinitions.Item("s_id")
                crParameterValues = crParameterFieldLocation.CurrentValues
                crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
                crParameterDiscreteValue.Value = txts_id.Text
                crParameterValues.Add(crParameterDiscreteValue)
                crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
                crReportDocument.PrintToPrinter(txtcopies.Text, False, 0, 0)

QuestionVB Searching for data displayed in datagrid/textbox using customer second name Pin
faiqaa20-Dec-17 0:31
faiqaa20-Dec-17 0:31 
AnswerRe: VB Searching for data displayed in datagrid/textbox using customer second name Pin
Richard MacCutchan20-Dec-17 1:25
mveRichard MacCutchan20-Dec-17 1:25 
QuestionBarcode Pin
Member 1358540419-Dec-17 11:08
Member 1358540419-Dec-17 11:08 
AnswerRe: Barcode Pin
Richard MacCutchan19-Dec-17 22:03
mveRichard MacCutchan19-Dec-17 22:03 
AnswerRe: Barcode Pin
David Mujica21-Dec-17 3:22
David Mujica21-Dec-17 3:22 
AnswerProblem with changing property value from attributes panel:Solved Pin
mo149219-Dec-17 4:06
mo149219-Dec-17 4:06 
QuestionUsing visual basic code with telnet.exe/cmd.exe Pin
Member 1358117317-Dec-17 8:16
Member 1358117317-Dec-17 8:16 
AnswerRe: Using visual basic code with telnet.exe/cmd.exe Pin
Richard MacCutchan17-Dec-17 21:26
mveRichard MacCutchan17-Dec-17 21:26 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Member 1358117318-Dec-17 3:26
Member 1358117318-Dec-17 3:26 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Richard MacCutchan18-Dec-17 4:36
mveRichard MacCutchan18-Dec-17 4:36 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Member 1358117318-Dec-17 5:34
Member 1358117318-Dec-17 5:34 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Dave Kreskowiak18-Dec-17 5:50
mveDave Kreskowiak18-Dec-17 5:50 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Member 1358117318-Dec-17 7:31
Member 1358117318-Dec-17 7:31 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Dave Kreskowiak18-Dec-17 8:07
mveDave Kreskowiak18-Dec-17 8:07 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Eddy Vluggen18-Dec-17 15:31
professionalEddy Vluggen18-Dec-17 15:31 
QuestionHow to do syntactic analysis on words Pin
Onuche Abraham DaCatalyst16-Dec-17 18:38
Onuche Abraham DaCatalyst16-Dec-17 18:38 
SuggestionRe: How to do syntactic analysis on words Pin
Richard MacCutchan16-Dec-17 21:02
mveRichard MacCutchan16-Dec-17 21:02 

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.