Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

My .ncb file keeps getting corrupted

54 views
Skip to first unread message

Stephen Villanueva

unread,
Nov 22, 2002, 5:53:53 PM11/22/02
to
I kept losing my main dialog class and that is why I was getting my earlier
errors. I could edit it under resources, but I couldn't ever add any new
events to it.

Looking at Knowledge Base Article 294704 - found a basic description of the
problem, but my registry entries seem to be correct, even including the one
the suggested to add. I have deleted the .ncb for the project and restart
VS. The Class comes back and it seems to start working correctly again.

I tried to look for articles about .ncb corruption, but the above article is
the only one that mentions it.

Is anyone else having or have solved this problem? I am really trying to
make this work...

Steve


Visual C++ Team

unread,
Nov 25, 2002, 3:00:36 PM11/25/02
to
Are you using version 6.0? This is a known problem in 6.0 that we think is
fixed in VC++ .NET. If you have a repro case in VC++ .NET we'd love to see
it.

--
Nick Hodapp / Mike Forkey
Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights.


"Stephen Villanueva" <svi...@comcast.net> wrote in message
news:e5ycneMsII4...@comcast.com...

Stephen Villanueva

unread,
Dec 1, 2002, 2:50:02 PM12/1/02
to
Sorry for not getting back sooner, I was on vacation.

This is part of the 60 day trail version, of Visual Studio.NET, I received
on CD. What sort of information do you need.

Here is an general explanation of what is happening and it has happened in
every project I have started, unless I took extraordinary steps to avoid the
problem.

I can place controls on my form without any issues. I can even add event
handlers, letting the IDE bring up the appropriate code locations to add the
event handler code. If I start manually switching between the source view
and the resource view then the problem occurs. I usually do not go into the
class view until this issue has occurred, and then only to verify that the
class has disappeared.

I can't tie it down to a specific thing I am doing, The class just
disappears and I can no longer add anything new to the class. Again, it
seems to happen when switching between Resource and Source views (tabs). I
am just learning VC++ and following examples, so I am not sure where to go
and what to do. I just lucked upon the deletion of the class definition
database as I widen my search in the knowledge base.

If I am very careful and just use the Event handler wizard to add handlers I
can usually get through a tutorial example without any problems. Many times
though, fat finger typing causes problems where I have to go back and
correct a spelling or other simple syntax error. This is when the problem
occurs.

This is very frustrating for someone trying to learn VC++.

Thanks
Steve

"Visual C++ Team" <vc...@microsoft.com> wrote in message
news:ex37Q1LlCHA.2856@tkmsftngp09...

Dave Waggoner [MSFT]

unread,
Jan 17, 2003, 1:32:25 PM1/17/03
to
> From: "Stephen Villanueva" <svi...@comcast.net>

>
> If I am very careful and just use the Event handler wizard to add
handlers I
> can usually get through a tutorial example without any problems. Many
times
> though, fat finger typing causes problems where I have to go back and
> correct a spelling or other simple syntax error. This is when the problem
> occurs.

Which tutorial are you using?

--
Dave Waggoner, Visual C++ Team

0 new messages