Loosing Custom Datagrid Cell - Annoying

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Miro

    Loosing Custom Datagrid Cell - Annoying

    I am having an annoying vs2008 pro ( vb ) issue.

    I have a custom class for a date cell for the datagridview column.

    I use the column in the datagrid on a cell.
    And every once in a while - the form cannot be displayed because it thinks
    the 'DataGridViewDa teColumn' doesnt exist.

    "Count not find type ' .. and its like the datagridviewdat acolumn.vb i have
    in my project is not compiled.

    It works it works and suddenly i try to pull up the form and it thinks it
    doesnt exist as part of my project.

    Any ideas?

    My solution is to go through the code and DELETE out the datagridviewcol umn,
    compile, and then go and re-add it.

    I have a DataGridViewMas kedEditColumn.v b and i dont run into issues with
    that .vb ( yet )

  • Miro

    #2
    Re: Losing Custom Datagrid Cell - Annoying

    Type - losing :)

    I am starting to think that once my .vb class is compiled i might be able to
    set the Build Action to something else.
    Perhaps its becoming 'uncompiled' or somehow unlinked from the one form?

    Miro


    "Miro" <miro@beero.com wrote in message
    news:OVTwEa0RJH A.4240@TK2MSFTN GP03.phx.gbl...
    >I am having an annoying vs2008 pro ( vb ) issue.
    >
    I have a custom class for a date cell for the datagridview column.
    >
    I use the column in the datagrid on a cell.
    And every once in a while - the form cannot be displayed because it thinks
    the 'DataGridViewDa teColumn' doesnt exist.
    >
    "Count not find type ' .. and its like the datagridviewdat acolumn.vb i
    have in my project is not compiled.
    >
    It works it works and suddenly i try to pull up the form and it thinks it
    doesnt exist as part of my project.
    >
    Any ideas?
    >
    My solution is to go through the code and DELETE out the
    datagridviewcol umn, compile, and then go and re-add it.
    >
    I have a DataGridViewMas kedEditColumn.v b and i dont run into issues with
    that .vb ( yet )

    Comment

    Working...