Has anyone ran accross this error? I'm trying to automate word from Access and I'm putting data from Access and images from a webserver into a document. I getting this error at runtime not when I step thru the code. It seems to have nothing to do with the webserver and everything to do with word and the automation. *** doc.InlineShapes.AddPicture FileName:="http://www.mysite.com/prodimg/" & strPartNo & "pro.jpg", LinkToFile:=False, SaveWithDocument:=True *** Error is - Error 462 The remote server machine does not exist or is unavailable Thanks in advance. ;-)
Conrad was telling us: Conrad nous racontait que : > Has anyone ran accross this error? I'm trying to automate word from > Access and I'm putting data from Access and images from a webserver > into a document. I getting this error at runtime not when I step thru > the code. It seems to have nothing to do with the webserver and > everything to do with word and the automation. > > *** > doc.InlineShapes.AddPicture > FileName:="http://www.mysite.com/prodimg/" & strPartNo & "pro.jpg", > LinkToFile:=False, SaveWithDocument:=True *** > Error is - Error 462 The remote server machine does not exist or is > unavailable > See: http://support.microsoft.com/default.aspx?scid=kb;en-us;189618 -- Salut! _______________________________________ Jean-Guy Marcil - Word MVP jmarcilREMOVE@CAPSsympatico.caTHISTOO Word MVP site: http://www.word.mvps.org
Thank you very much. This should help. Two things surprise me about this - 1. That Google didn't pick that article up when I did a search. 2. That I missed somthing so simple in my code. Thanks again. "Jay Freedman" wrote: > Hi Conrad, > > See if this article helps: > > http://support.microsoft.com/?kbid=189618 > > -- > Regards, > Jay Freedman > Microsoft Word MVP FAQ: http://word.mvps.org > Email cannot be acknowledged; please post all follow-ups to the > newsgroup so all may benefit. > > On Fri, 2 Dec 2005 13:32:02 -0800, Conrad > wrote: > > >Has anyone ran accross this error? I'm trying to automate word from Access > >and I'm putting data from Access and images from a webserver into a document. > > I getting this error at runtime not when I step thru the code. It seems to > >have nothing to do with the webserver and everything to do with word and the > >automation. > > > >*** > >doc.InlineShapes.AddPicture FileName:="http://www.mysite.com/prodimg/" & > >strPartNo & "pro.jpg", LinkToFile:=False, SaveWithDocument:=True > >*** > >Error is - Error 462 The remote server machine does not exist or is > >unavailable > > > >Thanks in advance. ;-) > > >
Thank you for your reply. This should help. Thanks, Conrad "Jean-Guy Marcil" wrote: > Conrad was telling us: > Conrad nous racontait que : > > > Has anyone ran accross this error? I'm trying to automate word from > > Access and I'm putting data from Access and images from a webserver > > into a document. I getting this error at runtime not when I step thru > > the code. It seems to have nothing to do with the webserver and > > everything to do with word and the automation. > > > > *** > > doc.InlineShapes.AddPicture > > FileName:="http://www.mysite.com/prodimg/" & strPartNo & "pro.jpg", > > LinkToFile:=False, SaveWithDocument:=True *** > > Error is - Error 462 The remote server machine does not exist or is > > unavailable > > > > See: > http://support.microsoft.com/default.aspx?scid=kb;en-us;189618 > > > -- > Salut! > _______________________________________ > Jean-Guy Marcil - Word MVP > jmarcilREMOVE@CAPSsympatico.caTHISTOO > Word MVP site: http://www.word.mvps.org > > >