473,473 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

web form inherits from item that no longer exists?

How can this inherit from a webform that is no longer in the project? There
USED to be a form called "default2", but it exists no longer. Why is my
current page "default.aspx" still inheriting from "default2" (which should
be "default")?

If I change it to "default" I get an error "Could not load type
'codelib.default'."

The project works, but it would be nice to clean this up.

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="codelib.default2"%>
thanks
Nov 18 '05 #1
2 1131
I'm guessing that default.aspx.vb defines codelib.default2. If you want
to clean this up, change the Inherits="codelib.default2" line, in
addition to renaming the class in default.aspx.vb.

--
Matt Berther
http://www.mattberther.com

Googler wrote:
How can this inherit from a webform that is no longer in the project? There
USED to be a form called "default2", but it exists no longer. Why is my
current page "default.aspx" still inheriting from "default2" (which should
be "default")?

If I change it to "default" I get an error "Could not load type
'codelib.default'."

The project works, but it would be nice to clean this up.

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="codelib.default2"%>
thanks

Nov 18 '05 #2
thanks.

"Matt Berther" <mb******@hotmail.com> wrote in message
news:#p**************@TK2MSFTNGP10.phx.gbl...
I'm guessing that default.aspx.vb defines codelib.default2. If you want
to clean this up, change the Inherits="codelib.default2" line, in
addition to renaming the class in default.aspx.vb.

--
Matt Berther
http://www.mattberther.com

Googler wrote:
How can this inherit from a webform that is no longer in the project? There USED to be a form called "default2", but it exists no longer. Why is my
current page "default.aspx" still inheriting from "default2" (which should be "default")?

If I change it to "default" I get an error "Could not load type
'codelib.default'."

The project works, but it would be nice to clean this up.

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb" Inherits="codelib.default2"%>
thanks

Nov 18 '05 #3

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

Similar topics

10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
1
by: kyma via .NET 247 | last post by:
Hi, I haveto use VB to create a form that reads an exisiting XML fileand then allows updates via the VB form. My problem is that I was able to get VB to read a simple XML file(people.XML), but...
4
by: Jim Heavey | last post by:
Hello, I have created a form which I intend to use a a dialog box. It has a few controls on that form and I changed the properties of those controls to "public" with the idea that I could access...
1
by: Kathy Burke | last post by:
Hello. In asp.net, when I rename a web form, it changes only the @page name and the class name (as expected). It does not, of course, change the Inherited reference in the @page. When I change it...
7
by: Terry | last post by:
I have a Mainform with a Statusbar. When opening another form or doing some processing I want to display info in the Statusbar of the Mainform. I have read a lot of articles on this & have come up...
9
by: RichG | last post by:
In VB 5 I could have a form named frmTest and open it with frmTest.Show Now in VB.net I have to Dim frm as New frmTest frm.show The problem is I only want one instance of frmTest open, not a...
1
by: steven scaife | last post by:
Hi I have created a class that inherits from dictionarybase code below. Public Class FrmLabels Inherits Label Private m_Lbl As Label Public Property lbl() As Label Get Return m_Lbl End Get
2
by: Jim Madsen | last post by:
OK--Beginner question-- I have a project with one form -- Form1. To change the text, why can't I use "Form1.Text = something"? Instead I have to use "Form1.ActiveForm.Text = Something". As an...
0
by: colin | last post by:
Hi, I have an IDE style editor based on the WeifenLuo.WinFormsUI.Docking code, wich I must say seems realy good. Im trying to activate drop down menus and such from various special command...
0
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
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
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
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...
1
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...
0
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
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
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
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.