473,397 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Interfaces screwup question

I have the following in one form:

Public Class ExeScript
Inherits System.Windows.Forms.UserControl
Implements ToadInterfaces.Interfaces.GotFocus,
ToadInterfaces.Interfaces.HasConfiguration, ToadInterfaces.Interfaces.UCForm

and the implementation is

Public ReadOnly Property SBToolBar() As TD.SandBar.ToolBar Implements
ToadInterfaces.Interfaces.UCForm.SBToolBar

Definition of the interface is:

Public Interface UCForm
Property DocumentManagerDocument() As DocumentManager.Document
WriteOnly Property Configuration() As Configuration
Function CleanUp() As Boolean
Function FormKeyStrokes(ByVal kpe As System.Windows.Forms.KeyEventArgs) As
Boolean
Property HasChanges() As Boolean
ReadOnly Property SBToolBar() As TD.SandBar.ToolBar
End Interface

I get an error:
C:\Documents and Settings\MyName\My Documents\Visual Studio
Projects\ToadUI\ExeScript.vb(14): 'ToadUI.ExeScript' must implement
'ReadOnly Property SBToolBar() As TD.SandBar.ToolBar' for interface
'ToadInterfaces.Interfaces.UCForm'. Implementing property must have matching
'ReadOnly'/'WriteOnly' specifiers.

I have the same implementation and definition is about 5 other UserControls
with no problem.

Any ideas??

Lloyd Sheen
Jul 21 '05 #1
0 1174

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

Similar topics

21
by: Franco Gustavo | last post by:
Hi, Please help me to understand this, because I don't see what I'm missing. I was reading a lot of examples on Internet that explain that C# doesn't implement multiple inheritance it...
1
by: baylor | last post by:
In C#, an interface cannot mark any method as static. i'm told the ILASM supports it but i've never tested that Two questions. First, why? OK, i've heard the reason about interfaces being...
0
by: Lloyd Sheen | last post by:
I have the following in one form: Public Class ExeScript Inherits System.Windows.Forms.UserControl Implements ToadInterfaces.Interfaces.GotFocus, ToadInterfaces.Interfaces.HasConfiguration,...
22
by: RSH | last post by:
Hi, I have been reading on interfaces working on samples I've run across on the web. For the life of me I cannot seem to grasp them. It appears to me that interfaces are simply blueprints to...
27
by: jm | last post by:
I am having trouble understanding the purposes of an interface, even though the concept of interfaces is around me all the time (user interface, for example). I'm just not understanding software...
5
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I am actually a VB.Net guy, but I have worked somewhat with C++ and C#. I just want to ask about the relationship between Abstract Classes and Interfaces. My first question is if...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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,...

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.