Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

Device IDE display problem

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-02-2009, 05:26 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default Device IDE display problem

There is a low-level bug in the IDE for the device showing in both the forced-Qvga and VGA applications.

The image below shows two screenshots of this problem with the horizontal scroll within the PPC's IDE.

You can see in the screendump on the left, that moving the horizontal scrollbar simply creates an overlay of the visible code-text (multiple times).
On the right you can see that moving the scroll bar drags the visible text out.

(WM5, ARM S3C, VGA, WM2.0 update 1)

This is how it has occurred twice now. I delete the code for a control related to a DLL component (i.e. code for a horizontal scrollbar for example).

Then I run the app code within the PPC IDE.

A misdirected error message appears, "null reference exception", or something like that.. can't recall exactly (hey, I'm getting old, what can you do?

I suspect it is a low-level C error, the code is pointing/referencing some memory address that isn't valid, maybe?)

Anyway, I have seen it before with B4PPC and it is always a misdirected error/line number for some error in code that it can't trace, like a missing next or end sub or whatever.

So now, when I restart the ppc and b4ppc the scroll display problem occurs. I reinstall NetCF 2.0 and B4ppc. But now way to fix it except to install a full backup of the PPC system, or a fresh install of WM5.

I posted this earlier but then removed the post text because I thought it was that I'd installed NetCF 3.5 and then installed NetCF 2.0 over it. (Why? Don't ask, I am not the smartest female on the planet!)

Anyone got answers to this problem? Is it a known issue?

Sarah

Last edited by SarahWard : 12-03-2009 at 04:43 PM. Reason: attaching new image
Reply With Quote
  #2 (permalink)  
Old 12-02-2009, 05:44 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 269
Awards Showcase
Beta Tester 
Total Awards: 1
Default

You erm, forgot to attach the screen dumps...
Reply With Quote
  #3 (permalink)  
Old 12-04-2009, 02:13 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Basic4ppc device IDE uses a regular TextBox for the editing area. I didn't encounter such problem yet.
Does it also happen with different applications that use a multiline textbox ?
__________________
Basic4android documentation
Reply With Quote
  #4 (permalink)  
Old 12-04-2009, 03:24 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default multiline textboxes

Quote:
Originally Posted by Erel View Post
Basic4ppc device IDE uses a regular TextBox for the editing area. I didn't encounter such problem yet.
Does it also happen with different applications that use a multiline textbox ?
Hi Erel
I have not noticed any problems with multiline textboxes. But to be fair, on the 2 occasions this display error occurred, I investigated it from a ppc system error point of view (.net, etc). The only way around it was to re-install WM5.

Something though.. this never happened on my QVGA device. So it might be some sort of firmware thing on my newer VGA Acer device.

If it re-occurs I will make some textbox tests before re-installing WM5, and let you know the results.
Sarah
Reply With Quote
  #5 (permalink)  
Old 12-04-2009, 05:48 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by SarahWard View Post
or a fresh install of WM5.
Do you mean a hard reset or something else more dramatic?
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #6 (permalink)  
Old 12-05-2009, 09:05 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default

Quote:
Originally Posted by agraham View Post
Do you mean a hard reset or something else more dramatic?
Yes, a hard reset was all I could do to resolve the bug. I tried un- and re- installing .NetCF. No change. I did the same with B4ppc. No joy. I ran every fixer I could find (i.e. registry repair, etc).

The only way I could bring the device IDE display back to normal was to start afresh with a new WM5 install. It would be good to know if there is a way of fixing the problem without having to lose my complete system in the process.

I will keep regular system backups from now on.
Reply With Quote
  #7 (permalink)  
Old 12-07-2009, 01:25 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default Device IDE affected by Farsi Applet

I did some experimenting and discovered the cause for the Device IDE playing up.

It was caused by a system utility called 'Mobidiv Arabiser v4.3'.

I had installed it because I am writing a program with a Persian language database and needed to view the actual Farsi script (not that I understand it, but I needed to view it to get the display perfect).

The Farsi applet is a small program to show Persian/Farsi writing on an English language PDA. It was not only messing with the scroll display but also adding control characters to the source code. On one occasion I actually saw these within the code. (See attachment which, I suspect shows CR/LF in the squares.)

These hidden characters caused all number of bogus error messages even though the code looked OK.

I had to kill the applet process and then uninstall it to bring the PDA back to normal, which it did without problems. Then I had to go through my source code and retype the bits that seemed to be coming up with misdirected error messages.

This Farsi language applet seems to have decided B4ppc was a text display (rather than an editor) and so it tried to make sense of any possible Farsi text.

Computers, who'd use 'em?
Attached Images
File Type: jpg hidden02.jpg (16.8 KB, 15 views)

Last edited by SarahWard : 12-07-2009 at 01:40 PM.
Reply With Quote
  #8 (permalink)  
Old 12-08-2009, 09:31 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 269
Awards Showcase
Beta Tester 
Total Awards: 1
Default

With the Basic4PPC source code being just an ASCII file, if you were intrigued you may send it back to the desktop and have a look at it in a text editor or hex viewer and see what the extra characters are.

I don't think they are the CR/LF characters. Glad you're sorted though.
Reply With Quote
  #9 (permalink)  
Old 12-09-2009, 06:04 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default

Yes, Zenner, you may be correct.

I didn't have a hex editor on my ppc or I would have looked.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard problem on Device MDA Pro wm.chatman Questions (Windows Mobile) 7 12-25-2009 04:34 PM
Jpeg library - display large images on the device agraham Additional Libraries 5 11-29-2009 04:48 PM
Desktop/Device Display Differences dlfallen Bug Reports 4 03-14-2009 06:31 PM
Problem with FileGet on Device BerndB Questions (Windows Mobile) 10 05-11-2008 09:51 AM
Networking (DNS?) device problem agraham Questions (Windows Mobile) 2 11-07-2007 07:24 PM


All times are GMT. The time now is 01:13 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0