Can an PB application be too big?

Using Powerbuilder desktop v 8.03 I have developed a large application 
(dll's 41 mb and 19mb) from which graphics appear in a printed text 
document. Recently I added some functions and controls, the recompiled 
application performed such that the document output was devoid of the 
graphics. When I further added some global variables and recompiled, not 
only were the graphics missing but some text was truncated as well. When the 
newly added global features were deleted, the text was complete but graphics 
were missing . Then when the new functions and controls were removed, the 
application was back to working perfectly again..

Is there a ceiling on the size of code an PB 8.03 application can contain or 
are other issues involved?   For future expansion of the application, how 
might I expand its  size by as much as 15% to 20% without running into these 
problems?

Tom Webb 


0
Tom
5/25/2006 3:01:00 AM
sybase.powerbuilder.general 62418 articles. 17 followers. Follow

4 Replies
470 Views

Similar Articles

[PageSpeed] 42

Our main application is 150Mb and we don't face problems like those you
describe.

In the past, the application was even bigger but we found ways to reduce the
size.

I cannot believe that your problems are related to the size of the
application.



"Tom Webb" <sppi@core.com> wrote in message news:44751dec@forums-1-dub...
> Using Powerbuilder desktop v 8.03 I have developed a large application
> (dll's 41 mb and 19mb) from which graphics appear in a printed text
> document. Recently I added some functions and controls, the recompiled
> application performed such that the document output was devoid of the
> graphics. When I further added some global variables and recompiled, not
> only were the graphics missing but some text was truncated as well. When
> the newly added global features were deleted, the text was complete but
> graphics were missing . Then when the new functions and controls were
> removed, the application was back to working perfectly again..
>
> Is there a ceiling on the size of code an PB 8.03 application can contain
> or are other issues involved?   For future expansion of the application,
> how might I expand its  size by as much as 15% to 20% without running into
> these problems?
>
> Tom Webb
>



0
Papadomichelakis
5/25/2006 9:23:24 AM
Tom;

    No, there are no practical limits - especially if you use PBD's or
DLL's.

Regards .. Chris


"Tom Webb" <sppi@core.com> wrote in message news:44751dec@forums-1-dub...
> Using Powerbuilder desktop v 8.03 I have developed a large application
> (dll's 41 mb and 19mb) from which graphics appear in a printed text
> document. Recently I added some functions and controls, the recompiled
> application performed such that the document output was devoid of the
> graphics. When I further added some global variables and recompiled, not
> only were the graphics missing but some text was truncated as well. When
the
> newly added global features were deleted, the text was complete but
graphics
> were missing . Then when the new functions and controls were removed, the
> application was back to working perfectly again..
>
> Is there a ceiling on the size of code an PB 8.03 application can contain
or
> are other issues involved?   For future expansion of the application, how
> might I expand its  size by as much as 15% to 20% without running into
these
> problems?
>
> Tom Webb
>
>


0
Chris
5/25/2006 12:51:08 PM
Tom,

This sounds more like a Windows resource problem. If you have lots of
individual paintable objects in memory at once (visible or not), windows
runs out of handles, contexts, etc, and starts acting (my technical term for
it, anyway) "stupid." If you restructure your app with more instance and
local variables, make sure you destroy anything you create, use nonvisuals
where possible, and substitute datawindows anyplace where you have a bunch
of individual controls on a form, that should help you get past the
perceived size limits.

-- 
Regards,
Millard [TeamSybase]


"Tom Webb" <sppi@core.com> wrote in message news:44751dec@forums-1-dub...
> Using Powerbuilder desktop v 8.03 I have developed a large application
> (dll's 41 mb and 19mb) from which graphics appear in a printed text
> document. Recently I added some functions and controls, the recompiled
> application performed such that the document output was devoid of the
> graphics. When I further added some global variables and recompiled, not
> only were the graphics missing but some text was truncated as well. When
the
> newly added global features were deleted, the text was complete but
graphics
> were missing . Then when the new functions and controls were removed, the
> application was back to working perfectly again..
>
> Is there a ceiling on the size of code an PB 8.03 application can contain
or
> are other issues involved?   For future expansion of the application, how
> might I expand its  size by as much as 15% to 20% without running into
these
> problems?
>
> Tom Webb
>
>


0
Millard
5/25/2006 1:24:04 PM
As others have mentioned, this does sound like an application size issue to me
either, although resources sounds like a good theory. Another things to test is
to compile with PCode to PBDs (you mention DLLs) and see if the problem
persists. 

Good luck,

Terry [TeamSybase] and Sequel the techno-kitten

On 24 May 2006 20:01:00 -0700,
 in sybase.public.powerbuilder.general
Tom Webb <sppi@core.com> wrote: 
>Using Powerbuilder desktop v 8.03 I have developed a large application 
>(dll's 41 mb and 19mb) from which graphics appear in a printed text 
>document. Recently I added some functions and controls, the recompiled 
>application performed such that the document output was devoid of the 
>graphics. When I further added some global variables and recompiled, not 
>only were the graphics missing but some text was truncated as well. When the 
>newly added global features were deleted, the text was complete but graphics 
>were missing . Then when the new functions and controls were removed, the 
>application was back to working perfectly again..
>
>Is there a ceiling on the size of code an PB 8.03 application can contain or 
>are other issues involved?   For future expansion of the application, how 
>might I expand its  size by as much as 15% to 20% without running into these 
>problems?
>
>Tom Webb 
>
>

*********************************
PowerBuilder for $75? No.
Personal use PowerBuilder Enterprise *AND* PocketBuilder *AND* DataWindow.NET
*AND* Sybase IQ as free benefits of a $75 ISUG membership. See
http://www.isug.com/ISUG3/Membership_benefits.html for details.
Prices may change soon. Sign up now!

*********************************
Click once a day to help the hungry
http://www.thehungersite.com
*********************************
User Manual
===========
TeamSybase <> Sybase employee
Forums = Peer-to-peer
Forums <> Communication with Sybase
IsNull (AnswerTo (Posting)) can return TRUE
Forums.Moderated = TRUE, so behave or be deleted
*********************************

Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a free PowerBuilder Developer's Toolkit. 
Version 3.0.02 now available at the Sandbox
PB Futures updated Apr 24/2006
See the PB Troubleshooting & Migration Guides at the Sandbox
^ ^
o o
=*=
0
Terry
5/25/2006 2:42:26 PM
Reply:

Similar Artilces:

Application in Powerbuilder 5.0.2 with PFC
I recently found myself in charge of an application built in Powerbuilder 5.0.2 using the PFC. Nobody seems to have the installation disks for PB 5.0.2 available anymore, so I was looking at Powerbuilder 8. I have never used PB 8 nor have I used PFC in any version. My 2 questions are 1) can and go from PB 5.0.2 to PB 8 and 2) how do you migrate using the PFC?? Thanks. Wallace Henry whenry@newcorp.com On Fri, 1 Feb 2002 16:29:33 -0500, in powersoft.public.powerbuilder.pfc Wallace Henry <whenry@newcorp.com> wrote: >I recently found myself in charge of an application...

can we run another application from a PB application
Can anybody tell me if its possible to run a second PB application from an already running PB application? If yes, then is there any way to terminate the first application and continue with the second? Thanks, Menka Gupta Corsair Communications, Inc. Run("secondapp.exe") Halt Close S Rivankar Menka Gupta wrote in message <3846D57A.FE3778BB@corsair.com>... >Can anybody tell me if its possible to run a second PB application from >an already running PB application? > >If yes, then is there any way to terminate the first application and >con...

How Can I handle a PB Application from another Windows Application
Hy Guys, I have a big problem, I don't know how handle an Application created by PB from another application. I. E.How can I launch the an event or a global function or get some properties value? Thanks. Stefano Giostra. You can trigger user events mapped to pbm_custom01-pbm_custom75 by using the SendMessage Win32 API using message IDs between 1024 and 1098, respectively. You will need to use the FindWindow API to get the handle of the main window of the application you want to "talk" to. -- pbm_hopethishelps, Roy Kiesler [TeamSybase] Sybase Develop...

PB Application to PB Application communication
I need to have 2 powerbuilder application be able to communicate with one another. A string is all I need to pass between the two applications. I tried creating a com object that I could connect to from both applications. This com object would basically store the information I want to pass between the two applications in an instance variable. One application would populate that instance variable, then notify the other application(through the send command) to go read the information in the com object. I created the com object fine and can call a function on the com object ...

How Can VB Application Trigger Events or [talk to] PB Application
Hi all I want to know - if applicable - How Can Visual Basic Application Call PowerBuilder Application to Run functions, Open windows, Etc -- Thanks in advance ------------------------------------------------------- Waleed Seada ------------------------------------------------------- Check out the use of OLE Automation in PowerBuilder, within the Application Techniques manual. On 11 May 2004 00:13:51 -0700, "Waleed Seada[BearingPoint]" <DSweetPrince@hotmail.com> wrote: >Hi all > I want to know - if applicable - How Can Visual Basic >...

SQLCA works when application runs in PB not when application is run with Powerbuilder WDK.
Hi, My applications with out SQLCA run great through Powerbuilder WDK, my applications that contain SQLCA information doesn't. When I run the application in PB I get a splash screen and then the application starts. When I run it through PB WDK the splash screen starts and the I get a login box. No matter what I do it always show's up and when I hit OK I get the following SQLSTATE = 08001 error. How can I stop this from occurring? The SQLCA code and ini file are below. code: startupfile = "pds.ini" /* Populate sqlca from current PB.INI settings */ sqlca.DBMS...

How can I launch other application from PowerBuilder and wait until the launched application terminates before continuing?
I need to write function launches the application specified by StringParameter with the command line parameters. The function should wait until the launched application terminates before continuing. How can I do it using PowerBuilder and Windows API ? mail: igorm@proactivityinc.com In article <i6rNFfSBAHA.203@forums.sybase.com>, igor@proactivityinc.com says... > I need to write function launches the application specified by > StringParameter with the command line parameters. The function should wait > until the launched application terminates before continuing...

Frontend PB application for a mainframe General Ledger application using Platinum Infosession
Hi, I am trying to get a project to write a frontend PB GUI application for a mainframe General Ledger. I have succeeded to make an example for a login and CEMT list + update of CICS programs. The customer requires me to do an example based on a very small part of the General Ledger so that he can demonstrate to his colleagues this is viable and this will remove the necessity of training for the users to pass through natural and cumbersome mainframe screens to reach general ledger. They intend to have the whole of general ledger to get a GUI interface... My question is: Th...

PB 5.0.4 Application can't migrate to PB 6.5
Hi, I try to migrate the application from PB5.0.4 to PB6.5. After migration, some errors occurs. Problem 1: A window ( say w_abc) which is inherited from another window (w_inherit). After migration, it has following errors Object: w_abc Instance Variables (0002) Error C0001: Illegal data type: istru_result istru_result - is a window structure in w_inherit window and it is used in w_abc instance variables In w_abc window, Instance variables: istru_result istru_result1 Problem 2: If a function which used string array ...

pb application deployment of application
ver 10.5 is there an easy way of finding which pb runtime files i need to deploy with my application to create an installation for a customer First of all, check out the PB runtime packager, and documentation in HTML books under application techniques, chapter 40. You can also use tools like process explorer (www.sysinternals.com - now Microsoft) that lists the active DLL's used by an application. Including tools like Dependency Walker (www.dependencywalker.com). (That even integrates with Process Explorer.) Regards Andr� P� Wed, 21 Feb 2007 12:04:10 +0100, sk...

Random crash and crash on exit of big PB 9.02 application (PB builds: 7509 & 7661)
Hi all, We are having serious problems with PB 9.02 crashing the application randomly. Also the app often makes a GPF when exiting. (It is a big app consuming 45 mb of memory and 35 MB VM Size) Some times the app can work for 6 hours and other times only 15 minutes. I simply vanishes out in the blue.. and sometimes a messagebox instructing us to contact a sybase support engeneer. We have tried to isolate all external components (ActiveX's,DLL's ) with no lock. The App uses 3 seperate sharedobjects. I have now reprogramed the app so that the shared objects are not used an...

Powerbuilder application "crashing" another powerbuilder application
This is a repost of the above subject since there has been some problem for messages posted on the 19th - 22nd July 2002. *************** Hi All, I have an application (App A)built using PB7.0.3 build 10077 and it seems to work fine. However, recently, another application (App B) built using PB 7.0.3 build 10047 as well was installed and it seems to trigger Dr Watson on App A. There is an embedded OCX on a "main" window on App A, which receives triggers from external applications. The OCX will then call another function sitting on another main window. That function w...

PB 11.5 application is lower than the same application on PB 9
Hi, We have recently migrated our full source from PB 9 to PB 11.5. We found that the program is running extremely slow. We noticed that it happens mostly when using GUI. There are delays even when tabbing though controls on the screen. We run tracing on both environments, and most of the functions show that the response time is better in PB 11.5, but the experience of using PB11.5 application is very slow anyway. Has anyone experienced the same? On Aug 21, 9:13=A0am, chaau <andrew.chered...@gmail.com> wrote: Sorry, typo in the title. Should be PB 11.5 application is slo...

Calling internet enabled PB application from Client Server PB Application
Is it possible to call a internet enabled PB application from a Client-Server PB app? (Just like the way using RUN function to run another app from PB app) Thx, Mahesh This newsgroup is for discussing enhancement requests for future versions of PowerBuilder. You will get a much more relevant reponse if you post in one of the other newsgroups, for example: powersoft.public.powerbuilder.distributed or powersoft.public.powerbuilder.general <Mahesh> wrote in message news:E66A29615A1F68F4006837D685256BC8.006837E685256BC8@webforums... > Is it possible to call a internet...

Web resources about - Can an PB application be too big? - sybase.powerbuilder.general

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Second visa application 'likely' to be approved
The family of a terminally ill Pakistani student can 'hopefully come to Australia sooner rather than later' says Immigration Minister Peter Dutton. ...

Tashfeen Malik's visa application under scrutiny - Business Insider Deutschland
The US government has released the visa application for Tashfeen Malik, who along with her husband killed 14 people in an attack in San Bernardino, ...

Panasonic Develops a Stretchable Resin Film and Its Application Materials for Stretchable Electronics ...
A stretchable film is developed. This film stretches to 2.5 times the original length and then returns to the original form. A conductive paste ...

MBA: Mortgage Applications Increase in Latest MBA Weekly Survey, Purchase Applications up 37% YoY
From the MBA: Refinance, Purchase Applications Both Up in Latest MBA Weekly Survey Mortgage applications increased 7.3 percent from one week ...

Cal State Schools Get Record Number Of Applications For 2016 Term
Schools in the California State University system received a record number of applications for the upcoming 2016 fall term, with more than 830,000 ...

German-Based Spirea Promotes Decentralized PV Applications In Uruguay
... Its technical operations specialist, Laurie Lawrence, pointed out that Uruguay [&hellip German-Based Spirea Promotes Decentralized PV Applications ...

Visa application of San Bernardino shooter released
CNN Visa application of San Bernardino shooter released CNN (CNN) The visa application of one of the San Bernardino shooters was released ...

Panasonic touch panel production to be solely for vehicle applications by 2020, says report
Panasonic is aiming to transfer its touch panel production completely to vehicle applications by 2020 in order to meet increasing demand for ...

Pre-K Applications Begin Jan 25, a Month Earlier Than Last Year, City Says
The DOE has moved the process up to Jan. 25 on the heels of a similar schedule shift for kindergarten. MANHATTAN — The application period for ...

Resources last updated: 1/3/2016 4:51:33 PM