dbTalk Databases Forums  

Odd prompt for codepage problem

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Odd prompt for codepage problem in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul
 
Posts: n/a

Default Odd prompt for codepage problem - 10-05-2003 , 12:09 PM






I have a VFP6 form that opens a free table - everything works fine when I
DO FORM MYFORM interactively from the command window. I do not get a prompt
for codepage. I can USE the free table without a prompt for codepage. The
VFP6 options are set to *not* prompt for codepage.

The problem arises when I BUILD the project to an EXE and run it directly
from windows - when the app tries to open the free table, it prompts for
codepage, then execution continues normally.

How can I eliminate the codepage prompting?

TIA,
Paul




Reply With Quote
  #2  
Old   
Stefan Wuebbe
 
Posts: n/a

Default Re: Odd prompt for codepage problem - 10-05-2003 , 12:55 PM






Hi,
Try Set CPDialog Off
(your.exe does not take over any environment settings
from the IDE)
See also CPDBF(), CPCurrent(), CPConvert()
If you want to modify the actual dbf header, try
Home()+"\tools\cpzero\cpzero.prg"


hth
-Stefan

"Paul" <paule (AT) mindspring (DOT) com> schrieb im Newsbeitrag
news:vo0k3ajthimtf9 (AT) news (DOT) supernews.com...
Quote:
I have a VFP6 form that opens a free table - everything works fine when I
DO FORM MYFORM interactively from the command window. I do not get a
prompt
for codepage. I can USE the free table without a prompt for codepage.
The
VFP6 options are set to *not* prompt for codepage.

The problem arises when I BUILD the project to an EXE and run it directly
from windows - when the app tries to open the free table, it prompts for
codepage, then execution continues normally.

How can I eliminate the codepage prompting?

TIA,
Paul





Reply With Quote
  #3  
Old   
Paul
 
Posts: n/a

Default Re: Odd prompt for codepage problem - 10-05-2003 , 02:16 PM



SET CPDIALOG OFF works perfectly!

Thanks!



"Stefan Wuebbe" <stefan.wuebbe (AT) gmx (DOT) de> wrote

Quote:
Hi,
Try Set CPDialog Off
(your.exe does not take over any environment settings
from the IDE)
See also CPDBF(), CPCurrent(), CPConvert()
If you want to modify the actual dbf header, try
Home()+"\tools\cpzero\cpzero.prg"


hth
-Stefan

"Paul" <paule (AT) mindspring (DOT) com> schrieb im Newsbeitrag
news:vo0k3ajthimtf9 (AT) news (DOT) supernews.com...
I have a VFP6 form that opens a free table - everything works fine when
I
DO FORM MYFORM interactively from the command window. I do not get a
prompt
for codepage. I can USE the free table without a prompt for codepage.
The
VFP6 options are set to *not* prompt for codepage.

The problem arises when I BUILD the project to an EXE and run it
directly
from windows - when the app tries to open the free table, it prompts for
codepage, then execution continues normally.

How can I eliminate the codepage prompting?

TIA,
Paul







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.