PDA

View Full Version : Problems with HTTP


littleDragon
October 27th, 2006, 04:32 AM
Hello,

we're going to use the ActiveX Control in an Access 2003 Application to view PDF-Files on our FileSystem and Intranet.

From the FileSystem all files are opened with out any problem... works really fine, but not with HTTP-Links...

That's our code to open the files:

With PDFcntrl
.OpenFile "drive:\filename.pdf or HTTP://intranet/filename.pdf", 1
End With

Until a HTTP-Path is used, the whole application fails.. ther's nothing else as a table with path's and a form to select a file from this table and open the form with the control in the database, only for testing you know..

I don't know where's the error, but it seem's like a problem with the control.

Could you please help us?

thx
Florian

littleDragon
October 27th, 2006, 04:39 AM
PS: if i use this string, a information is shown that the http-file could not loaded, and it won't work, too...

.openfile replace("http://intranet/filename.pdf","/","\"), 1

Perhaps this information could helpfull to you..

regards
Florian