PROBLEM!!-->VB Application/IE6 crashing behavior when running a WinNT built app on WinXP 
Author Message
 PROBLEM!!-->VB Application/IE6 crashing behavior when running a WinNT built app on WinXP

Oh.........my bad,... I meant to send it to vbwebforms newsgroups not
windowsforms!!!!!!!!!!!!!!!!!!!!!


Quote:
> Hello All,
> I am currently working with an application written in Visual Basic 6.0.
It
> is a .CAB based web application.  The package for this web-app was built
on
> an NT4 machine and should be compatible with an XP box.  When running the
> app everything works perfectly until it is time to print.  There is a
print
> button on the web-interface that when pushed, takes data from a visible
> flxgrid on the screen and prints it using the Microsoft Data Report
> Designer.  A snippet of the code is shown below:

> --------------------------------------------------------------------------
--
> --------------------------------------------------------------------------
--
> --------------------------------------------------
> Private Sub GridPrint(Optional blnPrint As Boolean = False)
>     On Error GoTo GridPrint_ERR
>     Dim objReport As Object
> ...
> ...
>      Set objReport = New dtrCAFYE 'Report Designer (.dsr file)

> ...
> ...
>      On Error Resume Next
> 'read flxgird-->adgReporting and fill report
>     With objReport.Sections("ReportPageHeader")

>         For T = 0 To 2
>             For i = 0 To adgReporting.Cols - 1
>                 lngCol = i
>                 lngRow = T
>                 .Controls("lblHdr" & lngRow & lngCol).Caption =
> adgReporting.TextMatrix(lngRow, lngCol)
>                 Debug.Print adgReporting.TextMatrix(lngRow, lngCol) &
lngRow
> & lngCol

>             Next
>         Next
>     End With
>     On Error GoTo GridPrint_ERR
> ...
> .
> .
>        Set objReport.DataSource = adodcReporting  '

>     If blnPrint Then
> '*********************************POINT AT WHICH THE WINDOWS PRINT DIALOG
> BOX COMES AND YOU CLICK PRINT AND IT CRASHES
>         objReport.PrintReport True    '

'***************************************************************************

- Show quoted text -

Quote:
> ********************************************************
>        Else

>         objReport.WindowState = 2
>         objReport.Show 1
>     End If
>     Set objReport = Nothing

> 'error handlers

> End Sub
> --------------------------------------------------------------------------
--
> --------------------------------------------------------------------------
--
> ------------------------------------------------------

> The code crashes when the button is clicked and it gets the objReport(data
> report designer object) and it pulls up the windows print ok/cancel dialog
> box and it prints and then crashes with the Microsoft send/don't send
error
> report message.  An overview of the error is shown below:

> error signature:
> .
> .
> An unhandled win32 exception has occured in iexplore.exe
> AppName: iexplore.exe AppVer: 6.0.2800.1106 ModName: msvbvm60.dll

> ModVer: 6.0.92.37 Offset: 0001c9f1

> .

> .

> File to be included in error report.

> C:\DOCUME~1\mmortley\LOCALS~1\Temp\WERAA9.tmp.dir00\appcompat.txt

> The page prints but the application crashes.  I was wondering if anyone
has
> witnessed this behavior or knows what this problem is.  I have tried
> everything but seem to be getting no success.

> Any help will be appreciated.

> Thanks,

> Mwana Morltey



Sun, 17 Jul 2005 05:06:14 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Build a VB Application to Run how a NT Service

2. Build a VB Application to Run how a NT Service

3. Problem when upgrading from IE6 SP0 to IE6 SP1

4. WinNT + VB + Pinnacle = Crash

5. HELP: VB3 application running under WinNT and using WritePrivateProfileString

6. Deploying VB.NET application => Security Problems

7. Running a VB Application within another VB Application

8. What is the difference between build solution and build application

9. Problem with running a vb-application as a service

10. winnt server and workstation and vb applications

11. Installing VB application on Win98 and WinNT?

12. Probl. VB 16 bit running on WinNT

 

 
Powered by phpBB® Forum Software