Click here to Skip to main content
15,899,314 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: referential classes Pin
Guffa4-Mar-07 2:04
Guffa4-Mar-07 2:04 
AnswerRe: referential classes Pin
Christian Graus4-Mar-07 2:13
protectorChristian Graus4-Mar-07 2:13 
GeneralRe: referential classes Pin
amaneet4-Mar-07 2:33
amaneet4-Mar-07 2:33 
GeneralRe: referential classes Pin
Dave Kreskowiak4-Mar-07 3:09
mveDave Kreskowiak4-Mar-07 3:09 
GeneralRe: referential classes Pin
amaneet4-Mar-07 3:25
amaneet4-Mar-07 3:25 
GeneralRe: referential classes Pin
Dave Kreskowiak4-Mar-07 11:03
mveDave Kreskowiak4-Mar-07 11:03 
Questioninterface problem Pin
amaneet3-Mar-07 18:58
amaneet3-Mar-07 18:58 
AnswerRe: interface problem Pin
TwoFaced3-Mar-07 20:52
TwoFaced3-Mar-07 20:52 
amaneet wrote:
Interfaces compensates the multiple inheritance.


I don't think you have the right idea on what an interface is. It's not used to somehow allow multiple inheritance. I'll quote a book I have because it's better then what I can come up with.

"An interface defines only the signature of properties and methods, while a class can implement that interface by providing actual code for those properties and methods as necessary."
-Visual Basic 2005: The Language by Francesco Balena

All an interface is-is a definition of properties and methods to be included but does not supply the actual code. Each class must do that on it's own. So no, you can't write code in class1 and have the form class use it in the manner you have defined. Form1 class would have to write it's own code.

amaneet wrote:
Finally what i want is , there is a funtion defined in the class .
i want to call that function in another class
without the use of object of the class or keyword shared.

You want to access a function but don't want to create an intance. Sounds like you want a shared function. So why do you say you don't want the shared keyword? If that's what you want I think your only option is a shared function.
GeneralRe: interface problem Pin
amaneet4-Mar-07 2:44
amaneet4-Mar-07 2:44 
GeneralRe: interface problem Pin
Dave Kreskowiak4-Mar-07 3:04
mveDave Kreskowiak4-Mar-07 3:04 
Generalplease check it... [modified] Pin
manni_n3-Mar-07 8:35
manni_n3-Mar-07 8:35 
GeneralRe: please check it... Pin
Dave Kreskowiak3-Mar-07 10:34
mveDave Kreskowiak3-Mar-07 10:34 
AnswerRe: please check it... Pin
Ray Cassick3-Mar-07 8:24
Ray Cassick3-Mar-07 8:24 
QuestionWord or Excel , get opened file name Pin
Muhammad Nauman Yousuf3-Mar-07 8:00
Muhammad Nauman Yousuf3-Mar-07 8:00 
AnswerRe: Word or Excel , get opened file name Pin
MartinMachac6-Mar-07 4:43
MartinMachac6-Mar-07 4:43 
QuestionDesign question, typed datasets and designer Pin
steve_rm3-Mar-07 6:05
steve_rm3-Mar-07 6:05 
AnswerRe: Design question, typed datasets and designer Pin
Dave Kreskowiak3-Mar-07 6:57
mveDave Kreskowiak3-Mar-07 6:57 
QuestionLink progress bar to a timer Pin
harveyhanson3-Mar-07 5:52
harveyhanson3-Mar-07 5:52 
AnswerRe: Link progress bar to a timer Pin
Dave Kreskowiak3-Mar-07 6:44
mveDave Kreskowiak3-Mar-07 6:44 
GeneralRe: Link progress bar to a timer Pin
harveyhanson3-Mar-07 7:12
harveyhanson3-Mar-07 7:12 
QuestionCall Keypress Pin
Anybloodyid3-Mar-07 5:14
Anybloodyid3-Mar-07 5:14 
AnswerRe: Call Keypress Pin
JUNEYT3-Mar-07 5:32
JUNEYT3-Mar-07 5:32 
AnswerRe: Call Keypress Pin
Dave Kreskowiak3-Mar-07 6:37
mveDave Kreskowiak3-Mar-07 6:37 
GeneralRe: Call Keypress Pin
Anybloodyid3-Mar-07 10:55
Anybloodyid3-Mar-07 10:55 
GeneralRe: Call Keypress Pin
Dave Kreskowiak3-Mar-07 13:14
mveDave Kreskowiak3-Mar-07 13:14 

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.