The screwy installation I'm working has intellisense off by default, so I
turn it on manually. Isn't there a way to save "on" as the default?
-Lew

Re: Why isn't intellisense ON a default? by Anders

Anders
Fri Sep 14 06:36:23 PDT 2007

Tools -> IntelliSense Manager

-Anders

"Lew" <Lew@discussions.microsoft.com> wrote in message
news:CA57C478-3EB6-4A92-9F53-BBBDD4DCB240@microsoft.com...
> The screwy installation I'm working has intellisense off by default, so I
> turn it on manually. Isn't there a way to save "on" as the default?
> -Lew



Re: Why isn't intellisense ON a default? by Lew

Lew
Fri Sep 14 07:30:46 PDT 2007

Hi Anders:
Thanks, but for some reason (not being written into the resistry? missing
key?), the setting I enter there isn't being remembered from session to
session.
-Lew

Re: Why isn't intellisense ON a default? by Rush

Rush
Fri Sep 14 08:13:13 PDT 2007

Lew wrote:
> Hi Anders:
> Thanks, but for some reason (not being written into the resistry? missing
> key?), the setting I enter there isn't being remembered from session to
> session.
> -Lew
>
Did you click the "Set as Default" button?

- Rush

Re: Why isn't intellisense ON a default? by Lew

Lew
Fri Sep 14 08:26:04 PDT 2007

There is no "Set as Default" button in VFP 8, Rush.
-Lew

"Rush Strong" wrote:
> >
> Did you click the "Set as Default" button?
>
> - Rush


Re: Why isn't intellisense ON a default? by Dan

Dan
Fri Sep 14 09:19:30 PDT 2007

Yeah, there is but Rush is thinking about the Tools->Options dialog. You're
talking about Intellisense Manager.

I don't know where that value is stored. I would have thought in the
registry but I don't see anything likely. It's NOT stored in Foxuser because
I don't use one and my setting is remembered from session to session.

I'm wondering if it's stored in (_FOXCODE) and you're set to point to the
wrong place?

Dan

Lew wrote:
> There is no "Set as Default" button in VFP 8, Rush.
> -Lew
>
> "Rush Strong" wrote:
>>>
>> Did you click the "Set as Default" button?
>>
>> - Rush



Re: Why isn't intellisense ON a default? by Lew

Lew
Fri Sep 14 09:50:05 PDT 2007

