473,322 Members | 1,846 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,322 software developers and data experts.

Problem in accessing reports from CurDir()--"C" Dr

RAJ
Hi,
I am acccessing my crystal reports bundled version developed in VB.NET
2002.
I stored my report in local C drive and set the report source as
follows:
rptPositiveMatch.ReportSource = CurDir() &
"\Report\PositiveMatch.rpt"
But I got the error "Load Report Failed". I checked the path while
running the report, but it goes to different path and into the 'bin'
folder of my current project folder, instend of 'Report folder' as
set earlier.
Is there any resolution to direct the form to open the report from
current "C" drive of the local machine.
I don't know exactly what the CurDir() function does.Please let me
know if there is any alternative.
Thnaks,
Raj
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 20 '05 #1
1 1248
* ra**********@yahoo-dot-com.no-spam.invalid (RAJ) scripsit:
I am acccessing my crystal reports bundled version developed in VB.NET
2002.
I stored my report in local C drive and set the report source as
follows:
rptPositiveMatch.ReportSource = CurDir() &
"\Report\PositiveMatch.rpt"
But I got the error "Load Report Failed". I checked the path while
running the report, but it goes to different path and into the 'bin'
folder of my current project folder, instend of 'Report folder' as
set earlier.


Where/how did you set the folder and why do you use 'CurDir'?

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Nov 20 '05 #2

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

Similar topics

3
by: rosemm | last post by:
I am having a problem accessing an element in an XML document (one that I receive from someone else). The xml looks like this <FAMILY> <DAD> <ADDRESS> <ADDRESS_LINE VALUE="SOMETHING"/>...
3
by: Il Khan | last post by:
Hi, I have an asp application running on a dozen of winXP machines configured as kiosks. This application stores its data on a MS access db. I have the need to make some reports extracting data...
2
by: Ron | last post by:
Hi everyone. Windows XP Pro/Access2000/2.4gig chip/512meg RAM/200GigDrive. I'm stumped. I've been involved in other things lately, but came back to the program I'm preparing and zipped into a...
3
by: Suhas Vengilat | last post by:
Hi, I am facing a problem accessing SQL Server using WindowsAuthentication. One Sharepoint application development team need a webpart to access one SQL Server Database using a service account...
1
by: Eirik Brattbakk | last post by:
Hi I have some problems accessing a soap service made in c# using an ATL/MFC client over SSL. I have tried both CSoapMSXMLInetClient and CSoapWininetClient as template arguments with my stub...
0
by: joshua.oconnor | last post by:
I am having a problem accessing the properties of a structure object returned from a webservice. The web service returns an object: changeobject.description changeobject.user I can create an...
0
by: sunil sharma | last post by:
Hi all, I have an ADP (2003 format) that has forms and reports. Report source was set in class module and the class module is totally handling the report. For some technical reasons, i have to...
3
by: djsuson | last post by:
I'm trying to set up an inheritance tree that also uses templates. This is an attempt to simplify some previous code that was filled with redundancies. I'm working with g++ 3.4.6. The code is split...
7
by: Neekos | last post by:
I have an internal web page for my company that has a list of hyperlinks so that users can access different reports (.xls files on the server). What i would like to do is to keep track of who is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.