Herfried and Cor,
I created a new Crystal Report using Project | Add New Item | Crystal Report. I then set the dataset and designed the form. I named this form ArmbandNumbers.rpt.
In my main program I:
DIM anrpt as New ArmbandNumbers
When the program hits this line, this is the exact exception that is returned:
"A first chance exception of type 'System.IO.FileNotFoundException' occured in CrystalDecisions.CrystalReports.Engine.dll'
Additional information: The System cannot find the file specified."
And in the debug, it highlights The MyBase.New():
'------------------------------------------------------------------------------
' <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.1.4322.573
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.ReportSource
Imports CrystalDecisions.Shared
Imports System
Imports System.ComponentModel
Public Class ArmbandNumbers
Inherits ReportClass
Public Sub New()
MyBase.New
End Sub
Thanks for any help you can give. I have several other apps that uses Crystal Reports where everything is working fine and I structured the syntax just like the other programs. And yes, Cor, I am using VB .Net.
Brad
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:Oi**************@TK2MSFTNGP11.phx.gbl...
"Brad" <ba******@ukcdogs.com> schrieb: Dim anrpt As New ArmbandNumbers
When this line executes I get the error that "The System cannot find the
file specified." and highlights MyBase.New in the report's vb language.
Is this the /complete/ error message?
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>