Click here to Skip to main content
15,893,337 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionKnowing about the prerequisites of .net Pin
altafmohd11-Apr-12 21:45
altafmohd11-Apr-12 21:45 
AnswerRe: Knowing about the prerequisites of .net Pin
Abhinav S11-Apr-12 22:05
Abhinav S11-Apr-12 22:05 
AnswerRe: Knowing about the prerequisites of .net Pin
Vipin_Arora17-Apr-12 21:08
Vipin_Arora17-Apr-12 21:08 
Questiondebug asp.net (vb) code on visual studio 2003 in windows 7 Pin
Member 88023079-Apr-12 7:32
Member 88023079-Apr-12 7:32 
AnswerRe: debug asp.net (vb) code on visual studio 2003 in windows 7 Pin
Not Active9-Apr-12 8:02
mentorNot Active9-Apr-12 8:02 
QuestionAccessing and adding Items to a Collection that is in a Collection Pin
D3STROYRofWRLDS6-Apr-12 11:27
D3STROYRofWRLDS6-Apr-12 11:27 
AnswerRe: Accessing and adding Items to a Collection that is in a Collection Pin
Eddy Vluggen7-Apr-12 22:06
professionalEddy Vluggen7-Apr-12 22:06 
QuestionAccessing functions or subs from another class. Pin
Member 85988664-Apr-12 5:03
Member 85988664-Apr-12 5:03 
I am new to the vb.net language and there seems a few ways to accomplish accessing items from another class.

My question, what would be best or proper method or why would use 1 method over the other..
Again I am generally new at this and would greatly appreciate knowing what is preferred and why would you use 1 method over the other.

Shared items.

Class1
Public shared sub1
end sub
end class

Then in class2 use class1.sub1.

----------------------
or use an instance.

Class1
Public sub1
end sub
end class

then in class2 use
Dim Myclass1 as new class1
( or should it be Dim Myclass1 as class1 = new class1)
then use myclass1.sub1....

------------------------------
or use inherits

Class1
Public sub1....
end sub
end class

then in class2 use
inherits class1
then use sub1.....

Thanks for any info
Steven
AnswerRe: Accessing functions or subs from another class. Pin
Eddy Vluggen4-Apr-12 5:21
professionalEddy Vluggen4-Apr-12 5:21 
QuestionAsynchronous webservice calls and threading Pin
CDP18024-Apr-12 0:19
CDP18024-Apr-12 0:19 
AnswerRe: Asynchronous webservice calls and threading Pin
Eddy Vluggen4-Apr-12 5:10
professionalEddy Vluggen4-Apr-12 5:10 
GeneralRe: Asynchronous webservice calls and threading Pin
CDP18024-Apr-12 5:58
CDP18024-Apr-12 5:58 
SuggestionRe: Asynchronous webservice calls and threading Pin
Eddy Vluggen4-Apr-12 10:53
professionalEddy Vluggen4-Apr-12 10:53 
AnswerRe: Asynchronous webservice calls and threading Pin
cpkilekofp23-Apr-12 10:43
cpkilekofp23-Apr-12 10:43 
QuestionNumberGroupSeparator not working? Pin
Bernhard Hiller1-Apr-12 22:46
Bernhard Hiller1-Apr-12 22:46 
AnswerRe: NumberGroupSeparator not working? Pin
Eddy Vluggen1-Apr-12 23:37
professionalEddy Vluggen1-Apr-12 23:37 
GeneralRe: NumberGroupSeparator not working? Pin
Bernhard Hiller2-Apr-12 0:56
Bernhard Hiller2-Apr-12 0:56 
GeneralRe: NumberGroupSeparator not working? Pin
Eddy Vluggen2-Apr-12 1:05
professionalEddy Vluggen2-Apr-12 1:05 
GeneralRe: NumberGroupSeparator not working? Pin
VJ Reddy13-Apr-12 6:10
VJ Reddy13-Apr-12 6:10 
QuestionHow to select a feature using mouse click in DotSpatial Framework? Pin
Chandan Kumar Rath29-Mar-12 20:56
Chandan Kumar Rath29-Mar-12 20:56 
AnswerRe: How to select a feature using mouse click in DotSpatial Framework? Pin
Pete O'Hanlon29-Mar-12 21:14
mvePete O'Hanlon29-Mar-12 21:14 
QuestionHas StringBuilder gotten more efficient in VS2010? Pin
jesarg29-Mar-12 5:16
jesarg29-Mar-12 5:16 
AnswerRe: Has StringBuilder gotten more efficient in VS2010? Pin
so_soul29-Mar-12 5:45
so_soul29-Mar-12 5:45 
GeneralRe: Has StringBuilder gotten more efficient in VS2010? Pin
Not Active29-Mar-12 6:31
mentorNot Active29-Mar-12 6:31 
QuestionRe: Has StringBuilder gotten more efficient in VS2010? Pin
Stohn29-Mar-12 5:53
Stohn29-Mar-12 5:53 

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.