Solved

frx file

Posted on 2002-06-10
7
1,084 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]
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

770 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