Yes, The Env method returns the same path. Jamal On Tue, 8 Jul 2008, Aaron Smith wrote:
> Date: Tue, 08 Jul 2008 12:23:37 -0400 > From: Aaron Smith <[EMAIL PROTECTED]> > Reply-To: [email protected] > To: [email protected] > Subject: Re: Trying to fix Install Packages > > Hmmm...I'm not sure what's going on. I just did the following: > > print > SharedObjects("com.GWMicro.WEPMInfo").NewDetails.GetInfo("d:\documents > and settings\aaron\local settings\temp\immed.wepm").Name > > and got back: > > immed > > Does SharedObjects("com.GWMicro.Env")("%temp%") give you back the same > temp location? > > Aaron > > Jamal Mazrui wrote: > > I got the same error using the long path with the following > > statement (unwrapped): > > > > print > > SharedObjects("com.gwmicro.WEPMInfo").NewDetails.GetInfo("C:\Documents > > and Settings\jamal.mazrui\Local Settings\Temp\gwtoolkit.wepm").Name > > > > The function I was using to get the temp folder is below. It is > > returned as a short path. > > > > Jamal > > > > Function PathGetTempFolder() > > 'Get Windows folder for temporary files > > > > Dim iFolder > > Dim oSystem > > > > PathGetTempFolder = "" > > Set oSystem =CreateObject("Scripting.FileSystemObject") > > iFolder = 2 > > PathGetTempFolder = oSystem.GetSpecialFolder(iFolder).path > > Set oSystem = Nothing > > End Function > > > > > > On Tue, > > 8 Jul 2008, Aaron Smith wrote: > > > >> Date: Tue, 08 Jul 2008 11:37:43 -0400 > >> From: Aaron Smith <[EMAIL PROTECTED]> > >> Reply-To: [email protected] > >> To: [email protected] > >> Subject: Re: Trying to fix Install Packages > >> > >> Jamal Mazrui wrote: > >>> I verified that the full path to GWToolkit.wepm exists, yet the error > >>> occurs with version 5.0 of the Toolkit. The directory, but not file > >>> name, part of the full path is a short one --would that cause a problem? > >> I'm not sure. What's the code you're using to get the path of the wepm? > >> What if you open up Immed, and type: > >> > >> print SharedObjects("com.GWMicro.WEPMInfo").NewDetails.GetInfo("path to > >> a wepm that you know exists").Name > >> > >> Does that give you an error? > >> > >> Aaron > >> > >> -- > >> To insure that you receive proper support, please include all past > >> correspondence (where applicable), and any relevant information > >> pertinent to your situation when submitting a problem report to the GW > >> Micro Technical Support Team. > >> > >> Aaron Smith > >> GW Micro > >> Phone: 260/489-3671 > >> Fax: 260/489-2608 > >> WWW: http://www.gwmicro.com > >> FTP: ftp://ftp.gwmicro.com > >> Technical Support & Web Development > >> > > > > -- > To insure that you receive proper support, please include all past > correspondence (where applicable), and any relevant information > pertinent to your situation when submitting a problem report to the GW > Micro Technical Support Team. > > Aaron Smith > GW Micro > Phone: 260/489-3671 > Fax: 260/489-2608 > WWW: http://www.gwmicro.com > FTP: ftp://ftp.gwmicro.com > Technical Support & Web Development >
