Crystal Reports upgrade in VB6
Hello, I am maintaining some old code and we have upgraded to CR XI from 8.5. Some of the methods used are breaking my build and I cannot find any reference as to what the new call woudl be. I am only looking to upgrade a few lines.
crptToFile, crptExcel50, and crptMaximized
are the only things I need to change to something that CR XI can use. If anyone has any references or just knows, the help would be greatly appreciated. Thanks.
Re: Crystal Reports upgrade in VB6
Welcome to the Forums.
There is the CR site http://businessobjects.com. I'll look up thoise constants for you as I have access to XI and 8.5.
Re: Crystal Reports upgrade in VB6
thank you for the kind welcome and timely response. I am poking around the BusinessObjects Website right now although, it does not have a great deal of info on it, I am still looking.
I want to thank you in advance for looking into this for me. I shoudl have included it in the original post, but there is just one more method I need to upgrade.
It is crptToWindow
Thanks Again
Re: Crystal Reports upgrade in VB6
Try crEDTDiskFile. I havent found the others yet.
Re: Crystal Reports upgrade in VB6
Quote:
Originally Posted by RobDog888
Try crEDTDiskFile. I havent found the others yet.
that one worked. thanks
Re: Crystal Reports upgrade in VB6
I think this should do it.
crEFTExcel50
Const crEFTExcel50 = 21
What are the other two used in?
Re: Crystal Reports upgrade in VB6
Quote:
Originally Posted by RobDog888
I think this should do it.
crEFTExcel50
Const crEFTExcel50 = 21
What are the other two used in?
all of the code is in VB6 let me give you the specific lines.
Code:
frmMain.rptGeneral.WindowState = crptMaximized
and
frmMain.rptGeneral.Destination = crptToWindow
thanks so much again
Re: Crystal Reports upgrade in VB6
Ok the crptToWindow should be crEDTApplication
Const crEDTApplication = 5
and the crptMaximized may be crMaxView
Const crMaxView = 16 but not sure as there is no WindowState that I could find.
Re: Crystal Reports upgrade in VB6
thank you so much sir! Rep power increased
Re: Crystal Reports upgrade in VB6
If they all worked then cool. Glad to have helped. :)
Ps, dont forget to Resolve your thread from the Thread Tools menu so others know your question has been solved.