principal
unread,Dec 26, 2007, 3:01:37 PM12/26/07Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Windows Vista Tech
I have an excel file with VB macros that requires the "winhttp"
service in order to publish certain results. The file was created
using Excel 97. The first time you run it on a system, you obtain
compile errors which are easily resolved by enabling the "Microsoft
WinHTTP Services, vesion 5.1" reference in the VB debugger. The
program works without issues once this is done.
The program runs on WinXP SP2 running Office 2003 and Office 2007
after the winHTTP service has been enabled. However, on a Vista
machine running Office 2007, the path to the winhttp.dll needed to
enable this reference is messed up. Instead of having only "%systemroot
%\system32\winhttp.dll", it appends this path to whatever the excel
file's current location is e.g. When the file is on my desktop, the
path to the dll file is "c:\users\<username>\desktop\%systemroot%
\system32 \winhttp.dll" which rightly returns an "Error in loading
DLL" message.
I am not a VB programmer but use the said worksheet regularly for my
tasks. I would like to know if there's a workaround/fix for this issue.