473,789 Members | 2,931 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Beginner problem in Inheriting Form

Dear all,

I have a problem in using inherited form. There are
some simple logic I want to share between all the window
forms. I simply create a normal window form in an
application "A" then I apply some simple logic such as get
the system date and time and then display them on a text
label. Then I have defined some standard procedure (Sub)
in the form.

Then I build the application / solution.

Afterward, I have created another application "B" that
act as a production application. I add a new component of
inherited form and VS.NET ask me to get the dll file of
the form being inherited. However, I found that there are
no dll file in the directory of application "A".

What's the problem? Is that Inherit form is not gonna
to support this features? Or my design concept has
problem?

Thanks for your attention and help.

Rgs,
John
Jul 21 '05 #1
0 815

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

Similar topics

1
1301
by: Yasutaka Ito | last post by:
Hi, I have a base form (FormBase), which defines things like the value of the WindowState. Other forms inherit from this base form to reflect the layout given in the base form. Is there a way to prohibit the inheriting form to change the value of the WindowState property? Appreciate any input/approach.
2
1857
by: Simon | last post by:
Hi, Just to get started.... I've created a very simple web form, "Simple", using VS and I dropped a HTML img control on the design view. I referenced a picture and it is displayed in browser view. Very simple. I have created a second form and in the code-behind page I have altered the class definition to inherit from, "Simple".
3
1177
by: YYZ | last post by:
I'm new to VB.net, but not new to OO in general, and I'm very strong in VB6. However, I don't know what I did in VB.net to cause this to happen. I've got 2 projects open at the same time, in the same solution. One is a Class Library project that contains 1 form and 1 class. The other project is a normal Windows app, and contains 2 forms, both inherited from the form in the class library, by adding the line "Inherits...
2
983
by: YYZ | last post by:
I've got a form in a class library, form named frmPCGGen. I'm inheriting from this form (for some base functionality) in a different project. When I inherit from the form, I obviously give it a different name, frmTest for example. In the code frmPCGGen, is it possible to know the name of the derived form, ie, frmTest? Matt
3
4081
by: Roy Soltoff | last post by:
Two books, "Mastering Visual Basic.Net" and "Visual Basic.Net Developer's Handbook" describe inheriting from System.EventArgs using a class similar to: Public Class MyEventArgs Inherits System.EventArgs Public Shared MyField As String Public Sub New(Text As String) Me.MyField = Text End Sub
0
820
by: Abinas | last post by:
Dear all, I have a problem in using inherited form. There are some simple logic I want to share between all the window forms. I simply create a normal window form in an application "A" then I apply some simple logic such as get the system date and time and then display them on a text label. Then I have defined some standard procedure (Sub) in the form.
7
4967
by: Vish | last post by:
Hi, I have a base form from which i want all of my forms to inherit from. The base form has three buttons anchored to the bottom right of the base form. When i first inherit a new form from the base form everything seems to be fine. The 3 buttons from the base form show up on the bottom right of the inherited form. But as i started adding new controls and building it i found that the 3 buttons from the base form disappeared. When i...
0
739
by: kalaivani572 | last post by:
hi, can anyone please tell me whether inheriting a form in the following way is allowed or not? i have a VB solution with two project. consider Proj1 is the startup project with a MDI form, Form 1 and Form 2 Proj2 has Form3 and Form4.
0
9666
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10410
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9984
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4093
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 we have to send another system
2
3701
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.