Solved

frx file

Posted on 2002-06-10
7
1,076 Views
Last Modified: 2006-11-17
I have wrote a simple VB program for a course I am doing and the question asks for a frx file to be
submitted. I know this is connected with foxpro but do not how to create a report for this program.
Can anyone tell me how to create a report and generate this frx file?
The Question is: Supply the program1.frx file(the graphical aspects of the form and its objects)
Thanks for any help.
0
Comment
Question by:spark60
7 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
Visual basic has .frx files which store the icon for the related form...
Maybe I am missing something here...
0
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
Comment Utility
This is not quite true, a .FRX file is indeed a foxpro report definition file however that is not what is being asked for here.

A VB Form comprises two parts, one is the .FRM file which  contains the form code and a text definition of the objects that are placed on it (controls such as textbox command button etc). And the other part is the .FRX file, this contains the actual objects and so on that are placed on the form. So what is being asked for here is both parts of your form. If you check the folder where you have saved your form then you should find both files:

Form1.frm and Form1.frx (assuming that you haven't changed the name of the form from the default).
0
 
LVL 2

Expert Comment

by:priya_pbk
Comment Utility
if you cannot find the .frx file. I think you can recompile the form (or the project)which will create the frx file for that form.

Is'nt it ?

-priya

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 22

Expert Comment

by:rspahitz
Comment Utility
VB frx files are only created, from what I can tell, under a few circumstances:

1) An icon is added to the form titlebar
2) A graphic is added to the form display area
3) A string is added that exceeds the size limit

To find out if an frx is associated with an frm, open the frm in a text editor and search for the following text:  .frx":

Without that, you won't have an frx, but if you want to guarantee that one is created, make a 1x1 pixel bitmap and include it in the form's picturebox property.
0
 
LVL 1

Expert Comment

by:Moondancer
Comment Utility
As you requested here, I have processed the point split.
http://www.experts-exchange.com/commspt/Q_20309955.html

Points for rspahitz -> http://www.experts-exchange.com/jsp/qShow.jsp?qid=20309968

Moondancer - EE Moderator
0
 
LVL 22

Expert Comment

by:rspahitz
Comment Utility
Thanks, spark60...and Moondancer.
0
 
LVL 1

Expert Comment

by:Moondancer
Comment Utility
My pleasure.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now