SQL 2005 Mobile loading 2003 Cabs-Collection of common programming errors

I am moving a VS 2003 Pocket PC app to VS 2005 and when I deploy the app from Visuyal Studio 2005 two sqlce cabs are deployed (in addition to the sqlce30 ones) namely

sqlce20.dev.ppc.wce4.armv4.CAB

and

sqlce20.ppc.wce4.armv4.CAB.

Now as I have documented in another thread (SQL 2005 Mobile : The file is not a valid database file) this gives me problems when I want to access the database being produced by replication. So I’m trying to eliminate the need for these cab files.

My pocket PC application uses two of my DLLs the first of which is my Business Objects. When I deploy this to my PDA I get the following build output

—— Build started: Project: BO, Configuration: Release Any CPU ——
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Vbc.exe /noconfig

/imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,Sys

tem.Diagnostics /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /nostdlib

/rootnamespace:MVnet.VS2005CF.MobileSeller.BO /sdkpath:”C:\Program Files\Microsoft Visual Studio

8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE” /netcf /doc:obj\Release\BO.xml

/define:”CONFIG=\”Release\”,TRACE=-1,_MyType=\”Windows\”,PLATFORM=\”AnyCPU\”,PocketPC=TRUE”

/reference:”..\..\..\..\..\..\..\..\Program Files\In The Hand Ltd\ADOCE In The Hand

v1.7\Runtime\InTheHand.Data.Adoce.dll”,”..\..\..\..\..\..\..\..\Program Files\In The Hand Ltd\ADOCE

In The Hand

v1.7\Runtime\InTheHand.Interop.dll”,..\..\..\..\..\..\..\VS2005CF\References\release\MVnetApplicati

on.dll,”C:\Program Files\Microsoft Visual Studio

8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Data.dll”,”C:\Program Files\Microsoft

Visual Studio 8\SmartDevices\SDK\\SQL Server\Mobile\v3.0\System.Data.SqlServerCe.dll”,”C:\Program

Files\Microsoft Visual Studio

8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.dll”,”C:\Program Files\Microsoft

Visual Studio

8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Drawing.dll”,”C:\Program

Files\Microsoft Visual Studio

8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Web.Services.dll”,”C:\Program

Files\Microsoft Visual Studio

8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Windows.Forms.dll”,”C:\Program

Files\Microsoft Visual Studio

8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Xml.dll” /debug:pdbonly

/filealign:512 /optimize+ /out:obj\Release\BO.dll

/resource:obj\Release\MVnet.VS2005CF.MobileSeller.BO.BO.frmError.resources

/resource:obj\Release\MVnet.VS2005CF.MobileSeller.BO.Resources.resources /target:library

AmtechSynchroniser.vb Amtech\AP_Board.vb Amtech\AP_Circuit.vb Amtech\AP_Completion.vb

Amtech\AP_Domestic.vb Amtech\AP_DomesticPeriodic.vb Amtech\AP_DomesticSupplyCable.vb

Amtech\AP_EmergencyLightingInspection.vb Amtech\AP_FireDetectionCommissioning.vb

Amtech\AP_FireDetectionInstallation.vb Amtech\AP_FireDetectionServicing.vb

Amtech\AP_FireDetectionSystemRevised.vb Amtech\AP_FireDetectionVerification.vb Amtech\AP_Job.vb

Amtech\AP_MinorWorksNIC.vb Amtech\AP_Periodic.vb Amtech\AP_PeriodicBoardTest.vb

Amtech\AP_PeriodicCircuitTest.vb Amtech\AP_PeriodicRecommendations.vb Amtech\AP_ProtectiveDevice.vb

Amtech\AP_StandardRecommendations.vb Amtech\AP_VersionInfo.vb Amtech\ICDBEntity.vb basMain.vb

basSQL.vb cAddress.vb cAnswer.vb cBlockAllocation.vb cBO.vb cCompany.vb cCustomer.vb cCustomerF.vb

cInvoice.vb cInvoiceLine.vb cJob.vb cNote.vb cOrder.vb cOrderF.vb cOrderLine.vb cPaymentLine.vb

