Solved

frx file

Posted on 2002-06-10
7
1,087 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 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 7066803
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
ID: 7066806
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
ID: 7066848
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 22

Expert Comment

by:rspahitz
ID: 7067873
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
ID: 7068037
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
ID: 7068248
Thanks, spark60...and Moondancer.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7068301
My pleasure.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

820 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