I have C/S Project where the Client is an old HP Pocket PC. When connecting the Client, if the Server is not running, for example, I attempt to catch the exception and output something meaningful:
Code:
            Try
                '
                ' Use a blocking connection request
                ' since nothing can happen until we're connected
                '
                Client.Connect(txtHost.Text, CInt(txtPort.Text))
                '
                ' Connected OK
                ' Set the UI appropriately
                ' and start an asynchronous read
                '
                btnSend.Enabled = True
                btnConnect.Enabled = False
                Call Receive(Client)
            Catch ex As Exception
                MessageBox.Show("Unable to Connect: " & ex.Message)
                Me.Close()
            End Try
Under such circumstances I receive: "Unable to Connect: An error message can not be displayed because an optional resource assembly containing it cannot be found"

I'm building the Project and CAB file and deploying to the device OK (I think). Does anyone have any ideas what I have to do to 'include' this optional resource assembly ?