|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
The blessed Office 2007 pre-install trial version!I'm using a VB6 app to connect to MS Word and produce/populate a lovely doc of Word type origins. This worked fine when the user simply installed Office 2000, 2003, etc onto their laptop, but a number of laptops are coming with an Office 2007 trial pre-installed, which the user has no idea about, and when they subsequently re-install their Office 2000, 2003 whatever on it, my app throws a wobbler because it doesn't know which version of Word to use. The error is usually a problem with 'Automatiion'?? If the user only has one version of Office on their laptop/PC it works fine and I still want my app to simply use any version of Word it can find, it currently works with Office 2000, XP, 2003 and 2007 without issues - providing that only one variant is installed, but is there anyway I can sort of get round this possible dual install of Word versions? For some reason a really mickey mouse (and old) app, not sure what it was written in, doesn't have this problem at all - it just seems to pick a version automatically - even though it doesn't really know one from the other. Any ideas? Many thanks. The MM app probably uses Late Binding.
See the article "Early vs. Late Binding" at: http://www.word.mvps.org/FAQs/InterDev/EarlyvsLateBinding.htm -- Show quoteHide quoteHope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Laphan" <please@dont.spam.com> wrote in message news:OEjyfWcoJHA.3876@TK2MSFTNGP02.phx.gbl... > Hi All > > I'm using a VB6 app to connect to MS Word and produce/populate a lovely > doc > of Word type origins. > > This worked fine when the user simply installed Office 2000, 2003, etc > onto > their laptop, but a number of laptops are coming with an Office 2007 trial > pre-installed, which the user has no idea about, and when they > subsequently > re-install their Office 2000, 2003 whatever on it, my app throws a wobbler > because it doesn't know which version of Word to use. The error is > usually > a problem with 'Automatiion'?? > > If the user only has one version of Office on their laptop/PC it works > fine > and I still want my app to simply use any version of Word it can find, it > currently works with Office 2000, XP, 2003 and 2007 without issues - > providing that only one variant is installed, but is there anyway I can > sort > of get round this possible dual install of Word versions? > > For some reason a really mickey mouse (and old) app, not sure what it was > written in, doesn't have this problem at all - it just seems to pick a > version automatically - even though it doesn't really know one from the > other. > > Any ideas? > > Many thanks. > >
PaintPicture
My concept for a very basic stripboard layouter in VB6 Put Date/Time on Right Side of Form.Caption With .... End With - Speed Public Thank You To Microsoft Days and Years - Data Comparing ActiveX Control Crashes - VB6 config file Does anybody know how to translate this C# code to VB6? Copy protection and license management programs |
|||||||||||||||||||||||