Click to See Complete Forum and Search --> : Crystal Reports upgrade in VB6
misterMark
Jun 6th, 2008, 11:27 AM
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.
RobDog888
Jun 6th, 2008, 11:30 AM
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.
misterMark
Jun 6th, 2008, 11:42 AM
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
RobDog888
Jun 6th, 2008, 11:44 AM
Try crEDTDiskFile. I havent found the others yet.
misterMark
Jun 6th, 2008, 11:57 AM
Try crEDTDiskFile. I havent found the others yet.
that one worked. thanks
RobDog888
Jun 6th, 2008, 12:13 PM
I think this should do it.
crEFTExcel50
Const crEFTExcel50 = 21
What are the other two used in?
misterMark
Jun 6th, 2008, 12:18 PM
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.
frmMain.rptGeneral.WindowState = crptMaximized
and
frmMain.rptGeneral.Destination = crptToWindow
thanks so much again
RobDog888
Jun 6th, 2008, 12:43 PM
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.
misterMark
Jun 6th, 2008, 12:52 PM
thank you so much sir! Rep power increased
RobDog888
Jun 6th, 2008, 02:04 PM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.