Solved

frx file

Posted on 2002-06-10
7
1,082 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replace Formatted Numbers with text 9 61
Pull multiple cvs files into one access table 28 64
String manipulation in Visual Basic 7 58
Updates not working for MS Windows 7 12 152
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

932 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

12 Experts available now in Live!

Get 1:1 Help Now