Ticket T846977
Visible to All Users

DateEdit - The "Cannot provide the value: host value not found" error occurs when accessing the DateTime value

created 5 years ago

in the event

PrivateSub VGridControl1_CellValueChanged(sender AsObject, e As CellValueChangedEventArgs) Handles VGridControl1.CellValueChanged

I get error "Cannot provide the value: host value not found " when I try to access e.value property
I have attached screenshot of designer

Comments (1)
DevExpress Support Team 5 years ago

    Hi Jerzy,

    We did not receive similar reports earlier. I searched for this exception on the web and found that this issue usually occurs in VB projects in Visual Studio 2019. Take a look at the following resources in this regard:

    DateTime.Now = Cannot provide the value: host value not found - MSDN
    Debug in Visual Basic - MSDN
    DateTime.Now = Cannot provide the value: host value not found - Stackoverlow

    So, I would recommend you try the workaround suggested in these threads and change your AssemblyInfo.vb file.

    If this still does not help, please describe the issue in greater detail. Also, provide us with a couple of images and a simple example to illustrate the problematic behavior and specify your version of Visual Studio.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.