Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Msgbox()'s are displaying against left side of screen in deployed app

1 view
Skip to first unread message

Charles

unread,
Mar 17, 1999, 3:00:00 AM3/17/99
to
Hello all;

I have a weird problem. My app uses the msgbox() command to display various
information. In the development environment (within vdb 5.6) they are always
centered on the screen.

However, after I compile the app and deploy (to the same machine as I am
still testing things) the msgbox()'s at the beginning of the program are
displayed against the left side of the screen (they are centered
vertically).

Once the main form opens, msgbox() statements seem to be centered properly.

This problem has occurrred several times in tha past, but after I recompiled
the app it went away. This time it seems to be permanent.

I have looked in the "myapp.INI" file -- but have not spotted anything that
appears to be related to this. Has anyone else seen this problem and does
anyone know where to look or how to fix??

Thanks in advance.

Charles...

Gary White [dBVIPS]

unread,
Mar 17, 1999, 3:00:00 AM3/17/99
to
On Wed, 17 Mar 1999 14:10:11 -0500, Charles wrote:

> However, after I compile the app and deploy (to the same machine as I am
> still testing things) the msgbox()'s at the beginning of the program are
> displayed against the left side of the screen (they are centered
> vertically).
>
> Once the main form opens, msgbox() statements seem to be centered properly.

Do you perhaps have a hidden form open at left = -300, or something
like that?


Gary White [dBVIPS]

Some dBASE Stuff at
http://www.AppTools.com/dbase

dBASE2000 News Groups at
news.dbase2000.com

Charles

unread,
Mar 22, 1999, 3:00:00 AM3/22/99
to
Gary;

Thanks for the input. I checkd and double-checked and couldn't not find
anything.

I created "junk.prg" with a MSGBOX() statement, compiled it and the MSGBOX()
was centered on the screen. So I copied the "dms.ini" (the ini I am
deploying with my application) file to "junk.ini" and re-ran "junk.exe" --
the MSGBOX() is at the left side of the screen!

rename/delete "junk.ini" and MSGBOX() is centered, bring it back and
MSGBOX() is at left side of screen. Upon further inspection of the .INI file
I saw the line:

DeployOptions=1000100000003110

in the [deployment] section, but have no idea what the individual values
mean. Tried changing a couple of them to see what would happen, but nothing
interesting.

Have you got any other ideas??

Has anyone else seen this problem??

Thanks in advance for your assistance.

Charles...


Gary White [dBVIPS] wrote in message
<36f111a4...@forums.borland.com>...

Romain Strieff [dBVIPS/TeamB]

unread,
Mar 23, 1999, 3:00:00 AM3/23/99
to
In article <7d6pga$jh...@forums.borland.com>, Charles politely
paraphrased ...

>
> Thanks for the input. I checkd and double-checked and couldn't not find
> anything.
>
> I created "junk.prg" with a MSGBOX() statement, compiled it and the MSGBOX()
> was centered on the screen. So I copied the "dms.ini" (the ini I am
> deploying with my application) file to "junk.ini" and re-ran "junk.exe" --
> the MSGBOX() is at the left side of the screen!
>
> rename/delete "junk.ini" and MSGBOX() is centered, bring it back and
> MSGBOX() is at left side of screen. Upon further inspection of the .INI file
> I saw the line:
>
> DeployOptions=1000100000003110
>
> in the [deployment] section, but have no idea what the individual values
> mean. Tried changing a couple of them to see what would happen, but nothing
> interesting.
>
> Have you got any other ideas??
>
> Has anyone else seen this problem??
>
> Thanks in advance for your assistance.
>
> Charles...
>
>
If you don't have msgbox() centered onscreen, that means that you have an
SDI app where you hide the shell so that _app.framewin is not visible,
but not centered. msgbox() appears in the center of _app.framewin no
matter if it's visible or not.
--
Romain Strieff [dBVIPS]

0 new messages