For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > April 2005 > Why FoxPro .frx file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Why FoxPro .frx file
Wylie C

2005-04-28, 3:57 pm

Why does VB generate a FoxPro .frx vild for every one of my VB (6.0) forms?
If it is not necessary to have the form, how can I keep the form from being
generated?

Thank you
Jeff Johnson [MVP: VB]

2005-04-28, 3:57 pm


"Wylie C" <WylieC@discussions.microsoft.com> wrote in message
news:2ED50658-A9C8-4BAA-8BEB-D93B7261A85E@microsoft.com...

> Why does VB generate a FoxPro .frx vild for every one of my VB (6.0)
> forms?
> If it is not necessary to have the form, how can I keep the form from
> being
> generated?


It's not a FoxPro file; it just happens to have the same extension as a file
type that FoxPro uses and FoxPro associated that file type with itself. .FRX
in VB is a file that continas binary data associated with a .FRM file. If
it's there it's because it NEEDS to be there.


alpine

2005-04-28, 3:57 pm

On Thu, 28 Apr 2005 08:52:05 -0700, "Wylie C"
<WylieC@discussions.microsoft.com> wrote:

>Why does VB generate a FoxPro .frx vild for every one of my VB (6.0) forms?
>If it is not necessary to have the form, how can I keep the form from being
>generated?
>
>Thank you



That is actually the binary data storage file for each VB form. These
files just happen to share the same extension name with Fox files but
are not related in any way. They are necessary for their associated
VB forms.

HTH,
Bryan
________________________________________
____________________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
alpine_don'tsendspam@mvps.org Hunter S. Thompson -
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas
Bob Butler

2005-04-28, 3:57 pm

"Wylie C" <WylieC@discussions.microsoft.com> wrote in message
news:2ED50658-A9C8-4BAA-8BEB-D93B7261A85E@microsoft.com
> Why does VB generate a FoxPro .frx vild for every one of my VB (6.0)


It doesn't. It generates a VB .frx file (form extension) for most forms.

> forms? If it is not necessary to have the form, how can I keep the
> form from being generated?


Don't set any graphical properties (e.g. Icon) or long text values for the
form or any control on it (and don't use certain controls that force the frx
creation by what they do internally) and you might not get it. The FRX file
holds binary and extended text data that can't be conveniently placed in the
FRM file.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

Cindy Winegarden

2005-04-28, 8:55 pm

Hi Wylie,

In FoxPro an FRX file is a report file. In VB it's a VB Binary Form file.
Your VB program isn't creating FoxPro files.

--
Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


"Wylie C" <WylieC@discussions.microsoft.com> wrote in message
news:2ED50658-A9C8-4BAA-8BEB-D93B7261A85E@microsoft.com...
> Why does VB generate a FoxPro .frx vild for every one of my VB (6.0)
> forms?
> If it is not necessary to have the form, how can I keep the form from
> being
> generated?
>
> Thank you



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com