Click here to Skip to main content
15,915,857 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Still no solution Pin
ChandraRam5-Nov-08 0:57
ChandraRam5-Nov-08 0:57 
GeneralRe: Still no solution Pin
willempipi5-Nov-08 1:45
willempipi5-Nov-08 1:45 
GeneralRe: Still no solution Pin
ChandraRam5-Nov-08 4:09
ChandraRam5-Nov-08 4:09 
QuestionRe: VB6 and multi language support Pin
sonnyh3-Dec-08 7:58
sonnyh3-Dec-08 7:58 
QuestionCheck the write permission of any folder Pin
sunil goyalG4-Nov-08 20:49
sunil goyalG4-Nov-08 20:49 
AnswerRe: Check the write permission of any folder Pin
~Khatri Mitesh~4-Nov-08 23:39
~Khatri Mitesh~4-Nov-08 23:39 
QuestionNested (recursive) class Pin
wilson_borda4-Nov-08 19:22
wilson_borda4-Nov-08 19:22 
AnswerRe: Nested (recursive) class Pin
Guffa4-Nov-08 22:04
Guffa4-Nov-08 22:04 
wilson_borda wrote:
What's happening is that when I that when I set p0.pr.x = 2 or p0.pr.y = 4 (or another property of pl or pr) all the values of x and y are changed.


No, that's not what's happening. What's happening is that the single instance that you reference with the static variable changes. Regardless of how many Point instances you create, they all share a single pl and a single pr instance.

If you are trying to create a linked list, the pl and pr variables can't be static. However, if you change them to be member variables, you can't create new instances of them in the constructor or you will create an eternal loop that fills the memory with Point objects.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Nested (recursive) class Pin
wilson_borda5-Nov-08 1:37
wilson_borda5-Nov-08 1:37 
AnswerRe: Nested (recursive) class Pin
Steven J Jowett4-Nov-08 22:13
Steven J Jowett4-Nov-08 22:13 
GeneralRe: Nested (recursive) class Pin
wilson_borda5-Nov-08 1:42
wilson_borda5-Nov-08 1:42 
GeneralRe: Nested (recursive) class Pin
Steven J Jowett5-Nov-08 2:01
Steven J Jowett5-Nov-08 2:01 
GeneralRe: Nested (recursive) class Pin
wilson_borda5-Nov-08 3:19
wilson_borda5-Nov-08 3:19 
GeneralRe: Nested (recursive) class Pin
Guffa5-Nov-08 7:53
Guffa5-Nov-08 7:53 
AnswerRe: Nested (recursive) class Pin
Mark Churchill5-Nov-08 11:50
Mark Churchill5-Nov-08 11:50 
QuestionOut of Memory Exception Pin
AR Reddy4-Nov-08 17:42
AR Reddy4-Nov-08 17:42 
AnswerRe: Out of Memory Exception Pin
_Damian S_4-Nov-08 19:52
professional_Damian S_4-Nov-08 19:52 
Question[Message Deleted] Pin
songkeqiang4-Nov-08 15:07
songkeqiang4-Nov-08 15:07 
AnswerRe: How can I access the IE Temporary folder? Pin
Dave Kreskowiak4-Nov-08 16:20
mveDave Kreskowiak4-Nov-08 16:20 
QuestionOffice Communications Server Pin
alexfromto4-Nov-08 10:07
alexfromto4-Nov-08 10:07 
AnswerRe: Office Communications Server Pin
Dave Kreskowiak4-Nov-08 16:21
mveDave Kreskowiak4-Nov-08 16:21 
QuestionHTML Auto-Indent Pin
Saul Johnson4-Nov-08 7:49
Saul Johnson4-Nov-08 7:49 
AnswerRe: HTML Auto-Indent Pin
Dave Kreskowiak4-Nov-08 16:23
mveDave Kreskowiak4-Nov-08 16:23 
GeneralRe: HTML Auto-Indent Pin
Saul Johnson6-Nov-08 9:05
Saul Johnson6-Nov-08 9:05 
GeneralRe: HTML Auto-Indent Pin
Dave Kreskowiak7-Nov-08 13:21
mveDave Kreskowiak7-Nov-08 13:21 

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.