473,385 Members | 1,757 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,385 software developers and data experts.

Implements Microsoft.Office.Core.Range Interface (VB.Net)

I tried to implements Microsoft.Office.Core.Range Interface, but the
dot net raise errors :
+ ' '_Default' cannot implement '_Default' because there is no
matching property on interface 'Range'.'
+ ' 'Item' cannot implement 'Item' because there is no matching
property on interface 'Range'.'
+ ' 'Value' cannot implement 'Value' because there is no matching
property on interface 'Range'.'

see my declarations in the class below :

Public Class RangeClass
Implements Excel.Range
.................

all kind of properties and functions that were inserted automatic by
the dot net

.................

Public Overridable Property _Default(Optional ByVal RowIndex As
Object = Nothing, Optional ByVal ColumnIndex As Object = Nothing) As
Object Implements Excel.Range._Default
Get
End Get
Set(ByVal newValue As Object)
End Set
End Property

Public Property Item(ByVal RowIndex As Object, Optional ByVal
ColumnIndex As Object = Nothing) As Object Implements
Excel.Range.Item
Get
End Get
Set(ByVal newValue As Object)
End Set
End Property

Public Property Value(Optional ByVal RangeValueDataType As Object =
Nothing) As Object Implements Excel.Range.Value
Get
End Get
Set(ByVal newValue As Object)
End Set
End Property
End Class

What is the reason for that?

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 20 '05 #1
0 1298

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

Similar topics

0
by: Tomas Vera | last post by:
Hello All I have a project that references Interop.Microsoft.Office.Core But when I try to build, I get this error Exception from HRESULT: 0x80131019. (3 times) followed by The dependency...
0
by: AllenF | last post by:
I have a library (named DSG) created in C# which other programs use to build Excel spreadsheeets. This library uses the office PIAs "Microsoft.Office.Interop.Excel.dll" and also references the...
2
by: Simon | last post by:
Overnight, I've developed this error somehow, when I try to build/run my application: "Parser Error Message: Unable to load file 'Interop.Microsoft.Office.Core'." I'm pretty sure I haven't...
2
by: William LaMartin | last post by:
I have created a program that allows for the automation of things in Word documents, like changing the values of DocVariables and the links to Excel Sheets. I did it using interoperoperatability,...
1
by: Tory Collum | last post by:
My code works as a VB.NET executable file. So I'm trying to "adapt" it to a ..NET XML Web Service. As a VB.NET file, I used Microsoft.Office.Core as the reference, and everything was fine, but...
5
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. ...
1
by: Alan T | last post by:
VS 2005 and MS Office 2003 installed. I can include Microsoft.Office.Core and Word in the references so I can add the using Microsoft.Office.Interop.Word. However, my workmate cannot do the...
5
Lokean
by: Lokean | last post by:
At the top of my module I have Imports Microsoft.Office.Core Imports VBA Public Function rpu_process_files(Optional ByVal sFolderString As String = "", _ Optional ByVal sSearchString...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...

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.