cPaymentLineF.vb cPDA_Update.vb cProduct.vb cProductF.vb cProductStock.vb cProductStockF.vb

cQuestion.vb cQuestionAnswer.vb cReceipt.vb cRep.vb cRepF.vb cRepProductPrice.vb

cRepProductPriceF.vb cRepProductStock.vb cRepStockAdjustment.vb cRepStockOrder.vb

cRepStockOrderF.vb cSalesPosition.vb cSalesPositionF.vb cSupplier.vb cType.vb cTypeF.vb cVatCode.vb

cVisit.vb cVisitF.vb Database.vb EntityHelper.vb FleetMinder\cMakeModel.vb FleetMinder\cVehicle.vb

frmError.vb Gradus\GradusReport.vb IEntityForm.vb IManagedForm.vb ISQLInEntity.vb “My

Project\AssemblyInfo.vb” “My Project\Resources.Designer.vb” PageSelection.vb PDAProduct.vb

Property.vb RDAControl.vb Synchroniser.vb “Web References\FeedBackWS\Reference.vb” “Web

References\WSPDADB\Reference.vb”
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(152) :

warning BC42104: Variable ‘TableConfig’ is used before it has been assigned a value. A null

reference exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(166) :

warning BC42104: Variable ‘ATTable’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(292) :

warning BC42104: Variable ‘Table’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(350) :

warning BC42104: Variable ‘Table’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(400) :

warning BC42104: Variable ‘Table’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(458) :

warning BC42104: Variable ‘rstab’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(557) :

warning BC42104: Variable ‘rsTab’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(611) :

warning BC42104: Variable ‘Table’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(812) :

warning BC42104: Variable ‘CDBSelectSQL’ is used before it has been assigned a value. A null

reference exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(856) :

warning BC42025: Access of shared member, constant member, enum member or nested type through an

instance; qualifying expression will not be evaluated.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(952) :

warning BC42104: Variable ‘Prop’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(1000) :

warning BC42025: Access of shared member, constant member, enum member or nested type through an

instance; qualifying expression will not be evaluated.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(1004) :

warning BC42025: Access of shared member, constant member, enum member or nested type through an

instance; qualifying expression will not be evaluated.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(1009) :

warning BC42104: Variable ‘nCol’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(1020) :

warning BC42104: Variable ‘CDBSelectSQL’ is used before it has been assigned a value. A null

reference exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\AmtechSynchroniser.vb(1078) :

warning BC42104: Variable ‘oProp’ is used before it has been assigned a value. A null reference

exception could result at runtime.vbc : warning BC42206: Maximum number of warnings has been exceeded.

C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_Board.vb(231) : warning

BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_Circuit.vb(239) :

warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_Completion.vb(812) :

warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_Domestic.vb(543) :

warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_DomesticPeriodic.vb(606

) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_DomesticSupplyCable.vb(

284) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_EmergencyLightingInspec

tion.vb(362) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths.

A null reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_FireDetectionCommission

ing.vb(270) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths.

A null reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_FireDetectionInstallati

on.vb(268) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A

null reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_FireDetectionServicing.

vb(609) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A

null reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_FireDetectionSystemRevi

sed.vb(293) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths.

A null reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_FireDetectionVerificati

on.vb(277) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A

null reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_Job.vb(340) : warning

BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_MinorWorksNIC.vb(314) :

warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_Periodic.vb(619) :

warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_PeriodicBoardTest.vb(22

7) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_PeriodicCircuitTest.vb(

239) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_PeriodicRecommendations

.vb(181) : warning BC42107: Property ‘CDBKeyProperty’ doesn’t return a value on all code paths. A

null reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(113) : warning

BC42105: Function ‘Version’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(176) : warning

BC42105: Function ‘RepLogOn’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(443) : warning

BC42105: Function ‘ExecuteSQL_ReturnIdentity’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(513) : warning

BC42105: Function ‘InitialiseServiceOrderLines1’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(585) : warning

BC42105: Function ‘GetVisit1’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(656) : warning

BC42105: Function ‘GetCustomer1’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(728) : warning

BC42105: Function ‘GetProduct1’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(798) : warning

