|
-
Jun 6th, 2008, 11:27 AM
#1
Thread Starter
New Member
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.
-
Jun 6th, 2008, 11:30 AM
#2
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 6th, 2008, 11:42 AM
#3
Thread Starter
New Member
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
-
Jun 6th, 2008, 11:44 AM
#4
Re: Crystal Reports upgrade in VB6
Try crEDTDiskFile. I havent found the others yet.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 6th, 2008, 11:57 AM
#5
Thread Starter
New Member
Re: Crystal Reports upgrade in VB6
 Originally Posted by RobDog888
Try crEDTDiskFile. I havent found the others yet.
that one worked. thanks
-
Jun 6th, 2008, 12:13 PM
#6
Re: Crystal Reports upgrade in VB6
I think this should do it.
crEFTExcel50
Const crEFTExcel50 = 21
What are the other two used in?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 6th, 2008, 12:18 PM
#7
Thread Starter
New Member
Re: Crystal Reports upgrade in VB6
 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
-
Jun 6th, 2008, 12:43 PM
#8
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 6th, 2008, 12:52 PM
#9
Thread Starter
New Member
Re: Crystal Reports upgrade in VB6
thank you so much sir! Rep power increased
-
Jun 6th, 2008, 02:04 PM
#10
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|