Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Macros / January 2005

Tip: Looking for answers? Try searching our database.

Retrieve the Path for Linked OLE Objects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ren? - 28 Jan 2005 11:59 GMT
Good afternoon

I have been using the vba code supplied in Microsoft's kb article
199066 in order to retrieve the path for linked OLE objects. This
always worked fine in Acc2000.

Now, we changed to Acc2002 and the code does not work anymore. The
problem is that the data in strChunk (see below or in kb article
199066) does not contain any backslashes. In this way, the path cannot
be extracted. The data in strChunk , indeed looks very differently
now. (compared with Acc2000)

 strChunk = StrConv(objOLE, vbUnicode)
 pathStart = InStr(1, strChunk, ":\", 1) - 1
 'If mapped drive path not found, try UNC path.
 If pathStart <= 0 Then pathStart = InStr(1, strChunk, "\\", 1)

We use WIN2000 and OFFXP and I'd like to get the path name of an
embedded picture.

Does anybody has an idea, how I have to proceed in ACC2002?

Your answer is highly appreciated.

Ren? Probst
Switzerland
Ren? - 28 Jan 2005 13:32 GMT
Hi

I've found the problem by myself. The pictures were not linked but imbedded.
;-)

Ren? Probst
Switzerland
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.