Showing posts with label project. Show all posts
Showing posts with label project. Show all posts

Sunday, March 25, 2012

Crystal32.ocx Missing

When I try to load a VB project, I get the following message:
"Crystal32.ocx Missing"
How can I overcome this problem.
Regards,
SatishOriginally posted by satishbeh
When I try to load a VB project, I get the following message:
"Crystal32.ocx Missing"
How can I overcome this problem.

Regards,
Satish

1. Make sure the Crystal Report Control was installed correctly.

eg. create new vb project add the crystal control, if it's working fine. do the following method

Use Method:

1. Open the project
2. Continue the project with errors
3. After project loaded add the crystal report control in the project (don't save now)
4. close the VB IDE main window [X].
5. This will prompt the changed files, unselect all the files except project .vbp & .vbw, now click yes to save.

open the project now.

yours friendly,
K.Babu

Thursday, March 22, 2012

Crystal Reports error

Hello: :wave:
I have a C# project which contains a web form, which has a button calling a web page containing a crystalreportviewer, which contains a CrystalReport report; when I call this page through Response.Redirect("WebForm2.aspx"); WebForm2 is not opening, instead it is sending me an error: [Null]Reference Exception: Reference to object does not stated as object's instance.]
Somebody know what is reason of this error?
I'll thank you for your help.
A.L.Hello.
At last I found the way to solve it. Something wrong was in it.
I reinstalled Visual Studio .NET.
Regards.
A.L.
:wave:

Tuesday, March 20, 2012

Crystal reports 8 problem after running

hi,
i couldnt explain in title clearly.
the problem is i have used CR in project and when ever the project exe is run and open the reports then close everything including the report it gives runtime error .if i run the exe without opening CR it doesnt give error could there be any DLL problemWhat is the error you are getting?
Open the report and do verify database and try again

Crystal Reports 10.0 compatibilty issues !

Hi

I have to upgrade the reports my project (VB 6.0 and MS-SQL 2000) from crystal reports 8.5 to crystal reports 10.0, but I checked that crystal reports 10.0 does not support OCX method.

I want to know

1) Will my existing VB 6.0 code support the new crystal reports 10.0 or will I have to make any significant changes in the code ?

2) Do I have to change the report files or will they work fine with crystal reports 10.0 ?

3) If I save my existing report in crytal report 10.0, then will I be able to open it again in crystal report 8.5 ?

OR can anyone suggest me a site where I can get answers to the above questionsHello !!!

Can anyone help me pleeeease !!!!|||Hi,
try in this site
http://support.businessobjects.com/search/default.asp

u can get the info
just type the required issue u want in search u may get the info

thanks
manosql

Crystal reports [vb6]

I need some help with Crystal - I am new to the package and I'm battling with the VB integration

My current .vbp project has a form with the following code

General Declaration

Public CrxApplication As New CRAXDRT.Application
Public CrxReport As New CRAXDRT.Report

