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

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

Questions (Windows Mobile) Post any question regarding Basic4ppc.

New version

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-26-2007, 11:26 PM
Knows the basics
 
Join Date: May 2007
Posts: 64
Awards Showcase
Beta Tester 
Total Awards: 1
Default New version

Hi to all and Erel!

I wish you a very happy and creative new year and happy Christmas, if you live in a Christian country.

I have installed the new version of Basic4PPC (6.01) and I was able to compile with the new engine my TRPPC application. I have just opened the source file, corrected the problematic Control access lines, erased the old libraries and added the new ones, including the Notifyicon library with the instructions
ni.Version580andAbove = false
ni.New1, as it was kindly suggested by Dimitris in this thread (http://www.basic4ppc.com/forum/showp...3&postcount=12).

I have created the setupbuilder setup file and installed the application on the PPC.

Then something strange happens: when I click on the icon of my program, I see the hour glass turn but nothing happens and it disappears after 30 seconds.
I imagine that something strange is happening without generating an error message. Where can I have a hint about the problem? Has the NETCF a log file somewhere on the PPC?

FYI: I have the same problem with the Windows exe.

Any idea?

Very cordially,

Murat

PS. I have not erased the already included objects (even if I have refreshed the libraries as I have explained above). Is this correct? Well, I have also removed the abjects and added them a new but this does not solve the problem...

PS2 : Here are the Globals and App_start sections of my program (in case you see something strange -TRPPC is the main form of my application):
Code:
Sub Globals
    
'Declare the global variables here.
    'Number of different field options in the combo boxes
    nbFields = 13
    
' Number of combo boxes for the selection of the fields
    nbCMBX = 7
    
Dim allFields (nbFields) As String
    allFields(
0)=""
    allFields(
1)="Desc"
    allFields(
2)="Notes"
    allFields(
3)="Created Date"
    allFields(
4)="Done"
    allFields(
5)="Done date"
    allFields(
6)="Thought"
    allFields(
7)="Project"
    allFields(
8)="Topic"
    allFields(
9)="Context"
    allFields(
10)="Status"
    allFields(
11)="Action Date"
    allFields(
12)="Delegated To"
    
Dim selectedFields (nbCMBX) As Byte
    AddArrayList (
"ArrayList1")
    
    fieldsFileName = 
"Fields.ini"
'Actual selected row in the tables (global in order to keep this in memory between subs    
    actualRow = 0
'Are we updating a thougth?
    updateTH = false
'File used for reading and saving actions    
    actionFile=""
'File used for reading and saving thoughts    
    thoughtFile=""
'Is necessary to save Table1?
    toSaveNA = False    
'Is necessary to save Table2?
    toSave = False
'Version number
    versionNumber = "1.0"

End Sub

Sub App_Start
    ni.Version580andAbove = 
false
    ni.New1
    flb.New1(
"TRPPC",B4PObject(1))
    flb.MinimizeBox = 
True
    hardware1.New1
    Panel1.Visible=
False
    PanelThought.Visible=
False
    adjustscreen
    TRPPC.Show    
    Table1.HeaderColor=cBlue
    Table1.HeaderFontColor=cGold
    Table2.HeaderColor=cBlue
    Table2.HeaderFontColor=cGold    
    Table2.AddCol (cString, 
"Thoughts"150)
    Table2.AddCol (cString, 
"Topics"70)    
    setup_Click
End Sub
__________________
PC: Laptop CoreDUo, Windows XP SP2 French
PPC: TyTN, WM5 French -> iPAQ 214 WM6 French (to diverge or not to diverge,...)

Last edited by yildi : 12-26-2007 at 11:35 PM.
Reply With Quote
  #2 (permalink)  
Old 12-27-2007, 04:21 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Can you send me your complete code?
Reply With Quote
  #3 (permalink)  
Old 12-27-2007, 04:46 AM
Senior Member
 
Join Date: May 2007
Posts: 125
Default

Hi Erel, do all additional libraries still work with the new version or are there things in our libraries we need to change for them to work with the Optimized Compiler? Thanks.
Reply With Quote
  #4 (permalink)  
Old 12-27-2007, 05:25 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

All official libraries work (using the new files).
Most additional libraries should also work.
Please write in the forum if you encounter a nonfunctional library.
Reply With Quote
  #5 (permalink)  
Old 12-27-2007, 04:54 PM
Knows the basics
 
Join Date: May 2007
Posts: 64
Awards Showcase
Beta Tester 
Total Awards: 1
Default

After some tests with Erel, it seems that the source of the problem is my use of NotifyIcon.

I have inverted the lines containing its declarations in the App-Start sub and it seems to work now with this order:

ni.New1
ni.Version580andAbove = false

Best regards,

Murat
__________________
PC: Laptop CoreDUo, Windows XP SP2 French
PPC: TyTN, WM5 French -> iPAQ 214 WM6 French (to diverge or not to diverge,...)
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
VGA Version of the PPC IDE Mr_Gee Basic4ppc Wishlist 7 10-22-2008 02:59 PM
New Version 6.01 IansResearch Questions (Windows Mobile) 2 12-28-2007 11:12 AM
Retrieve version timsteeman Questions (Windows Mobile) 8 11-16-2007 06:43 PM
Version 5.00 has been sent Erel Announcements 3 06-28-2007 07:23 AM
Version 5.00 is soon to come Erel Announcements 13 05-16-2007 12:13 PM


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


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