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.File NotFoundExcepti on' occured in CrystalDecision s.CrystalReport s.Engine.dll'
Additional information: The System cannot find the file specified."
And in the debug, it highlights The MyBase.New():
'------------------------------------------------------------------------------
' <autogenerate d>
' 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 CrystalDecision s.CrystalReport s.Engine
Imports CrystalDecision s.ReportSource
Imports CrystalDecision s.Shared
Imports System
Imports System.Componen tModel
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******** ******@TK2MSFTN GP11.phx.gbl...
"Brad" <ba******@ukcdo gs.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/>