BC42105: Function ‘GetDataSet’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(868) : warning

BC42105: Function ‘GetScalar’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(1012) : warning

BC42025: Access of shared member, constant member, enum member or nested type through an instance;

qualifying expression will not be evaluated.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(1134) : warning

BC42104: Variable ‘oCMD’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(1176) : warning

BC42104: Variable ‘oCMD’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Database.vb(1217) : warning

BC42104: Variable ‘oCMD’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(238) : warning

BC42105: Function ‘SelectSQL’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(342) : warning

BC42105: Function ‘InsertSQL’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(404) : warning

BC42105: Function ‘UpdateSQL’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(460) : warning

BC42104: Variable ‘Prop’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(522) : warning

BC42104: Variable ‘Prop’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(634) : warning

BC42104: Variable ‘oReader’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(847) : warning

BC42104: Variable ‘oReader’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(959) : warning

BC42104: Variable ‘oReader’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\EntityHelper.vb(1083) : warning

BC42104: Variable ‘oReader’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\FleetMinder\cMakeModel.vb(116) :

warning BC42104: Variable ‘CurrentMake’ is used before it has been assigned a value. A null

reference exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\FleetMinder\cMakeModel.vb(116) :

warning BC42104: Variable ‘NewMake’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\FleetMinder\cVehicle.vb(132) :

warning BC42104: Variable ‘V’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Gradus\GradusReport.vb(39) :

warning BC42105: Function ‘DisplayName’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Gradus\GradusReport.vb(64) :

warning BC42105: Function ‘CurrentSection’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(341) : warning

BC42105: Function ‘ProductTypeInList’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(419) : warning

BC42104: Variable ‘WhereSQL’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(550) : warning

BC42104: Variable ‘SelectSQL’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(550) : warning

BC42104: Variable ‘StockSQL’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(550) : warning

BC42104: Variable ‘CategoryValue2’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(550) : warning

BC42104: Variable ‘ProductSupplierJoinSQL’ is used before it has been assigned a value. A null

reference exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(748) : warning

BC42107: Property ‘SelectSQL’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(791) : warning

BC42107: Property ‘CountSQL’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PDAProduct.vb(850) : warning

BC42107: Property ‘Products’ doesn’t return a value on all code paths. A null reference exception

could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\PageSelection.vb(8) : warning

BC40055: Casing of namespace name ‘bo’ does not match casing of namespace name ‘BO’ in file

‘C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Amtech\AP_Board.vb’.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\Synchroniser.vb(213) : warning

BC42104: Variable ‘ErrorInfo’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cBO.vb(217) : warning BC42107:

Property ‘AmtechDBPath’ doesn’t return a value on all code paths. A null reference exception could

occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cBO.vb(582) : warning BC42104:

Variable ‘TableName’ is used before it has been assigned a value. A null reference exception could

result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cCompany.vb(848) : warning

BC42024: Unused local variable: ‘Setting’.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cCustomer.vb(924) : warning

BC42104: Variable ‘SaveCurrentVisit’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cCustomer.vb(974) : warning

BC42105: Function ‘GenerateInvoices’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cCustomerF.vb(419) : warning

BC42104: Variable ‘WhereSQL’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cJob.vb(411) : warning BC42105:

Function ‘InvoicedVisitWithNoPO’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cJob.vb(449) : warning BC42104:

Variable ‘V’ is used before it has been assigned a value. A null reference exception could result

at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cOrderF.vb(7) : warning BC40056:

Namespace or type specified in the Imports ‘MVnet.CodeCabinet.VS2005CF.PhoneAPI’ doesn’t contain

any public member or cannot be found. Make sure the namespace or the type is defined and contains

at least one public member. Make sure the imported element name doesn’t use any aliases.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cOrderF.vb(9) : warning BC40056:

Namespace or type specified in the Imports ‘MVnet.VS2005CF.MobileSeller.WebServices’ doesn’t

contain any public member or cannot be found. Make sure the namespace or the type is defined and

contains at least one public member. Make sure the imported element name doesn’t use any aliases.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cQuestion.vb(202) : warning

BC42105: Function ‘RootQuestions’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cQuestion.vb(212) : warning

