![]() |
|
|||||||
| 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 |
|
|||
|
Erel,
When I close a program a get a number of error messages, which I did not get with version 4: Sub Form1_Close If cPPC =true then Shell("\Programmabestanden\Screen_Orientation\Prtr 0.exe") End if Con.Close End Sub First, in dutch, that an unexpected arror has occured, and an option to show the following detailed messages The detailed messages are: Camping Photos.exe Argument exception bij System.PInvoke.EE.Runtime_InteropServices_GCHandle _InternalGet() bij System.WeakReference.Get_isAlive() bij System.Data.SQLite.SQLiteConnection.ClearReference s() bij System.Data.SQlite.SQLiteConnection.RemoveCommand( ) bij System.Data.SQlite.SQLiteCommand.set_Connection() bij System.Data.SQlite.SQLiteCommand.Dispose() bij System.Data.SQlite.SQLiteCommand.Finalize() The error occurs only when I have updated the data base. The update command is: cmd.CommandText="UPDATE WPOILABEL_V1 SET PHOTO1 = '" &Text1& "' , PHOTO2 = '" &Text2& "', PHOTO3 = '" &Text3& "', Comment = '" &Text4& "' WHERE ID= '" &ActCampID& "' " number=Cmd.ExecuteNonQuery The update is correctly done. Initially I did I/O on the data base without Begin/Endtransaction. But it proved that it makes no difference. What can be wrong? Harry |
|
|||
|
Erel,
Removing con.close didn't help. Some further information: The problem occurs on the PDA device only; on the desktop the program runs well. When I close the program there appears to be a number of messages, the number being equal to 2 * the number of updates done. Apparently, these messages are generated in the background when the program is running. Any idea? Harry |
![]() |
| 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 |
| Error with new version | micro | Questions & Help Needed | 5 | 10-16-2008 08:13 PM |
| Version 6.01 compiling error | Gerd | Bug Reports | 2 | 01-04-2008 09:56 AM |
| Index was out of range error in version 5 | HARRY | Questions & Help Needed | 6 | 05-20-2007 09:16 AM |
| error SQlite | manu | Spanish Forum | 1 | 05-20-2007 02:08 AM |
| Undeclared array error with version 5 | mwaite | Questions & Help Needed | 6 | 05-19-2007 11:39 AM |