473,508 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please Help. Form inherits problem

Mat
class Form1
inherits form
private sub initializecomponent
en sub

sub new()
mybase.new
initilializeComponent
end sub
end class
class form 2
inherits form1
private sub initializecomponent
en sub

sub new()
mybase.new
initilializeComponent
end sub
end class

Form2 failed to call its initializecomponent sub. its trying to call
form1.initializecomponent...
How to force it?
Nov 20 '05 #1
3 992
"Mat" <re**********@fuckSpam.COM> schrieb
class Form1
inherits form
private sub initializecomponent
en sub

sub new()
mybase.new
initilializeComponent
end sub
end class
class form 2
inherits form1
private sub initializecomponent
en sub

sub new()
mybase.new
initilializeComponent ^^^^^some letters too much

Call
initializecomponent
instead.

end sub
end class

Form2 failed to call its initializecomponent sub. its trying to
call form1.initializecomponent...
How to force it?

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
* "Mat" <re**********@fuckSpam.COM> scripsit:
class Form1
inherits form
private sub initializecomponent
en sub

sub new()
mybase.new
initilializeComponent
end sub
end class
class form 2
inherits form1
private sub initializecomponent
en sub

sub new()
mybase.new
initilializeComponent ^^^^^^^^^^^^^^^^^^^^^

What's that?
end sub
end class

Form2 failed to call its initializecomponent sub. its trying to call
form1.initializecomponent...
How to force it?


<http://msdn.microsoft.com/library/en-us/vblr7/html/vakeymyclass.asp>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Mat
OOOHHHH my God.!!!
forget about orthographe errors.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bp*************@ID-208219.news.uni-berlin.de...
* "Mat" <re**********@fuckSpam.COM> scripsit:
class Form1
inherits form
private sub initializecomponent
en sub

sub new()
mybase.new
initilializeComponent
end sub
end class
class form 2
inherits form1
private sub initializecomponent
en sub

sub new()
mybase.new
initilializeComponent

^^^^^^^^^^^^^^^^^^^^^

What's that?
end sub
end class

Form2 failed to call its initializecomponent sub. its trying to call
form1.initializecomponent...
How to force it?


<http://msdn.microsoft.com/library/en-us/vblr7/html/vakeymyclass.asp>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #4

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

Similar topics

3
4837
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
3
1236
by: Bilal | last post by:
hi all I am facing a little problem. I have a form with a dropdownlist control. I have a button and when i click the form posts back The problem is that in the on button click event i'm calling...
2
2894
by: Chad | last post by:
I have a problem that I am desperate to understand. It involves dynamically adding controls to a Table control that is built as a result of performing a database query. I am not looking to...
7
15425
by: Juan Romero | last post by:
Hey guys, please HELP I am going nuts with the datagrid control. I cannot get the damn control to refresh. I am using soap to get information from a web service. I have an XML writer output...
22
2330
by: Colin McGuire | last post by:
I apologize for posting yet another scrollbar question. Here is my code. All I want is for a diagonal line to appear from coordinates (0,0) to (width,height) in a usercontrol regardless of whether...
0
1206
by: Mike | last post by:
Hi All, I am using a COM object and so I have to use a form for it to work. The problem is I need to run it as a service as well. When I run it in a test scenario everything works fine and...
7
1046
by: Gladys | last post by:
Dear newsgroup - do not reply to this e-mail address. I have just created it to avoid getting spam to my real address. Reply to the newsgroup. I am watching them all now so please reply now. ...
10
1552
by: Miro | last post by:
I wanted certain text boxes ( only certain ones ) to always be Trim'd so that spaces are not in the begining, nor the end of the text entered. I created my own "Handle ?" - i hope thats the...
3
1591
by: Robert Dufour | last post by:
I am trying to localize a very simple web site (english and french) I have a master page and one content page for now. On the master page I have placed a Localize control On the content page I...
0
7229
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
7129
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7333
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
7398
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
7502
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
4716
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
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1566
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
428
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.