Click here to Skip to main content
16,005,141 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Database Tutorials Pin
Rob Graham2-May-08 8:00
Rob Graham2-May-08 8:00 
GeneralRe: Database Tutorials Pin
Zaegra2-May-08 8:14
Zaegra2-May-08 8:14 
GeneralRe: Database Tutorials Pin
Christian Graus2-May-08 12:48
protectorChristian Graus2-May-08 12:48 
GeneralRe: Database Tutorials Pin
Mycroft Holmes2-May-08 16:27
professionalMycroft Holmes2-May-08 16:27 
GeneralRe: Database Tutorials Pin
Rob Graham3-May-08 4:30
Rob Graham3-May-08 4:30 
QuestionRe: Database Tutorials Pin
Luc Pattyn3-May-08 5:42
sitebuilderLuc Pattyn3-May-08 5:42 
QuestionAnyway around overloaded operators? Pin
cstrader2322-May-08 4:45
cstrader2322-May-08 4:45 
AnswerRe: Anyway around overloaded operators? Pin
Dave Kreskowiak2-May-08 4:55
mveDave Kreskowiak2-May-08 4:55 
cstrader232 wrote:
Is there anyway around this?


No.


cstrader232 wrote:
Why does the operator overloading require a new type?


Because you can't modify the behavior of the System.Array class. You can only modify the behavior of a class you create FROM the Array class, which, won't be usable in the manner you want because that will ALWAYS use the System.Array class.

You simply cannot do what you want without requiring the user to use your custom type.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Anyway around overloaded operators? Pin
cstrader2322-May-08 5:01
cstrader2322-May-08 5:01 
GeneralRe: Anyway around overloaded operators? Pin
Christian Graus2-May-08 12:50
protectorChristian Graus2-May-08 12:50 
GeneralRe: Anyway around overloaded operators? Pin
Dave Kreskowiak2-May-08 20:20
mveDave Kreskowiak2-May-08 20:20 
GeneralRe: Anyway around overloaded operators? Pin
Christian Graus2-May-08 20:40
protectorChristian Graus2-May-08 20:40 
GeneralRe: Anyway around overloaded operators? Pin
Guffa2-May-08 13:45
Guffa2-May-08 13:45 
QuestionVB custom browser button problem Pin
Shrimpersfan2-May-08 4:00
Shrimpersfan2-May-08 4:00 
AnswerRe: VB custom browser button problem Pin
Christian Graus2-May-08 12:51
protectorChristian Graus2-May-08 12:51 
QuestionGet HDD Serial Number Pin
~V~2-May-08 3:17
~V~2-May-08 3:17 
AnswerRe: Get HDD Serial Number Pin
leckey2-May-08 3:47
leckey2-May-08 3:47 
AnswerRe: Get HDD Serial Number Pin
Chinners2-May-08 4:04
Chinners2-May-08 4:04 
AnswerRe: Get HDD Serial Number Pin
Chinners2-May-08 4:07
Chinners2-May-08 4:07 
AnswerRe: Get HDD Serial Number Pin
~V~2-May-08 19:46
~V~2-May-08 19:46 
AnswerRe: Get HDD Serial Number Pin
Vimalsoft(Pty) Ltd5-May-08 1:24
professionalVimalsoft(Pty) Ltd5-May-08 1:24 
QuestionHow to copy data from 1 excel file into another excel file through VB? Pin
khedmanorkar2-May-08 0:53
khedmanorkar2-May-08 0:53 
AnswerRe: How to copy data from 1 excel file into another excel file through VB? Pin
Vimalsoft(Pty) Ltd5-May-08 1:27
professionalVimalsoft(Pty) Ltd5-May-08 1:27 
QuestionControlling character occurences Pin
Jamal Abdul Nasir1-May-08 23:58
Jamal Abdul Nasir1-May-08 23:58 
AnswerRe: Controlling character occurences Pin
Rajesh Anuhya2-May-08 0:30
professionalRajesh Anuhya2-May-08 0:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.