Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 Tags
Subject: RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a
Thread ID: 78978 Message ID: 79118 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Operating Systems
Date: Thursday, October 13, 2005 12:38:50 AM         
   


> > >
> > > > I don't have an NT4 box, to test this, but all I use is
> > > >
> > > >
lcProfile = GETENV("USERPROFILE")
> > > > lcUserAppDataDir = lcProfile+'\MyApp\UserAppData'
> > > > IF DIRECTORY(lcUserAppDataDir)
> > > > 	&& Directory Exists
> > > > ELSE
> > > > 	&& You need to create the dir
> > > > ENDIF

> > > >
> > > > I don't need an api function to do this.
> > > > Ken

> > >
> > > WOW! I didn't know that GETENV() takes "USERPROFILE"! Is the full list of the arguments (per WinOS version, preferrably) for GETENV() function published anywhere? (Not in VFP's Help, it lists only COMSPEC and PATH.)
> > >
> > > Regards,
> > >
> > > Ilya

> >
> > I am working in VFP 8 & 9 and it works there, but I am sure it worked with earlier versions (I think 6 at least.) Perhaps somebody with some earler versions of VFP could give this a try.
> >
> > In 9, intellisense even gives you the dropdown selection of options for GETENV().
> >
> > Ken

>
> I just finally got VFP 9.0 and installed it. We'll see how it works.
>
> Thanks for the tip, bro! ("Rock Star")
>
> Regards,
>
> Ilya


Not a problem - do it work in 7?

ENTIRE THREAD

Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/11/2005 6:50:03 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Yuri Rubinov @ 10/11/2005 8:35:00 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/11/2005 9:27:25 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Yuri Rubinov @ 10/11/2005 9:46:02 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/11/2005 10:33:30 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ken Murphy @ 10/12/2005 2:16:46 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/12/2005 5:10:18 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ken Murphy @ 10/12/2005 9:23:13 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/12/2005 9:33:01 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ken Murphy @ 10/12/2005 9:54:45 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/13/2005 12:36:47 AM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ken Murphy @ 10/13/2005 12:38:50 AM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/13/2005 12:52:43 AM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Yuri Rubinov @ 10/12/2005 2:41:31 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/12/2005 6:22:36 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Yuri Rubinov @ 10/12/2005 8:38:25 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/13/2005 12:39:13 AM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/13/2005 5:22:15 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Yuri Rubinov @ 10/13/2005 5:56:08 PM
RE: Probem with VFP7 and Shell DLL on WinNT 4 SP6a Posted by Ilya Rabyy @ 10/13/2005 6:12:37 PM