BC42105: Function ‘Questions_ForCompany’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cQuestionAnswer.vb(238) : warning

BC42105: Function ‘AnswersForQuestion’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cQuestionAnswer.vb(244) : warning

BC42024: Unused local variable: ‘sSQL’.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cQuestionAnswer.vb(254) : warning

BC42105: Function ‘AnswersForQuestion_IncludeUserAnswers’ doesn’t return a value on all code paths.

A null reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cRepF.vb(354) : warning BC42104:

Variable ‘oRep’ is used before it has been assigned a value. A null reference exception could

result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(905) : warning BC42105:

Function ‘PopulateComboFromRepProductCategories’ doesn’t return a value on all code paths. A null

reference exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(917) : warning BC42025:

Access of shared member, constant member, enum member or nested type through an instance;

qualifying expression will not be evaluated.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(967) : warning BC42024:

Unused local variable: ‘sValue’.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(1228) : warning

BC42104: Variable ‘nCol’ is used before it has been assigned a value. A null reference exception

could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(1300) : warning

BC42104: Variable ‘PaymentsSplit’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(1318) : warning

BC42104: Variable ‘NoSignaturesSplit’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(1336) : warning

BC42104: Variable ‘CancellationsSplit’ is used before it has been assigned a value. A null

reference exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(1356) : warning

BC42104: Variable ‘NotesColonSplit’ is used before it has been assigned a value. A null reference

exception could result at runtime.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cTypeF.vb(1413) : warning

BC42105: Function ‘VisitResultCodes’ doesn’t return a value on all code paths. A null reference

exception could occur at run time when the result is used.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cVisit.vb(12) : warning BC40056:

Namespace or type specified in the Imports ‘MVnet.CodeCabinet.VS2005CF.MVnetApplicationVB’ doesn’t

contain any public member or cannot be found. Make sure the namespace or the type is defined and

contains at least one public member. Make sure the imported element name doesn’t use any aliases.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cVisitF.vb(8) : warning BC40056:

Namespace or type specified in the Imports ‘MVnet.CodeCabinet.VS2005CF.PhoneAPI’ doesn’t contain

any public member or cannot be found. Make sure the namespace or the type is defined and contains

at least one public member. Make sure the imported element name doesn’t use any aliases.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cVisitF.vb(9) : warning BC40056:

Namespace or type specified in the Imports ‘MVnet.CodeCabinet.VS2005CF.MVnetApplicationVB’ doesn’t

contain any public member or cannot be found. Make sure the namespace or the type is defined and

contains at least one public member. Make sure the imported element name doesn’t use any aliases.
C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\cVisitF.vb(10) : warning BC40056:

Namespace or type specified in the Imports ‘MVnet.VS2005CF.mobileseller.WebServices’ doesn’t

contain any public member or cannot be found. Make sure the namespace or the type is defined and

contains at least one public member. Make sure the imported element name doesn’t use any aliases.BO -> C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Release\BO.dll—— Deploy started: Project: BO, Configuration: Release Any CPU ——

Deploying ‘C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL

Server\Mobile\v2.0\System.Data.Common.dll’
Deploying ‘C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL

Server\Mobile\v2.0\wce400\ARMV4\sqlce20.ppc.wce4.armv4.CAB’
Deploying ‘C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL

Server\Mobile\v2.0\wce400\ARMV4\sqlce20.dev.ppc.wce4.armv4.cab’Deploying ‘C:\Dev\VS2005CF\References\release\MVnetApplication.dll’Deploying ‘C:\Program Files\In The Hand Ltd\ADOCE In The Hand v1.7\Runtime\InTheHand.Interop.dll’

Deploying ‘C:\Program Files\In The Hand Ltd\ADOCE In The Hand

v1.7\Runtime\InTheHand.Data.Adoce.dll’Deploying ‘C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Release\BO.dll’========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==================== Deploy: 1 succeeded, 0 failed, 0 skipped ==========

which as you can see is bringing in the two cabs.

Is there an easy way to determine what exactly requires these two cabs?

 I strongly suspect that it’s a third party stuff from ADOCE which I’m using to access access databases on the PDA.