|
-
Feb 29th, 2008, 09:37 AM
#1
Thread Starter
Addicted Member
Dev on office 2003, deploy on office 2007
Hi All,
I have developed an app on a machine with office 2003 and would like to install it on a machine with office 2007. But I keep getting GAC 11.0.0.0 error, how can I fix this?
Thanks
Sam
-
Mar 1st, 2008, 09:21 PM
#2
Re: Dev on office 2003, deploy on office 2007
How are you deploying this app? Not copying just the exe I hope. How was the code written to access the office components? nothing but questions...
-
Mar 4th, 2008, 02:50 AM
#3
Re: Dev on office 2003, deploy on office 2007
You must be using Early Binding and setting a reference to Office 2003 (11.0) as the target system only has 2007 (12.0) so you will generate that error. Use the 2007 PIAs as they are backwayds compatible with 2003. PIA link in my signature.
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 
-
Mar 6th, 2008, 09:52 AM
#4
Re: Dev on office 2003, deploy on office 2007
The PIAs don't help much in VB6 however. If that's your environment see Writing Automation clients for multiple Office versions instead.
Sorry, "GAC" should have tipped me off. Duh!
-
Mar 6th, 2008, 11:48 AM
#5
Re: Dev on office 2003, deploy on office 2007
Good point but the thread starter doesnt state which language hes using. Using Late Binding is good for use in VB 6 but in VB.NET its more of a pain and the PIAs help reduce that pain dramatically. Otherwise in VB.NET Late Binding you will have to use Reflection.
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
|