_FOXCODE default macros are running fine. I'll go look for a second copy, but
once I turn it on, it seems that the new val would be stored in my _FOXCODE
table (whether it's a copy or not).

Re: Why isn't intellisense ON a default? by Lew

Lew
Sat Sep 15 08:58:57 PDT 2007

Here are some steps that seem to reproduce/illustrate this problem:

1. Create a test directory, eg intellitest
2. in that directory, create the following startup.prg
cd "<intellitest>"
modify project intellitest nowait
3. Compile the prg so that you should have 2 files setup.prg and setup.fxp
4. Exit vfp altogether
5. Navigate to the test directory via windows explorer
6. Double click the prg. VFP should start
7. Open the tools pad on the menu & notice that the Intellisense bar is
enabled and Intellisense is on
8. Quit vfp
9. Navigate back via Explorer again
10. This time, click on the .fxp Again VFP starts HOWEVER
11. Tools->Intellisense is *disabled* altogether
12. In the command window, execute ? _VFP.EditorOptions, you should see
"LQKT", the default values
13. Check Tools->Intellisense again. It'll be enabled.

I'll have to check the installation at work to see. Maybe there's a .fpw
somewhere thats firing an fxp...

"Lew" <Lew@discussions.microsoft.com> wrote in message
news:CA57C478-3EB6-4A92-9F53-BBBDD4DCB240@microsoft.com...
> The screwy installation I'm working has intellisense off by default, so I
> turn it on manually. Isn't there a way to save "on" as the default?
> -Lew



Re: Why isn't intellisense ON a default? by Fred

Fred
Sat Sep 15 09:24:27 PDT 2007

Doesn't seem all that strange to me. If you start a .PRG from Windows, it
has to start the whole VFP IDE. An .FXP possibly can be starting just the
runtime, not the development IDE. Not sure if that's what's actually
happening or not as I always just start VFP directly with a shortcut.

--
Fred
Microsoft Visual FoxPro MVP


"Lew" <lew@fastmail.fm> wrote in message
news:O6dLWF79HHA.3900@TK2MSFTNGP02.phx.gbl...
> Here are some steps that seem to reproduce/illustrate this problem:
>
> 1. Create a test directory, eg intellitest
> 2. in that directory, create the following startup.prg
> cd "<intellitest>"
> modify project intellitest nowait
> 3. Compile the prg so that you should have 2 files setup.prg and setup.fxp
> 4. Exit vfp altogether
> 5. Navigate to the test directory via windows explorer
> 6. Double click the prg. VFP should start
> 7. Open the tools pad on the menu & notice that the Intellisense bar is
> enabled and Intellisense is on
> 8. Quit vfp
> 9. Navigate back via Explorer again
> 10. This time, click on the .fxp Again VFP starts HOWEVER
> 11. Tools->Intellisense is *disabled* altogether
> 12. In the command window, execute ? _VFP.EditorOptions, you should see
> "LQKT", the default values
> 13. Check Tools->Intellisense again. It'll be enabled.
>
> I'll have to check the installation at work to see. Maybe there's a .fpw
> somewhere thats firing an fxp...
>
> "Lew" <Lew@discussions.microsoft.com> wrote in message
> news:CA57C478-3EB6-4A92-9F53-BBBDD4DCB240@microsoft.com...
>> The screwy installation I'm working has intellisense off by default, so I
>> turn it on manually. Isn't there a way to save "on" as the default?
>> -Lew
>
>



Re: Why isn't intellisense ON a default? by Lew

Lew
Sat Sep 15 10:32:19 PDT 2007

Check you registry entry for how windows behaves when you click a .prg vs
when you click a .fxp. Look them up in HKEY_CLASSES_ROOT. On my machine they
both point to the same command: -SHELLOPEN "%1" and, on my machine anyway,
the ide opens in either case. Try it. .fxp's don't kick off the runtime by
default, but perhaps this is only true when there's a dev edition around to
handle this task.

"Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
news:uKdwWS79HHA.4612@TK2MSFTNGP03.phx.gbl...
> Doesn't seem all that strange to me. If you start a .PRG from Windows, it
> has to start the whole VFP IDE. An .FXP possibly can be starting just the
> runtime, not the development IDE. Not sure if that's what's actually
> happening or not as I always just start VFP directly with a shortcut.
>
> --
> Fred
> Microsoft Visual FoxPro MVP
>
>
> "Lew" <lew@fastmail.fm> wrote in message
> news:O6dLWF79HHA.3900@TK2MSFTNGP02.phx.gbl...
>> Here are some steps that seem to reproduce/illustrate this problem:
>>
>> 1. Create a test directory, eg intellitest
>> 2. in that directory, create the following startup.prg
>> cd "<intellitest>"
>> modify project intellitest nowait
>> 3. Compile the prg so that you should have 2 files setup.prg and
>> setup.fxp
>> 4. Exit vfp altogether
>> 5. Navigate to the test directory via windows explorer
>> 6. Double click the prg. VFP should start
>> 7. Open the tools pad on the menu & notice that the Intellisense bar is
>> enabled and Intellisense is on
>> 8. Quit vfp
>> 9. Navigate back via Explorer again
>> 10. This time, click on the .fxp Again VFP starts HOWEVER
>> 11. Tools->Intellisense is *disabled* altogether
>> 12. In the command window, execute ? _VFP.EditorOptions, you should see
>> "LQKT", the default values
>> 13. Check Tools->Intellisense again. It'll be enabled.
>>
>> I'll have to check the installation at work to see. Maybe there's a .fpw
>> somewhere thats firing an fxp...
>>
>> "Lew" <Lew@discussions.microsoft.com> wrote in message
>> news:CA57C478-3EB6-4A92-9F53-BBBDD4DCB240@microsoft.com...
>>> The screwy installation I'm working has intellisense off by default, so
>>> I
>>> turn it on manually. Isn't there a way to save "on" as the default?
>>> -Lew
>>
>>
>
>



Re: Why isn't intellisense ON a default? by Fred

Fred
Sat Sep 15 11:20:21 PDT 2007

Hmm, on my dev box at home, neither one point to anything in
HKEY_CLASSES_ROOT other than just indicating that an .FXP is a
Visual.FoxPro.Compiled.Program and a .PRG is a Visual.FoxPro.Program. The
.PRG also has a sub tag for ShellNew that's empty.

A .FXP opens the VFP IDE and executes the code, and a .PRG opens the IDE
with the file open for editting on my box.

--
Fred
Microsoft Visual FoxPro MVP


"Lew" <lew@fastmail.fm> wrote in message
news:uKc7h579HHA.5840@TK2MSFTNGP03.phx.gbl...
> Check you registry entry for how windows behaves when you click a .prg vs
> when you click a .fxp. Look them up in HKEY_CLASSES_ROOT. On my machine
> they both point to the same command: -SHELLOPEN "%1" and, on my machine
> anyway, the ide opens in either case. Try it. .fxp's don't kick off the
> runtime by default, but perhaps this is only true when there's a dev
> edition around to handle this task.
>
> "Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
> news:uKdwWS79HHA.4612@TK2MSFTNGP03.phx.gbl...
>> Doesn't seem all that strange to me. If you start a .PRG from Windows,
>> it has to start the whole VFP IDE. An .FXP possibly can be starting just
>> the runtime, not the development IDE. Not sure if that's what's actually
>> happening or not as I always just start VFP directly with a shortcut.
>>
>> --
>> Fred
>> Microsoft Visual FoxPro MVP
>>
>>
>> "Lew" <lew@fastmail.fm> wrote in message
>> news:O6dLWF79HHA.3900@TK2MSFTNGP02.phx.gbl...
>>> Here are some steps that seem to reproduce/illustrate this problem:
>>>
>>> 1. Create a test directory, eg intellitest
>>> 2. in that directory, create the following startup.prg
>>> cd "<intellitest>"
>>> modify project intellitest nowait
>>> 3. Compile the prg so that you should have 2 files setup.prg and
>>> setup.fxp
>>> 4. Exit vfp altogether
>>> 5. Navigate to the test directory via windows explorer
>>> 6. Double click the prg. VFP should start
>>> 7. Open the tools pad on the menu & notice that the Intellisense bar is
>>> enabled and Intellisense is on
>>> 8. Quit vfp
>>> 9. Navigate back via Explorer again
>>> 10. This time, click on the .fxp Again VFP starts HOWEVER
>>> 11. Tools->Intellisense is *disabled* altogether
>>> 12. In the command window, execute ? _VFP.EditorOptions, you should see
>>> "LQKT", the default values
>>> 13. Check Tools->Intellisense again. It'll be enabled.
>>>
>>> I'll have to check the installation at work to see. Maybe there's a .fpw
>>> somewhere thats firing an fxp...
>>>
>>> "Lew" <Lew@discussions.microsoft.com> wrote in message
>>> news:CA57C478-3EB6-4A92-9F53-BBBDD4DCB240@microsoft.com...
>>>> The screwy installation I'm working has intellisense off by default, so
>>>> I
>>>> turn it on manually. Isn't there a way to save "on" as the default?
>>>> -Lew
>>>
>>>
>>
>>
>
>



Re: Why isn't intellisense ON a default? by Lew

Lew
Sat Sep 15 12:03:24 PDT 2007

> Hmm, on my dev box at home, neither one point to anything in
> HKEY_CLASSES_ROOT other than just indicating that an .FXP is a
> Visual.FoxPro.Compiled.Program and a .PRG is a Visual.FoxPro.Program. The
> .PRG also has a sub tag for ShellNew that's empty.

Right, look further down and you'll find entries for both
Visual.FoxPro.Compiled.Program and Visual.FoxPro.Program, open those keys
and that's where'll you'll find the actual SHELLOPEN commands.



Re: Why isn't intellisense ON a default? by Fred

Fred
Sat Sep 15 16:02:33 PDT 2007

Thanks. I avoid the registry at all costs if I can. I think Microsoft's
biggest mistake was allowing everybody and their brother to use the registry
for storage. Even for a development environment I find highly suspect as
actually *needing* to use the registry, it should be for the OS and nothing
else.

--
Fred
Microsoft Visual FoxPro MVP


"Lew" <lew@fastmail.fm> wrote in message
news:uLEHbs89HHA.1212@TK2MSFTNGP05.phx.gbl...
>> Hmm, on my dev box at home, neither one point to anything in
>> HKEY_CLASSES_ROOT other than just indicating that an .FXP is a
>> Visual.FoxPro.Compiled.Program and a .PRG is a Visual.FoxPro.Program.
>> The .PRG also has a sub tag for ShellNew that's empty.
>
> Right, look further down and you'll find entries for both
> Visual.FoxPro.Compiled.Program and Visual.FoxPro.Program, open those keys
> and that's where'll you'll find the actual SHELLOPEN commands.
>



Re: Why isn't intellisense ON a default? by Gene

Gene
Sat Sep 15 22:56:57 PDT 2007

"Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote:

>Thanks. I avoid the registry at all costs if I can. I think Microsoft's
>biggest mistake was allowing everybody and their brother to use the registry
>for storage. Even for a development environment I find highly suspect as
>actually *needing* to use the registry, it should be for the OS and nothing
>else.

The OS?

Oh, yeah. The thingie that Internet Explorer must be a part of.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.

Re: Why isn't intellisense ON a default? by Cy

Cy
Sun Sep 16 07:56:22 PDT 2007

Use of the registry was supposed to do away with having a config file for
every program and component in the system. Of course then it had it's own
problems, and in addition it has it's pluses. One that is nice is the HKCU
branch of the registry as it lets you store stuff that is basically the same
information but unique for each user of the computer. This simplifies
things such as storing window locations per user of the computer, without
having to use the foxuser which only works for a single user on a machine
(meaning it doesn't work for Terminal Services or Citrix) while the HKCU
works just fine in a citrix or TS situation.

Now we are supposed to use XML config files, which work fine for application
level stuff, but still don't work so well for user level stuff unless you
store an XML file for each user. I guess it matters not since those of us
who still have to market products have to move to something other than VFP
anyways (yes our users actually are including things such as "VFP is not
acceptable as a development environment" in the RFP's and in technical
standards. Others are specifying that their development standard
environment is .net. It's too bad, so far the .net world is a lot harder
for me, there are so many things that are complex to do in .net that are so
easy in VFP, but then the opposite is true as well.

Now to be back on topic, I never expect VFP to behave normally if I start it
by clicking on a PRG (or an FXP for that matter), since it keeps it from
running all the setup stuff, and worse yet it doesn't even run the
config.fpw that I have setup for whatever development project I'm working
with. I always start with a shortcut and then open the file, anything else
doesn't work.

--
Cy Welch
Senior Programmer/Analyst
MetSYS Inc.
http://www.metsysinc.com

"Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
news:uCwuyw#9HHA.5316@TK2MSFTNGP04.phx.gbl...
> Thanks. I avoid the registry at all costs if I can. I think Microsoft's
> biggest mistake was allowing everybody and their brother to use the
> registry for storage. Even for a development environment I find highly
> suspect as actually *needing* to use the registry, it should be for the OS
> and nothing else.
>
> --
> Fred
> Microsoft Visual FoxPro MVP
>
>
> "Lew" <lew@fastmail.fm> wrote in message
> news:uLEHbs89HHA.1212@TK2MSFTNGP05.phx.gbl...
>>> Hmm, on my dev box at home, neither one point to anything in
>>> HKEY_CLASSES_ROOT other than just indicating that an .FXP is a
>>> Visual.FoxPro.Compiled.Program and a .PRG is a Visual.FoxPro.Program.
>>> The .PRG also has a sub tag for ShellNew that's empty.
>>
>> Right, look further down and you'll find entries for both
>> Visual.FoxPro.Compiled.Program and Visual.FoxPro.Program, open those keys
>> and that's where'll you'll find the actual SHELLOPEN commands.
>>
>
>

Re: Why isn't intellisense ON a default? by Anders

Anders
Sun Sep 16 09:01:34 PDT 2007


"Cy Welch" <cywelch@hotmail.com> wrote in message
news:638B9FB6-214E-42DD-A8A9-FFCE72452C05@microsoft.com...
> Use of the registry was supposed to do away with having a config file for
> every program and component in the system. Of course then it had it's own
> problems, and in addition it has it's pluses. One that is nice is the
> HKCU branch of the registry as it lets you store stuff that is basically
> the same information but unique for each user of the computer. This
> simplifies things such as storing window locations per user of the
> computer, without having to use the foxuser which only works for a single
> user on a machine (meaning it doesn't work for Terminal Services or
> Citrix) while the HKCU works just fine in a citrix or TS situation.

FoxUser should be possible in TS to as each user can be provided with a Temp
directory of his own on the server.

-Anders




Re: Why isn't intellisense ON a default? by Cy

Cy
Mon Sep 17 22:37:49 PDT 2007

Yes, it's possible, but it's far more complex to set up and maintain. It's
so much simpler if your using HKCU in the registry. Otherwise you would
need to add a table to your application to store that information, and while
that would work, the registry works so well for that use.

--
Cy Welch
Senior Programmer/Analyst
MetSYS Inc.
http://www.metsysinc.com

"Anders Altberg" <anders.altberg> wrote in message
news:OvqfYrH#HHA.5404@TK2MSFTNGP02.phx.gbl...
>
> "Cy Welch" <cywelch@hotmail.com> wrote in message
> news:638B9FB6-214E-42DD-A8A9-FFCE72452C05@microsoft.com...
>> Use of the registry was supposed to do away with having a config file for
>> every program and component in the system. Of course then it had it's
>> own
>> problems, and in addition it has it's pluses. One that is nice is the
>> HKCU branch of the registry as it lets you store stuff that is basically
>> the same information but unique for each user of the computer. This
>> simplifies things such as storing window locations per user of the
>> computer, without having to use the foxuser which only works for a single
>> user on a machine (meaning it doesn't work for Terminal Services or
>> Citrix) while the HKCU works just fine in a citrix or TS situation.
>
> FoxUser should be possible in TS to as each user can be provided with a
> Temp
> directory of his own on the server.
>
> -Anders
>
>
>