|
Hi,
I have a VB application that calls a couple of reports. The first one works fine but when I try to call the second one I get the error:
20500 Not enough memory for the operation.
The report works fine if I call it from the Seagate Desktop. I'm using VB 6.0, Seagate 7.5, Windows XP and the database is Oracle 8.1.7. I also tried with Windows 2000 but I get the same error.
Any suggestions on what could be the problem?
Many thanks,
Lorenzo
|
|
|
Hi!
I get the exact same error, and haven't been able to solve the problem. I see that you posted this message in September. Did you solve it?
If so, please, can you tell me how???
Thanks in advance,
Nunina
|
|
|
R u able to solve this problem ? If not you can try these options.
1)Set the Printer page size Accordingly.
2)Set the printer setting(DPI to 1200)to the maximum available
3)If you are Printing directly through crystal report OCX (with out the preview )
Follow the VB code.
‘CryChkPrint is a Crystalreport .OCX
CryChkPrint.Destination = crptToWindow ‘1*
CryChkPrint.WindowState = crptMinimized '1*
'Load Some Dummy form
Dim Frmchengine As New frmdummychkprint '1*
‘Set the dummy forms windowstate as Minimized
Frmchengine.WindowState = vbMinimized
‘ load the instance of the dummy form
Load Frmchengine '1*
‘Set the parent as the dummy form
CryChkPrint.WindowParentHandle = Frmchengine.hWnd '1*
CryChkPrint.Action = 1 '1*
CryChkPrint.Destination = crptToPrinter '1*
CryChkPrint.PrintReport '1*
‘Unload the dummy from and set nothing
Unload Frmchengine '1*
Set Frmchengine = Nothing '1*
This has solved my problem, I’m sure it will solve yours
|
|
|
|
|
|
|
|