![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
|
|||
|
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,...) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiled version 6.05 and SQL | BjornF | Questions & Help Needed | 2 | 02-13-2008 02:30 PM |
| Patch 1 for version 6.01 | Erel | Announcements | 0 | 12-30-2007 11:06 AM |
| New Version 6.01 | IansResearch | Questions & Help Needed | 2 | 12-28-2007 11:12 AM |
| 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 |