Then in my code (I'm showing a menu - depending what the user chooses...)

Select Case Index
Case 0
openfile.Filter = "Reports (*.rpt)|*.rpt"
openfile.ShowOpen
If openfile.FileName <> "" Then
Set CrxReport = CrxApplication.OpenReport(openfile.FileName, 0)
CrxReport.Database.LogOnServer "p2sodbc.dll", dsn, dbName, UserName, UserPassword
'? "p2ssql.dll" vir sql?
CRViewer1.ReportSource = CrxReport
CRViewer1.ViewReport
End If
Case 2
----------
CrxReport.PrinterSetup Me.hWnd (HERE the error occurs)
----------
Case 3
CRViewer1.PrintReport

Case 5
End

End Select


when CASE = 2 my program errors - 'Method 'printersetup' of object 'Ireport' failed

what does this mean? I am not using an "Ireport' somewhere

Pse help

Thanks!Not sure about the IReport.

But, you havent SET CrxReport under "2"...

shouldnt that have been done ?|||IReport is the interface|||Dim crystal As New CRAXDRT.Application
Dim report As New CRAXDRT.report
Dim ms As String
Private Sub Command1_Click()
ms = "1"
Set report = crystal.OpenReport("C:\test\Report\test.rpt")
report.Database.LogOnServer "p2sodbc.dll", "test", "test", "test", "test"

CRViewer91.ReportSource = report
CRViewer91.ViewReport
Do While CRViewer91.IsBusy
DoEvents
Loop
CRViewer91.Zoom 77

End Sub
Private Sub CmdPrinterSetting_Click()
If ms = "" Then
MsgBox "ReportSource is Nothing"
Exit Sub
Else

report.PrinterSetup Me.hWnd
End If
End Sub

Private Sub Form_Unload(Cancel As Integer)
ms = ""
Set crystal = Nothing
Set report = Nothing
End Sub

pls check

if CRViewer91.ReportSource is nothing
this error will be found

Monday, March 19, 2012

Crystal Report XI Help

Hi every one,

I am a new with crystal report and i am try to make a project under which i am to use crystal report external report file i.e. .rpt file in my project but i don't know how to use it and what is the command if we wants to use external rpt file in our project. how to open external rpt file in a project.

Can any one please help me i am in need of that urgently.U didn't mentioned on what platform u r doing project.
Lots of threads based on VB & VB.net is available regarding ur query, just go through them.|||Hi Buddy sorry for that but i work with VB 6.

And i need help for that.

I don't Find any help i had search that before posting.

Thanks and hope you can solve my problem.|||Dim conn As ADODB.Connection 'CONNECTION TO BROKER QUERIES
Dim rs As ADODB.Recordset 'HOLDS ALL DATA RETURNED FROM QUERY
Dim crystal As CRAXDRT.Application 'LOADS REPORT FROM FILE
Dim Report As CRAXDRT.Report 'HOLDS REPORT

Set conn = New ADODB.Connection
conn.Open "Provider=MSDAORA.1;User ID=scott;Data Source=qb;Persist Security Info=False", "scott", "tiger" Set rs = New ADODB.Recordset
rs.Open sql, conn, adOpenStatic, adLockReadOnly

Set crystal = New CRAXDRT.Application 'MANAGES REPORTS

Set Report = crystal.OpenReport(App.Path & "\report1.rpt") 'OPEN OUR REPORT

Report.DiscardSavedData 'CLEARS REPORT SO WE WORK FROM RECORDSET
Report.Database.SetDataSource rs 'LINK REPORT TO RECORDSET
CRViewer1.ReportSource = Report 'LINK VIEWER TO REPORT
CRViewer1.ViewReport 'SHOW REPORT

Crystal Report SQL ?

Hi, I'm new doing crystal report so I do not get where the error is.. So please help me if possible..

This is a project handed down, I'm not the one coding the program..

I have run the SQL Statement at the SQL Query and IT WORKS !
Cause i need to add another condition to it and its added into the WHERE clause.

The report which contains 2 subreports uses the SQL statement.
When i run the VB application, no information is shown out like the SQL Query.. No information at all..!
All because after i added the extra line which works fine in query.

The same thing happen when i tried adding the SQL into the main report's query..

I have no idea what is wrong with it. Does it have something to do with the main report ? Because my colleague tried using the subreport as main and she said it works.. She suggest it has something to do with the main report..

FYI: I never change codes in the VB application because the retriving of information is based on the SQL of the Crystal Report.

Help ?Would you mind including the SQL from the working version and the SQL from the non working ?|||Would you mind including the SQL from the working version and the SQL from the non working ?

SELECT
PROPLNHDR."APPL_NO", PROPLNHDR."INMODE", PROPLNHDR."TOTBPRM",
PRODOC."DOC_CODE", PRODOC."LETTER_DATE", PRODOC."RECD_DATE",
PROMED."MED_CODE", PROMED."LETTER_DATE", PROMED."RECD_DATE",
FC_S."FC_NAME", FC_S."RC_CODE",
LKBRANCHCODE."DESCRIPTION1",
LKAGTYPE."CHANNEL",
LKDOC."DOCGROUP"
FROM
{ oj (((("DLFSP"."dbo"."PROPLNHDR" PROPLNHDR inner JOIN "DLFSP"."dbo"."FC_S" FC_S ON PROPLNHDR."FC" = FC_S."FC") left JOIN ("DLFSP"."dbo"."PRODOC" PRODOC inner join "DLFSP"."dbo"."LKDOC" LKDOC ON PRODOC."DOC_CODE" = LKDOC."DOC_CODE") ON PROPLNHDR."APPL_NO" = PRODOC."APPL_NO") left JOIN "DLFSP"."dbo"."PROMED" PROMED ON PROPLNHDR."APPL_NO" = PROMED."APPL_NO") left JOIN "DLFSP"."dbo"."LKBRANCHCODE" LKBRANCHCODE ON FC_S."BR_CODE" = LKBRANCHCODE."BRCODE" AND FC_S."RC_CODE" = LKBRANCHCODE."RC_CODE") inner JOIN "DLFSP"."dbo"."LKAGTYPE" LKAGTYPE ON FC_S."AG_TYPE" = LKAGTYPE."AGTYPE"}
WHERE
LKAGTYPE."CHANNEL" = 'BANC'
ORDER BY
LKBRANCHCODE."DESCRIPTION1" ASC,
PROPLNHDR."APPL_NO" ASC

*** the above is the original code.. but the only thing i added to this line of SQL is to the WHERE clause
--> (PROPLNHDR."ST" IN ('PD', 'CO', 'AP')) AND

** it works in the SQL Query but not at the crystal report.. as in the main report.. This query is placed at the subreport..

Crystal Report Query Engine error

Hi,
My project is being done in Vb.Net 2003 and SQL Server2000. When I try to access the Crystal Report thru code only I get the query engine error. the Sql Query however works perfectly in Query Analyser.
The Query uses left outer join operation from 4 tables. Is there any way I can overcome my error?

Thanks in advance
JohnsyIt could be useful to know exactly what error message says, to figure out if we're dealing with connection problem, or there is an error in query.
Also, you could try running Profiler to see what happens on SQL Server when you run your report.|||hi johnsy,

i too got the same problem . please tell me the solution if had solved tat problem.
how to create dataset.xsd for 2 tables

Sunday, March 11, 2012

Crystal Report 10.0

I have some problems with Crystal Report program.

In my project I use VB 6.0 with SP6 and Crystal Report 10.0
The operating system is: Windows XP SP2

When I open the project, the system gives me this error message:
(Error during load: the Crystl32.ocx file could not be loaded)

Also I can not export my project as .exe because of the above problem.

I tried to replace the file of Crystl32.ocx with new versions but the problem is still being.

Also I tried to register the Crystl32.ocx file by using this command:
(Regsvr32 D:\Windows\System\crystl32.ocx /u) but this command does not work and the problem is still being.

please help me.

Thanks;As far as I know, crystl32.ocx component was dropped starting from CR9. You will have to either redesign your application to use RDC, or distribute the old crystl32.ocx with your application. Crystl32.ocx will require CRPE32.DLL and CRPAIG80.DLL files to register and work properly.

Thursday, March 8, 2012

Crystal Report 10.0

I have some problems with Crystal Report program.

In my project I use VB 6.0 with SP6 and Crystal Report 10.0
The operating system is: Windows XP SP2

When I open the project, the system gives me this error message:
(Error during load: the Crystl32.ocx file could not be loaded)

Also I can not export my project as .exe because of the above problem.

I tried to replace the file of Crystl32.ocx with new versions but the problem is still being.

Also I tried to register the Crystl32.ocx file by using this command:
(Regsvr32 D:\Windows\System\crystl32.ocx /u) but this command does not work and the problem is still being.

please help me.

Thanks;As far as I know, crystl32.ocx component was dropped starting from CR9. You will have to either redesign your application to use RDC, or distribute the old crystl32.ocx with your application. Crystl32.ocx will require CRPE32.DLL and CRPAIG80.DLL files to register and work properly.

Crystal Report (please help me)

I have some problems with Crystal Report program.

In my project I use VB 6.0 with SP6 and Crystal Report 10.0
The operating system is: Windows XP SP2

When I open the project, the system gives me this error message:
(Error during load: the Crystl32.ocx file could not be loaded)

Also I can not export my project as .exe because of the above problem.


I tried to replace the file of Crystl32.ocx with new versions but the problem is still being.

Also I tried to register the Crystl32.ocx file by using this command:
(Regxvr32 D:\Windows\System\crystl32.ocx /u) but this command does not work and the problem is still being.

please help me.

Thanks;command to register file is not

"Regxvr32"

but "Regsvr32"

Wednesday, March 7, 2012

Crystal Report

How To Add Crystal Report In A Project While Crystal Report Control Check Box Is Not Shown In Project->component
Waiting
Shivhttp://www.dev-archive.com/forum/showthread.php?t=363895&highlight=crystal+report+components|||it did not solve my problem.
I have installed Crystal report 11, and I am able to run crystal report 11 from start->programs->Crystal report 11.
I am able to take print report in this manner.

I serched the file 'Unicows.dll' in my system but it was not found. I could not find any files regarding crystal while I just installed the crystal report yesterday.

am I missing something?|||I just reinstall the crystal report11. but I am not getting how to add it in vb6.0. There is no any check box 'crystal report control' in the project's component dialog.

any body guide me.

waiting
shiv|||Try asking this question in the Crystal report forum (http://www.dev-archive.com/forum/forumdisplay.php?f=64) I'm sure someone there will have more experiance with this type of problem....

Gremmy...|||hello every body,

is this problem unsolvable, or am I not explaining correct problem.
I am waiting

shiv

Crystal Reoprt Connection

Attention Ashish Seth, Hyderabad...

I'm new in C/Reports..I'm developint a project using Orale 8i, VB 6.0 and C/Reports 7.0..So my paltform is almost same with U..As you found the error"server has not yet been open" I also am facing an error and I could not come out of that my error is
-Error number 20599 "SQL Server can not open"
As I'm not using SQL Server, why this error is then...Someone has told me that I've to connect to report by coding, which I didn't do..Can You just help me as your prob is a bit similar to mine...[Moved thread]|||I've come across similar problems where I get a SQL server error and my report doesn't connect to the database itself (I connect to the database in VB and pass the report a recordset). It turned out that it was a version incompatibility between some of my dlls. Check the version of all your dlls.|||You need to add following code into your preview window
'-----------------
'General Declaration
Dim crApplication As New CRAXDRT.Application

'Form Load
Set crApplication = CreateObject("CRYSTALRUNTIME.APPLICATION")
crApplication.LogOnServer "pdsmon.dll", "", sDatabase, sUid, sPwd

sdatabase = <databse name>
sUid = User Name
sPwd = Password

use pdsmon.dll when you created report via ado connection
use pdsodbc.dll when you created report via odbc connection

This will really help you

Sikander

crystal class regenerate in vs.net

how shall i regenerate the report class in vs.net
as i have added a new parameter to the report and run the project that parameter is not visible in proxy( - i dont correct name how do you call this) class automatically generated by the vs.net?
can someone help me in this problem?crystal class regenerate in vs.net|||crystal class regenerate in vs.net

Friday, February 24, 2012

Crosstab qry not upsized

My crosstab query did not get upsized using the wizard. What do I need to do
in Access Project to get the same result?
hi John,
"John" <John@.discussions.microsoft.com> ha scritto nel messaggio
news:ABF753FF-80DC-44D9-BDF3-EE8EDA149F11@.microsoft.com...
> My crosstab query did not get upsized using the wizard. What do I need to
do
> in Access Project to get the same result?
SQL Server does not (still) include CROSSTAB query including PIVOT/TRANSFORM
syntax... SQL Server 2005 will include PIVOT/UNPIVOT feature, btu, till it
releases, you have to resort on alternate solution..
SQL Server MVP Itzik Ben Gan released an excellen article about this
(missing) feature, along with a stored procedure to dynamically return
result sets according to specified pivot settings you can read for free at
http://www.winnetmag.com/SQLServer/A...608/15608.html
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||You can also take a look at RAC (http://rac4sql.net). It provides similar
syntax for Access users.
"Andrea Montanari" <andrea.sqlDMO@.virgilio.it> wrote in message
news:2nuarpF4en0iU1@.uni-berlin.de...[vbcol=seagreen]
> hi John,
> "John" <John@.discussions.microsoft.com> ha scritto nel messaggio
> news:ABF753FF-80DC-44D9-BDF3-EE8EDA149F11@.microsoft.com...
to
> do
> SQL Server does not (still) include CROSSTAB query including
PIVOT/TRANSFORM
> syntax... SQL Server 2005 will include PIVOT/UNPIVOT feature, btu, till it
> releases, you have to resort on alternate solution..
> SQL Server MVP Itzik Ben Gan released an excellen article about this
> (missing) feature, along with a stored procedure to dynamically return
> result sets according to specified pivot settings you can read for free at
> http://www.winnetmag.com/SQLServer/A...608/15608.html
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
> http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
> DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> -- remove DMO to reply
>

Thursday, February 16, 2012

cross project reporting in project server 2002

forum is there a way to view and report mulpitle projects
the same time. i.e see all the resorces and all their
projects, see all costs assciated with all projects.
Basically I'm trying to view all projects together in one
report as opposed to viewing each project individually?
and if so how id this done? Thanks for all repliesIs this a sql server question?
If this is a database structure access you are asking
about thgen you will need to post the structure and what
you want as the result of the query.
>--Original Message--
>forum is there a way to view and report mulpitle
projects
>the same time. i.e see all the resorces and all their
>projects, see all costs assciated with all projects.
>Basically I'm trying to view all projects together in one
>report as opposed to viewing each project individually?
>and if so how id this done? Thanks for all replies
>.
>