473,498 Members | 1,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Inheritance problem

Hello everyone!!

I'm new here and I have a problem, please help! I'm beginer in C#
programing so I am sorry if problem is not complicated.

I got the message of "object reference not set to an instance of an
object" when I click on the View Designer. The form is inherited. Can
someone please help?

Regards, Jure

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 16 '05 #1
4 1404
Do have a code example?

"tavbij" wrote:
Hello everyone!!

I'm new here and I have a problem, please help! I'm beginer in C#
programing so I am sorry if problem is not complicated.

I got the message of "object reference not set to an instance of an
object" when I click on the View Designer. The form is inherited. Can
someone please help?

Regards, Jure

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*

Nov 16 '05 #2

tavbij wrote:
Hello everyone!!

I'm new here and I have a problem, please help! I'm beginer in C#
programing so I am sorry if problem is not complicated.

I got the message of "object reference not set to an instance of an
object" when I click on the View Designer. The form is inherited. Can
someone please help?

Regards, Jure

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*


Nov 16 '05 #3
Did you ever discover what was causing this problem. I'm having the
same difficulty and I'm not sure how to resolve it.

- lars

tavbij wrote:
Hello everyone!!

I'm new here and I have a problem, please help! I'm beginer in C#
programing so I am sorry if problem is not complicated.

I got the message of "object reference not set to an instance of an
object" when I click on the View Designer. The form is inherited. Can
someone please help?

Regards, Jure

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*


Nov 16 '05 #4
Look at InitializeComponent/and/or/Constructor of your base form. Some code
over there uses an object that when called thru the IDE (to make it look
like the base form), throws this error.

Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik


"_Lars_" <la*******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Did you ever discover what was causing this problem. I'm having the
same difficulty and I'm not sure how to resolve it.

- lars

tavbij wrote:
Hello everyone!!

I'm new here and I have a problem, please help! I'm beginer in C#
programing so I am sorry if problem is not complicated.

I got the message of "object reference not set to an instance of an
object" when I click on the View Designer. The form is inherited. Can
someone please help?

Regards, Jure

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4358
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
3
2451
by: Morten Aune Lyrstad | last post by:
Hi again! I'm having problems with inheritance. I have a base interface class called IObject. Next I have two other interfaces classes, IControl and ICommandMaster, which derives from IObject. ...
14
12872
by: Steve Jorgensen | last post by:
Recently, I tried and did a poor job explaining an idea I've had for handling a particular case of implementation inheritance that would be easy and obvious in a fully OOP language, but is not at...
22
23312
by: Matthew Louden | last post by:
I want to know why C# doesnt support multiple inheritance? But why we can inherit multiple interfaces instead? I know this is the rule, but I dont understand why. Can anyone give me some concrete...
8
2189
by: Gaetan | last post by:
hi i have 2 classes A1 and A2 implementing a problem with 2 different ways i also have 2 other classes X1 and X2 implementing an other problem i need classes that provide A1+X1 methods,...
6
2077
by: VR | last post by:
Hi, I read about Master Pages in ASP.Net 2.0 and after implementing some WinForms Visual Inheritance I tryed it with WebForms (let's say .aspx pages, my MasterPage does not have a form tag itself...
60
4862
by: Shawnk | last post by:
Some Sr. colleges and I have had an on going discussion relative to when and if C# will ever support 'true' multiple inheritance. Relevant to this, I wanted to query the C# community (the...
5
2723
by: colint | last post by:
Hi I'm fairly new to c++ and I have a question regarding inheritance. I'm trying to create a class based on 2 inherited classes, e.g. class A { ... } class B: public A
5
3500
by: a | last post by:
Hi, I have an oop inheritance graph problem. What is the difference betweent the following 2 inheritance graph? How does the C++ solve the naming conflict problem for multiple inheritance...
3
2877
by: Leo Seccia | last post by:
Hello everyone, I have a c# project with a sql server database. I have a number of lookup tables in my database which I successfully managed to import into my LINQ dataclasses. eg. Table:...
0
7124
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5460
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4904
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.