To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=89342
                 Issue #|89342
                 Summary|When running macro, we get Microsoft Visual C++ runtim
                        |e error and then OO.o crashes
               Component|Database access
                 Version|OOo 3.0 Beta
                Platform|All
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|dbaneedsconfirm
             Reported by|safway





------- Additional comments from [EMAIL PROTECTED] Mon May 12 18:05:15 +0000 
2008 -------
When running the following macro from a form, we get "Microsoft visual C++
Runtime Library Runtime Eror ! Program c:\Program
Files\OpenOffice.org3\program\soffice.bin This application has requested the
runtime to terminate it in an unusual way.  Please contact the application's
support team for more information." and then OO.o crashes (goes away from the
screen).  The OO.o quickstarter also goes away at this point.

-----

Macro:
function OpenReport( reportContainer as variant, oConnection as variant,
sReportName as string) as variant
Dim ReportPropArgs(1) As New com.sun.star.beans.PropertyValue REM See
http://api.openoffice.org/docs/common/ref/com/sun/star/beans/PropertyValue.html
ReportPropArgs(0).Name = "ActiveConnection"
ReportPropArgs(0).Value = oConnection
ReportPropArgs(1).Name = "OpenMode"
ReportPropArgs(1).Value = "open"
OpenReport =
reportContainer.loadComponentFromURL(sReportName,"_blank",8,ReportPropArgs())
REM See
http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XComponentLoader.html#loadComponentFromURL
end function

sub OpenReportDeprecatedComputersInSelectDate( oev as variant )
sReportName = "DeprecatedComputersInSelectDate"
OpenReport( getReportTC, getConnectionReport, sReportName )
end sub

-----

More details:
The report was generated from the query (as in right-click the query and
selecting "Report...").

When we run the query by itself, OO.o does not give any errors nor crashes, but
does not give any results either.  We expect to see some results.

When we run the report by itself, OO.o does nothing at all (nothing comes up on
the screen), no errors, and does not crash.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to