View Single Post
  #8  
Old April 20th, 2010, 05:02 AM posted to microsoft.public.access.reports
rdemyan via AccessMonster.com
external usenet poster
 
Posts: 36
Default Find path where WinZip is installed

It turns out that the API requires a file that exists. Not only that, but
the path folder must also be accurate.

I guess I could try to create a zip file in code in the CurrentProject.Path
folder, get the location of WinZip and then save that location to a local
table within MyApp. Before this code is invoked, I'll have code that checks
to make sure Winzip exists based on the path currently stored in the table.
If not, then the code to create the dummy WinZip file will be invoked and the
API will be called to get the location of WinZip. Afterwards, the dummy zip
file will be deleted.



rdemyan wrote:
Oh, OK. If the API doesn't care if it is a valid zip file, then that should
work fine. I'll give it a go and report back.

Thanks.

AFAIK, the API call will detect the currently registered application for the
.zip extension whether it's WinZip32 or WinZip64.

[quoted text clipped - 11 lines]
WinZip. If possible, I'd like to start with as little information as
possible, (Example WinZip).


--
Message posted via http://www.accessmonster.com