Index
2003-04-23 17:01 – Chester Friesen : Maximize&Printer Question
2003-04-23 18:42 – Jim Kearns : RE: Maximize&Printer Question
2003-04-23 19:17 – Charlie Coleman : Re: Maximize&Printer Question
Back to top
Maximize&Printer Question

Author: Chester Friesen

Posted: 2003-04-23 17:01:00   Link

Hi everyone,

I would like to know how I can program an app (.exe) to open maximized? =

It opens maximized when running as an app but when I build to an exe it =

doesn't.

Also, I don't know if it was on this list or not, but I saw and now =

cannot find how/where to program so the app is not printer specific. The =

article I saw was something about deleting the printer reference in the =

code database(?) I think. I don't remember which file it was in, report =

or form or ?

Thanks for any help,

Chester Friesen

cdfriesen@sunset.net

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

©2003 Chester Friesen
Back to top
RE: Maximize&Printer Question

Author: Jim Kearns

Posted: 2003-04-23 18:42:00   Link

Chester,

When you build an exe, it has certain properties associated with it. If you

right-click on the desktop icon for your exe or right click on the exe

within Windows Explorer, there is property for how the program should be

run, Normal Window, Minimized, Maximized. Set to Maximized and you should

be all set.

As far as the printer settings go, you will need to open the FRX file

associated with your report by USEing it: USE YourReportName.frx.

Next issue the browse command. One the first row located the Tag and Tag2

columns. Clear everything in both of these memo fields. Next take a look

at the column called, EXPR. There is printer specific info here that you

can comment out with an asterisk (*), things such as "DRIVER=winspool" or

"DEVICE=HP DeskJet 600" etc.

Jim Kearns

-----Original Message-----

From: profox-admin@leafe.com [mailto:profox-admin@leafe.com]On Behalf Of

Chester Friesen

Sent: Wednesday, April 23, 2003 3:25 PM

To: ProFox Listserver

Subject: Maximize&Printer Question

Hi everyone,

I would like to know how I can program an app (.exe) to open maximized? It

opens maximized when running as an app but when I build to an exe it

doesn't.

Also, I don't know if it was on this list or not, but I saw and now cannot

find how/where to program so the app is not printer specific. The article I

saw was something about deleting the printer reference in the code

database(?) I think. I don't remember which file it was in, report or form

or ?

Thanks for any help,

Chester Friesen

cdfriesen@sunset.net

©2003 Jim Kearns
Back to top
Re: Maximize&Printer Question

Author: Charlie Coleman

Posted: 2003-04-23 19:17:00   Link

In the startup code (your 'main' prg file), so something like:

_SCREEN.Visible = .T.

_SCREEN.WindowState = 2

Note: the ...Visible... may not be necessary.

HTH,

-Charlie

>Hi everyone,

>I would like to know how I can program an app (.exe) to open maximized? It

>opens maximized when running as an app but when I build to an exe it doesn't.

>Also, I don't know if it was on this list or not, but I saw and now cannot

>find how/where to program so the app is not printer specific. The article

>I saw was something about deleting the printer reference in the code

>database(?) I think. I don't remember which file it was in, report or form or ?

©2003 Charlie Coleman