Wrox Programmer Forums
|
BOOK: Professional Crystal Reports for VS.NET
This is the forum to discuss the Wrox book Professional Crystal Reports for Visual Studio .NET by David McAmis; ISBN: 9780764544033
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Crystal Reports for VS.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2006, 03:46 PM
dw dw is offline
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Warnings under ASP.NET 2.0

The following code has worked fine under ASP.NET 1.1. I converted my project over to 2.0 and the Visual Studio editor is giving warnings about the .ExportDestinationType and .ExportFormatType lines in the following snippet in an ASP.NET form whose sole purpose is to pass a parameter into a CR report and bring back a PDF. Code was derived from the CR for VS.NET 2nd Ed.

With myExportOptions
   .DestinationOptions = myDiskFileDestinationOptions.ExportDestinationType = .ExportDestinationType.DiskFile
   .ExportFormatType = .ExportFormatType.PortableDocFormat
        End With
        myReport.Export()

The warning states:
*****************************
Warning: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.

Am I supposed to be doing things differently under ASP.NET 2.0?

Thanks,

DW





Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Backgound / Color warnings socoolbrewster CSS Cascading Style Sheets 3 January 4th, 2007 08:15 AM
How to view warnings IronStar MySQL 1 May 1st, 2005 10:46 PM
how to off php notices and warnings knight Beginning PHP 2 February 3rd, 2005 03:34 PM
Set Warnings Teqlump Access VBA 4 October 27th, 2004 11:12 PM
Help Sesssion Warnings! Empier4552 Beginning PHP 1 July 8th, 2003 11:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.