Re: Word Cannot Find Its Data Source ~~~.olk

From: Peter Jamieson (pjj_at_KillmapSpjjnet.demon.co.uk)
Date: 10/02/04

  • Next message: Sue M Thomson: "Re: Mailmerge: How to suppress headers & footers thus enabling pri"
    Date: Sat, 2 Oct 2004 09:32:31 +0100
    
    

    > I think this comes close in 2003:
    > C:\Program Files\Microsoft Office\OFFICE11\1043
    > (Office 10 is XP Office 11 is 2003)

    That's where I put it, except I'm using 1033 (one of the varieties of
    English).

    > So I think I've got the location worked out. But still
    > I'd like some confirmation about registering this DLL.
    > Do I, ore don't I use Regserv32 to register it?

    At first, copying SCHDMAPI.DLL did not work at all. I don't know why -
    perhaps I needed to shut down Word or and restart. I tried registering the
    DLL, just in case, but regsvr32 came up with a "missing entry point" error.
    I looked through the registry on my Office 10 system and could only find
     a. entries related to the Office installer (i.e. they would only be used
    during an install/re-install, not at runtime)
     b. one entry somewhere under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
    Messaging Subsystem\MSMapiApps (I think). However, this was already there on
    my Office 11 machine.

    I hope it does what you need - as I said, I am prompted for a specific
    address book and that may be one of the things you are trying to avoid. Much
    as I would like to have an address book connection method that can be
    initiated from Word and "does everything", the "initiation from Outlook"
    approach has been the best choice for most purposes for several years now.

    -- 
    Peter Jamieson
    <anonymous@discussions.microsoft.com> wrote in message
    news:262201c4a7f3$28a74980$a401280a@phx.gbl...
    > Hi Peter,
    >
    > Don't underestimate you're answer! ;-)
    >
    > This is exactly the answer I was hoping for! (an
    > alternative for Bill's decision)
    > Yes I have a copy of that DLL, and I was certainly
    > thinking about using it. Seams trivial but I was afraid
    > it would mess up my system if I where just to put in
    > there.
    >
    > So Thank you very much indeed for this answer!
    >
    > But still need some help implementing this Workaround.
    >
    > The original path of this DLL is: (XP)
    > C:\Program Files\Microsoft Office\Office10\1043
    > \SCHDMAPI.DLL
    >
    > I think this comes close in 2003:
    > C:\Program Files\Microsoft Office\OFFICE11\1043
    > (Office 10 is XP Office 11 is 2003)
    >
    > So I think I've got the location worked out. But still
    > I'd like some confirmation about registering this DLL.
    > Do I, ore don't I use Regserv32 to register it?
    >
    > The workaround Graham told me works great for new merges
    > but I've got these merge documents connected to several
    > different address-books with the extension "olk"
    >
    > So Yes this will be the ultimate solution!
    >
    > Regards,
    > Joost
    >
    > >-----Original Message-----
    > >Probably not much help now, but FWIW you can still use
    > >
    > >ActiveDocument.MailMerge.UseAddressBook Type:="olk"
    > >
    > >(i.e. the method UseAddressBook is still there, but
    > hidden), but you do
    > >have to have a copy of SCHDMAPI.DLL from (say) Office XP
    > as you say. If
    > >you have that, you can either connect using
    > >
    > >ActiveDocument.MailMerge.UseAddressBook Type:="olk"
    > >
    > >or by selecting a dummy file with extension "olk" as
    > your data source.
    > >You do get a dialog box to select your address list.
    > >
    > >
    > >Joost wrote:
    > >
    > >> Hi Graham,
    > >>
    > >> Thank you for answering!
    > >>
    > >> I'll try you're workaround.
    > >> What do you think of MS Making a property redundant in
    > >> 2003 (Backward compatible in 2002), and not giving an
    > >> alternative?
    > >>
    > >> Usualy there is always an alternative to code you use
    > in
    > >> the VBE, but this one doesn't seem to have one.
    > >>
    > >> Again thank's for you're help!
    > >>
    > >> Regards,
    > >> Joost
    > >>
    > >>
    > >>>-----Original Message-----
    > >>>No answer I'm afraid, but a workaround and a better
    > way
    > >>
    > >> of working with
    > >>
    > >>>Outlook data is to initiate merges from within
    > Outlook -
    > >>
    > >> see
    > >>
    > >>>http://www.gmayor.com/mailmerge_from_outlook.htm
    > >>>
    > >>>-- 
    > >>><>>< ><<> ><<> <>>< ><<> <>>< <>><<>
    > >>>Graham Mayor -  Word MVP
    > >>>
    > >>>My web site www.gmayor.com
    > >>>Word MVP web site http://word.mvps.org
    > >>><>>< ><<> ><<> <>>< ><<> <>>< <>><<>
    > >>>
    > >>>
    > >>>
    > >>>Joost wrote:
    > >>>
    > >>>>Hi Guys,
    > >>>>
    > >>>>Office 2003 Pro / OS XP Pro
    > >>>>
    > >>>>A mail merge document is connected with Outlook (olk).
    > >>>>Every time you open this document it's connection is
    > >>>>lost. (and a lot of messages are coming up)
    > >>>>See: http://support.microsoft.com/default.aspx?
    > >>
    > >> kbid=275934
    > >>
    > >>>>In Order to keep the connection working I had this
    > >>
    > >> little
    > >>
    > >>>>sub:
    > >>>>
    > >>>>Sub AutoOpen()
    > >>>>   ActiveDocument.MailMerge.MainDocumentType =
    > >>>>wdFormLetters
    > >>>>   ActiveDocument.MailMerge.UseAddressBook Type:="olk"
    > >>>>   ActiveDocument.MailMerge.EditMainDocument
    > >>>>End Sub
    > >>>>
    > >>>>This works wel in 2000.
    > >>>>In 2002 it works (hidden property) because of backward
    > >>>>compatibility,
    > >>>>see: http://msdn.microsoft.com/library/default.asp?
    > >>>>url=/library/en-us/vbawd10/html/womscHiddenPrp2000.asp
    > >>>>
    > >>>>Now in 2003 it doesn't work anymore!
    > >>>>
    > >>>>In Office 2003 - using this command gives two error
    > >>>>message prompts: (and off coarse an VBA error)
    > >>>>
    > >>>>This file needs to be opened by the Outlook Address
    > >>
    > >> Book
    > >>
    > >>>>text converter, which may pose a security risk if the
    > >>>>file you are opening is a malicious file.  Choose Yes
    > >>
    > >> to
    > >>
    > >>>>open this file only if you are sure it is from a
    > >>
    > >> trusted
    > >>
    > >>>>source.
    > >>>>(Obviously one of 2003 it's many new safety features)
    > >>>>
    > >>>>Click Yes - results in the following:
    > >>>>
    > >>>>A required file, SCHDMAPI.DLL could not be loaded.
    > >>>>Please check your email installation and re-install
    > >>>>Microsoft Word if necessary.
    > >>>>
    > >>>>This file no longer exits on my machine because it is
    > >>>>part of 2002 installation and was made redundant by
    > >>
    > >> 2003!
    > >>
    > >>>>Been doing an awful lot of NG searching and googling.
    > >>
    > >> No
    > >>
    > >>>>success I'm afraid.
    > >>>>Found a lot of people with the same problem but there
    > >>>>doesn't seam to be an working solution attach to it.
    > >>>>
    > >>>>The question is quit simple.
    > >>>>Is there an alternative for the code I'm using in
    > 2003?
    > >>>>
    > >>>>The goal off course is to have a mail merge document
    > >>
    > >> that
    > >>
    > >>>>will stay in sync with Outlook. Therefore merging to
    > >>>>exported contacts is no option.
    > >>>>
    > >>>>Who has got the rescuing answer?
    > >>>>
    > >>>>Thnxx,
    > >>>>Joost
    > >>>
    > >>>
    > >>>.
    > >>>
    > >.
    > >
    

  • Next message: Sue M Thomson: "Re: Mailmerge: How to suppress headers & footers thus enabling pri"

    Relevant Pages

    • RE: Outlook crashes when gateway is offline
      ... I think you need to resolve your Internet connection issue first. ... Test in Outlook Safe Mode ... Please try to reinstall the Outlook 2007 on clients to see if it help. ...
      (microsoft.public.windows.server.sbs)
    • Re: explorer.exe freezes
      ... Why do you need VZ Access Manager for IE and Outlook? ... connect to the internet. ... An ethernet or wireless connection is to be be ...
      (microsoft.public.windowsxp.general)
    • Re: Outlook wont connect locally when configured for HTTP
      ... How did you configure your outlook profile? ... so firewall refuses internal RPV-OVER-HTTP connection ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
      (microsoft.public.windows.server.sbs)
    • Re: please help. I cannot connect to my outlook express 6
      ... If the router is off and you start OE, does OE send and receive email? ... Settings in Outlook Express at Tools>Accts>Mail> ... Type news, Connection Any Available> Properties>Connection> ...
      (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
    • RE: Outlook indefinitely "trying to connect ..." to Exchange 2003 using RPC/HTTP
      ... I understand that your issue is that the outlook ... sometime does not work when using RPC over HTTP. ... If you use the RPC over HTTP when using the WLAN for the connection, ...
      (microsoft.public.windows.server.sbs)