Urgent Help Needed - Common dialog error 28670 in win 95 - Help!, 
Author Message
 Urgent Help Needed - Common dialog error 28670 in win 95 - Help!,

Hi!

I'm running this code in VB5.0 Pro (SP3) with the common dialog control
It works fine under NT4.0 but when run under win95 I get errors
When I comment out the on eror goto I get error 28670

Can anyone help?

          If optPrintFormatted = True Or optPrintDraft = True Then
                ' set cancel to true
                MsgBox "in Call Entry about to call CMDialog1"
                CMDialog1.CancelError = True
                CMDialog1.FromPage = 1
                CMDialog1.ToPage = 1
                'On Error GoTo bypassPnt
                ' display the print dialog box
                CMDialog1.ShowPrinter
                ' get user-selected values from the dialog box
                beginpage% = CMDialog1.FromPage
                endpage% = CMDialog1.ToPage
                numcopies% = CMDialog1.Copies
                Screen.MousePointer = 11
                If chkPrintPreview = 1 Then
                    PrintPreview% = 1
                Else
                    PrintPreview% = 0
                End If
                MsgBox "about to call PntJobCd"
                Call PntJobCD(numcopies%, Val(Job$), optPrintFormatted,
PrintPreview%)
            Else
            End If

TIA

Brian



Tue, 10 Oct 2000 03:00:00 GMT  
 Urgent Help Needed - Common dialog error 28670 in win 95 - Help!,

Hi!

I'm running this code in VB5.0 Pro (SP3) with the common dialog control
It works fine under NT4.0 but when run under win95 I get errors
When I comment out the on eror goto I get error 28670

Can anyone help?

          If optPrintFormatted = True Or optPrintDraft = True Then
                ' set cancel to true
                MsgBox "in Call Entry about to call CMDialog1"
                CMDialog1.CancelError = True
                CMDialog1.FromPage = 1
                CMDialog1.ToPage = 1
                'On Error GoTo bypassPnt
                ' display the print dialog box
                CMDialog1.ShowPrinter
                ' get user-selected values from the dialog box
                beginpage% = CMDialog1.FromPage
                endpage% = CMDialog1.ToPage
                numcopies% = CMDialog1.Copies
                Screen.MousePointer = 11
                If chkPrintPreview = 1 Then
                    PrintPreview% = 1
                Else
                    PrintPreview% = 0
                End If
                MsgBox "about to call PntJobCd"
                Call PntJobCD(numcopies%, Val(Job$), optPrintFormatted,
PrintPreview%)
            Else
            End If

TIA

Brian



Tue, 10 Oct 2000 03:00:00 GMT  
 Urgent Help Needed - Common dialog error 28670 in win 95 - Help!,

Hi,

I'm running this code in VB5.0 Pro (SP3) with the common dialog control
It works fine under NT4.0 but when run under win95 I get errors
When I comment out the on eror goto I get error 28670

Can anyone help?

          If optPrintFormatted = True Or optPrintDraft = True Then
                ' set cancel to true
                MsgBox "in Call Entry about to call CMDialog1"
                CMDialog1.CancelError = True
                CMDialog1.FromPage = 1
                CMDialog1.ToPage = 1
                'On Error GoTo bypassPnt
                ' display the print dialog box
                CMDialog1.ShowPrinter
                ' get user-selected values from the dialog box
                beginpage% = CMDialog1.FromPage
                endpage% = CMDialog1.ToPage
                numcopies% = CMDialog1.Copies
                Screen.MousePointer = 11
                If chkPrintPreview = 1 Then
                    PrintPreview% = 1
                Else
                    PrintPreview% = 0
                End If
                MsgBox "about to call PntJobCd"
                Call PntJobCD(numcopies%, Val(Job$), optPrintFormatted,
PrintPreview%)
            Else
            End If

Please help..

Brian



Tue, 10 Oct 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Common Dialog Error 28670

2. Common Dialog Run Tme Error 28670

3. HELP - Error 50003 - VB5, Win 95, Win 98, Win NT

4. HELP - Error 50003 - VB5, Win 95, Win 98, Win NT

5. HELP - Error 50003 - VB5, Win 95, Win 98, Win NT

6. HELP NEEDED: Access 95 DAO Error - Won't Start, Access Quits

7. Common Dialog Problem (Win '95 VB 3.0)

8. Common Dialog Box in Windows 95 - Error 380

9. Need Urgent Help w/Access 95

10. Need Help With Word For Win 95

11. Need Help With VB4.0 and Win 95

12. VB Pro v3.0 and MS ACCESS for Win 95 v7.0 - Need Help

 

 
Powered by phpBB® Forum Software