🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.deployment
Article #158

App runs fine on 4 computers - fixec

#158
From: Brian K Daniels
Date: Sat, 20 Aug 2005 16:29
34 lines
2562 bytes
Thanks, one and all,

The problem has been solved. It was just something in the code.

My customer's problems ranged from opening with a window that was off the
screen to not running at all exept for a system error report.

The changes I made were  in  FormShow and in a Timer.The timer was enabled
at startup with 200 ms  and immediatly disabled itself.  FormShow
automatically opened and read a bitmap file and a text file. I changed it so
that the automatic file opening was suppressed (unless the user checked a
menu option for future use). I also did not enable the timer until the end
of ShowForm was reached. ShowForm figured out the bounds of the form based
on reading a  .ini file (shich ShowForm always does) and the Taskbar
settings. The SetBounds call was not made until inside the timer function.
Before and after the changes the application ran fine on my computers. But,
after these changes, my customer in Ireland reported that it opened with its
window off his screen. He commented out some of the code in FormShow and
then it opened for him with a small window (Probably the one I used at
design time) and all was well thereafter.

I apologize for the scrappy initial posting but I had not used this facility
for years and did know whether or not it would  post. I was suprised to see
that my daughter, Lynne's contact info. was attached instead of my own.

It is really good to know that Team B and the rest of you are looking at
these postings.

This application was written with Borland C++ Builder 4.0 on a Windows 2003
small business server operating system.

Thanks again,

Brian Daniels
Technical Details
Message-ID: <43075b3c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f8e54,d3a67f8e634417a6,start
X-Google-Attributes: gidf8e54,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Brian K Daniels" <B_K_Daniels@yahoo.com>
From: "Brian K Daniels" <B_K_Daniels@yahoo.com>
Newsgroups: borland.public.cppbuilder.deployment
Subject: App runs fine on 4 computers - fixec
Date: Sat, 20 Aug 2005 09:29:35 -0700
Lines: 36
Organization: BK Daniels Enterprises
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
NNTP-Posting-Host: 216.160.208.140
Message-ID: <43075b3c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124555580 216.160.208.140 (20 Aug 2005 09:33:00 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail