473,414 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Adressing an Embedded Crystal Report from VB code?

I'm asking here since I hardly ever get answers on CR questions in the CR
NewGroup. Although this question is also posted there.

I have a working solution with Crystal Reports but the reports are external,
that means I address them as filenames when I open them in the Reportviewer.
I need to change this so they are all a part of the EXE file, (embedded) and
I have no idea what to do... I have embedded the reports in the exe, I can
see that on the filesize.. but it still askes for the files that are
external.. (off course, sincve I haven't changed any code yet)

What do I do?

/Lars Netzel
Nov 20 '05 #1
1 3027
Hi Lars!

Add the reports to your project and call them this way:
Dim crReportDocument As New <ReportName>
CrystalReportViewer1.ReportSource = crReportDocument

Kind Regards
Jorge
-----Original Message-----
I'm asking here since I hardly ever get answers on CR questions in the CRNewGroup. Although this question is also posted there.

I have a working solution with Crystal Reports but the reports are external,that means I address them as filenames when I open them in the Reportviewer.I need to change this so they are all a part of the EXE file, (embedded) andI have no idea what to do... I have embedded the reports in the exe, I cansee that on the filesize.. but it still askes for the files that areexternal.. (off course, sincve I haven't changed any code yet)
What do I do?

/Lars Netzel
.

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
0
by: Dr. Indera | last post by:
hello, i previously posted the questions below on several crystal reports newsgroups, including the one for the company that makes crystal reports, but never got an answer, so i'm hoping that...
0
by: Patrick Flahan | last post by:
I have a rather strange problem that I hope some one can help with. Here is the situation. I have an c# (.Net 1.0) application that consists of several components. Currently, everything is in...
2
by: Mythran | last post by:
In .Net, how can I go about and set a Crystal Reports namespace? Right now they use the Root Namespace (VB) from the project. How can I extend the namespace for a single report (which will be set...
15
by: rod.weir | last post by:
Fellow database developers, I would like to draw on your experience with views. I have a database that includes many views. Sometimes, views contains other views, and those views in turn may...
0
by: Guy Gallant | last post by:
Does anybody know if a Crystal Report (V11) can call a Dundas Chart. Using C# (2.0) can we have a Crystal Report include a Dundas Chart.
0
by: partybob99 | last post by:
I dont know why this is so difficult for me, but I've looked literally everywhere on how to create a embedded crystal report in ASP.NET and then access it using the crystal report viewer. Here...
0
by: Mike Dow | last post by:
Hi, I have a Win Form that I created in C#. It contains a Crystal report that I show using the CrystalReportViewer control. When I show the report in my application, I can click on fields from...
3
by: firozfasilan | last post by:
I am new to visual basic 2008. In the past I have used vb6 to display an existing crystal report. I would like to accomplish the same with vb.net. However I am not clear on the syntax to display a...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.