Click here to Skip to main content
15,891,184 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: threading in VB6.. Pin
Dave Kreskowiak8-Sep-10 3:25
mveDave Kreskowiak8-Sep-10 3:25 
AnswerRe: threading in VB6.. Pin
Eddy Vluggen8-Sep-10 7:05
professionalEddy Vluggen8-Sep-10 7:05 
Questionhow to pass a two dimensional dynamic array in a function Pin
jainiraj7-Sep-10 4:36
jainiraj7-Sep-10 4:36 
AnswerRe: how to pass a two dimensional dynamic array in a function Pin
DaveAuld7-Sep-10 4:41
professionalDaveAuld7-Sep-10 4:41 
GeneralRe: how to pass a two dimensional dynamic array in a function Pin
jainiraj7-Sep-10 4:46
jainiraj7-Sep-10 4:46 
GeneralRe: how to pass a two dimensional dynamic array in a function Pin
DaveAuld7-Sep-10 5:11
professionalDaveAuld7-Sep-10 5:11 
GeneralRe: how to pass a two dimensional dynamic array in a function Pin
jainiraj7-Sep-10 22:53
jainiraj7-Sep-10 22:53 
QuestionHOW TO SET Crystal Sub report Paper source Pin
Anoop Brijmohun7-Sep-10 0:50
Anoop Brijmohun7-Sep-10 0:50 
Hi Guys,
I have a Crystal report with a sub report.

i need to set the subreport to use paper from an alt. tray from the printer.

any ideas?

rptMain.Subreports(0).PrintOptions.CustomPaperSource = GetSelectedPaperSource(Me.cbDft.Text.Trim)

   Private Function GetSelectedPaperSource(ByVal paper As String) As System.Drawing.Printing.PaperSource
        Try
            Dim selectedPaperSource As System.Drawing.Printing.PaperSource = New System.Drawing.Printing.PaperSource
            Dim myPrinterSettings As System.Drawing.Printing.PrinterSettings = New System.Drawing.Printing.PrinterSettings()
            myPrinterSettings.PrinterName = Me.lblPrinter.Text.Trim
            For Each myPaperSource As System.Drawing.Printing.PaperSource In myPrinterSettings.PaperSources
                If myPaperSource.SourceName = paper Then
                    Return myPaperSource
                End If
            Next

        Catch ex As Exception
            Throw New Exception(ex.Message & vbCrLf)
        End Try
    End Function


thanks
QuestionHow to show that Datagridview is Enabled/Disabled. Pin
Sam Martini6-Sep-10 22:48
Sam Martini6-Sep-10 22:48 
AnswerRe: How to show that Datagridview is Enabled/Disabled. Pin
Tom Deketelaere7-Sep-10 0:09
professionalTom Deketelaere7-Sep-10 0:09 
QuestionMS Access database not closing Pin
Charles Wolfe6-Sep-10 19:43
Charles Wolfe6-Sep-10 19:43 
AnswerRe: MS Access database not closing Pin
David Mujica7-Sep-10 3:40
David Mujica7-Sep-10 3:40 
AnswerRe: MS Access database not closing Pin
Luc Pattyn7-Sep-10 3:43
sitebuilderLuc Pattyn7-Sep-10 3:43 
AnswerRe: MS Access database not closing Pin
Member 195743615-Nov-10 1:53
Member 195743615-Nov-10 1:53 
Questionhow to use compare function Pin
zhiyuan166-Sep-10 19:37
zhiyuan166-Sep-10 19:37 
AnswerRe: how to use compare function Pin
Dave Kreskowiak7-Sep-10 1:50
mveDave Kreskowiak7-Sep-10 1:50 
AnswerRe: how to use compare function Pin
Luc Pattyn7-Sep-10 2:05
sitebuilderLuc Pattyn7-Sep-10 2:05 
QuestionHow to store a string in Byte array in hex form Pin
jainiraj4-Sep-10 23:49
jainiraj4-Sep-10 23:49 
AnswerRe: How to store a string in Byte array in hex form Pin
Dave Kreskowiak5-Sep-10 3:17
mveDave Kreskowiak5-Sep-10 3:17 
QuestionREgarding sending data when using socket winsock Pin
jainiraj4-Sep-10 20:38
jainiraj4-Sep-10 20:38 
AnswerRe: REgarding sending data when using socket winsock Pin
Dave Kreskowiak5-Sep-10 3:13
mveDave Kreskowiak5-Sep-10 3:13 
QuestionHow to interact a Context Menu with a web browser... Pin
thebiostyle4-Sep-10 11:31
thebiostyle4-Sep-10 11:31 
AnswerRe: How to interact a Context Menu with a web browser... Pin
Mycroft Holmes5-Sep-10 13:06
professionalMycroft Holmes5-Sep-10 13:06 
GeneralRe: How to interact a Context Menu with a web browser... Pin
thebiostyle5-Sep-10 13:34
thebiostyle5-Sep-10 13:34 
QuestionRegarding long data type .. Pin
jainiraj4-Sep-10 2:43
jainiraj4-Sep-10 2:43 

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.