Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Application Runing slow on windows mobile

4 posts in Pocket PowerBuilder Last posting was on 2010-02-13 02:47:47.0Z
Deependra Posted on 2010-02-09 10:57:29.0Z
Sender: 31b9.4b713cb0.1804289383@sybase.com
From: Deependra
Newsgroups: sybase.public.pocketpowerbuilder
Subject: Application Runing slow on windows mobile
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b713f99.325f.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Feb 2010 02:57:29 -0800
X-Trace: forums-1-dub 1265713049 10.22.241.41 (9 Feb 2010 02:57:29 -0800)
X-Original-Trace: 9 Feb 2010 02:57:29 -0800, 10.22.241.41
Lines: 18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:12160
Article PK: 262030

Hi,
I am running my pocketbuilder application on windows
mobile HTC touch viva(256 MB rom ,128 MB Rom).The
Application takes more time in opening as compared to other
windows applications,it takes around 7 seconds in open while
other takes mostly 2 and 1/2 second.
In my appliication`s open event there is only database
connectivity code and nothing else if conectivity is ok then
simply i code open(w_main).
I have checked simple pocketbuilder sample application with
no database connectivity code but it alss take around 4-5
second to open.

1. Please tell me how can we minimize this time as possible
is there any idea.

2. Please tell me what option i should write in the dsn file
so that sqlany 10 server start with no message.


Chris Pollach Posted on 2010-02-09 23:46:00.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <4b713f99.325f.1681692777@sybase.com>
In-Reply-To: <4b713f99.325f.1681692777@sybase.com>
Subject: Re: Application Runing slow on windows mobile
Lines: 1
Organization: STD Inc
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b71f3b8$1@forums-1-dub>
Date: 9 Feb 2010 15:46:00 -0800
X-Trace: forums-1-dub 1265759160 10.22.241.152 (9 Feb 2010 15:46:00 -0800)
X-Original-Trace: 9 Feb 2010 15:46:00 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:12162
Article PK: 262034

Hi Deependra;

Do you start the SA database and server when the device activates? Sounds
to me that you are having the application start the DBMS and thus the long
connect start-up time.

--

Regards ... Chris
President: STD Inc.
ISUG - Communications Director
http://chrispollach.pbdjmagazine.com

"Deependra" wrote in message news:4b713f99.325f.1681692777@sybase.com...
> Hi,
> I am running my pocketbuilder application on windows
> mobile HTC touch viva(256 MB rom ,128 MB Rom).The
> Application takes more time in opening as compared to other
> windows applications,it takes around 7 seconds in open while
> other takes mostly 2 and 1/2 second.
> In my appliication`s open event there is only database
> connectivity code and nothing else if conectivity is ok then
> simply i code open(w_main).
> I have checked simple pocketbuilder sample application with
> no database connectivity code but it alss take around 4-5
> second to open.
>
> 1. Please tell me how can we minimize this time as possible
> is there any idea.
>
> 2. Please tell me what option i should write in the dsn file
> so that sqlany 10 server start with no message.


Chris Pollach Posted on 2010-02-13 02:47:47.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <4b71f3b8$1@forums-1-dub> <4b727965.57f1.1681692777@sybase.com>
In-Reply-To: <4b727965.57f1.1681692777@sybase.com>
Subject: Re: Application Running slow on windows mobile
Lines: 1
Organization: STD Inc
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b7612d3$1@forums-1-dub>
Date: 12 Feb 2010 18:47:47 -0800
X-Trace: forums-1-dub 1266029267 10.22.241.152 (12 Feb 2010 18:47:47 -0800)
X-Original-Trace: 12 Feb 2010 18:47:47 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:12167
Article PK: 262036

Does your device change the CPU speed automatically or can you set the CPU
speed on the device through the set-up options? If so, you might be running
at a low speed and thus the slow nature of your PK application.

"Deependra" wrote in message news:4b727965.57f1.1681692777@sybase.com...
> Hi Chris ,
>
> Even if I start the SQLany 10 server well in
> advance , then also it takes 4-5 seconds to open.Looks like
> either the main window of the application takes time to load
> or may be the transaction object takes some time to connect
> with server.
>
> One more thing is that when I run the sample
> application(which dose not need any DB connectivity) which
> is given with pocket builder , then also it is taking
> time(4-5 sec) in startup.
>
> Even an application with blank main window takes 4-5 seconds
> in startup.
>
> I want to know how much time dose a normal pocket builder
> application takes to start on this configuration(256 MB rom
> ,128 MB Rom) of phone with Windows 6.1.
>
> Please suggest me what are the possible ways to reduce
> startup time, except code optimization.
>
> thanks
>
> Deependra
> braintree advisory & consulting group pvt. ltd.
>
>
>> Hi Deependra;
>>
>> Do you start the SA database and server when the device
>> activates? Sounds to me that you are having the
>> application start the DBMS and thus the long connect
>> start-up time.
>>
>> --
>>
>> Regards ... Chris
>> President: STD Inc.
>> ISUG - Communications Director
>> http://chrispollach.pbdjmagazine.com
>>
>>
>>
>>
>> "Deependra" wrote in message
>> > news:4b713f99.325f.1681692777@sybase.com... Hi,
>> > I am running my pocketbuilder application on windows
>> > mobile HTC touch viva(256 MB rom ,128 MB Rom).The
>> > Application takes more time in opening as compared to
>> > other windows applications,it takes around 7 seconds in
>> > open while other takes mostly 2 and 1/2 second.
>> > In my appliication`s open event there is only database
>> > connectivity code and nothing else if conectivity is ok
>> > then simply i code open(w_main).
>> > I have checked simple pocketbuilder sample application
>> > with no database connectivity code but it alss take
>> > around 4-5 second to open.
>> >
>> > 1. Please tell me how can we minimize this time as
>> > possible is there any idea.
>> >
>> > 2. Please tell me what option i should write in the dsn
>> > file so that sqlany 10 server start with no message.
>>