![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Bug Reports Post about errors or bugs encountered. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
i can't compile "optimized" programs that uses the outlook lib! for example, it failed to compile this from the helpfiles: ----------------------------------------------------- 'PimCol is a PimCollection object and Appointment is an Appointment object. Sub Globals End Sub Sub App_Start Form1.Show Appointment.New1 PimCol.New1("Appointments") PimCol.SortItems("Start",false) i = 0 Do Appointment.Value = PimCol.GetItem(i) i = i + 1 Loop While i < PimCol.Count AND Appointment.Start < Now 'Finds the next appointment. If i<=PimCol.Count Then Msgbox("Next appointment will be on: " & Time(Appointment.Start)) End If End Sub ------------------------------------ produces: Error compiling program Error message: error CS0012: The type 'microsoft.WindowsMobile.PocketOutlook.Appointment ' is defined in an assembly that is not referenced. You must add an refence to assembly ..... ... Line number: 16 Line: Appointment.Value = PimCol.GetItem(i) "Normal" compiliation for smartphones and PocketPC works! Only "optimized" compilation fails! Output from the "About" Menu: Version: 6.01 .NET Version 2.0.50727.42 I have de/reinstalled: Basic4ppc .net1.1 .net2.0 .net2.0SP2 any idea? Gerd |
![]() |
| 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 after compiling | J12345T | Questions & Help Needed | 6 | 10-23-2008 12:59 AM |
| ERROR on compiling | superbabicka | Questions & Help Needed | 9 | 08-17-2008 07:56 AM |
| Compiling Windows EXE error | mozaharul | Questions & Help Needed | 7 | 07-17-2008 08:44 AM |
| Error compiling 6.01 | magi6162 | Questions & Help Needed | 4 | 01-14-2008 04:13 PM |
| Error when compiling | borderless | Questions & Help Needed | 2 | 11-14-2007 06:36 PM |