New version

Discussion in 'Questions (Windows Mobile)' started by yildi, Dec 27, 2007.

  1. yildi

    yildi Member Licensed User

    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 (

    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,


    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):
    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
    3)="Created Date"
    5)="Done date"
    11)="Action Date"
    12)="Delegated To"
    Dim selectedFields (nbCMBX) As Byte
       AddArrayList (
       fieldsFileName = 
    '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   
    'File used for reading and saving thoughts   
    '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 = 
       flb.MinimizeBox = 
       Table2.AddCol (cString, 
       Table2.AddCol (cString, 
    End Sub
    Last edited: Dec 27, 2007
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you send me your complete code?
  3. Louis

    Louis Active Member Licensed User

    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.
  4. Erel

    Erel Administrator Staff Member Licensed User

    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.
  5. yildi

    yildi Member Licensed User

    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.Version580andAbove = false

    Best regards,

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice