Click here to Skip to main content
15,903,012 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow run SCP(Secure Connetion Protocol ) In Windows Pin
Aruna Gaddam25-Mar-08 21:24
Aruna Gaddam25-Mar-08 21:24 
GeneralRe: How run SCP(Secure Connetion Protocol ) In Windows Pin
Dave Kreskowiak26-Mar-08 6:59
mveDave Kreskowiak26-Mar-08 6:59 
QuestionMemory Leak in Sub ? Pin
Mitch F.25-Mar-08 20:36
Mitch F.25-Mar-08 20:36 
AnswerRe: Memory Leak in Sub ? Pin
Christian Graus25-Mar-08 20:55
protectorChristian Graus25-Mar-08 20:55 
GeneralRe: Memory Leak in Sub ? Pin
Mitch F.25-Mar-08 21:07
Mitch F.25-Mar-08 21:07 
GeneralRe: Memory Leak in Sub ? Pin
Christian Graus25-Mar-08 21:23
protectorChristian Graus25-Mar-08 21:23 
GeneralRe: Memory Leak in Sub ? Pin
Mitch F.25-Mar-08 21:34
Mitch F.25-Mar-08 21:34 
GeneralRe: Memory Leak in Sub ? Pin
Christian Graus25-Mar-08 22:18
protectorChristian Graus25-Mar-08 22:18 
Well, if that's true, that's one more reason not to use globals. However, I'd be inclined to suggest that your methods of watching memory usage are flawed. Do you watch the memory in the task manager ? That's not really accurate.

Also, when I run this, the extra memory usage is minimal. Also, global is not a global, it's a member variable. To be the .NET equivelant of a global, it would need to be static.

Based on the minimal memory usage in the test I just did, I think you're worried about nothing, and certainly should do some reading regarding how the garbage collector works.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Memory Leak in Sub ? Pin
Dave Kreskowiak26-Mar-08 6:57
mveDave Kreskowiak26-Mar-08 6:57 
AnswerRe: Memory Leak in Sub ? Pin
Guffa26-Mar-08 2:43
Guffa26-Mar-08 2:43 
Questionhow to initialize a database connection for the target computer? Pin
crookshanks25-Mar-08 17:47
crookshanks25-Mar-08 17:47 
GeneralRe: how to initialize a database connection for the target computer? Pin
Christian Graus25-Mar-08 18:48
protectorChristian Graus25-Mar-08 18:48 
GeneralRe: how to initialize a database connection for the target computer? Pin
crookshanks25-Mar-08 19:05
crookshanks25-Mar-08 19:05 
GeneralRe: how to initialize a database connection for the target computer? Pin
Christian Graus25-Mar-08 19:08
protectorChristian Graus25-Mar-08 19:08 
GeneralRe: how to initialize a database connection for the target computer? Pin
crookshanks25-Mar-08 19:40
crookshanks25-Mar-08 19:40 
GeneralRe: how to initialize a database connection for the target computer? Pin
N a v a n e e t h25-Mar-08 19:45
N a v a n e e t h25-Mar-08 19:45 
GeneralRe: how to initialize a database connection for the target computer? Pin
crookshanks25-Mar-08 20:29
crookshanks25-Mar-08 20:29 
GeneralRe: how to initialize a database connection for the target computer? Pin
Christian Graus25-Mar-08 20:30
protectorChristian Graus25-Mar-08 20:30 
QuestionHow to add button in window form datagrid Pin
Eunice (VB junior)25-Mar-08 16:49
Eunice (VB junior)25-Mar-08 16:49 
AnswerRe: How to add button in window form datagrid Pin
Dave Kreskowiak26-Mar-08 6:50
mveDave Kreskowiak26-Mar-08 6:50 
GeneralRe: How to add button in window form datagrid Pin
Eunice (VB junior)26-Mar-08 14:08
Eunice (VB junior)26-Mar-08 14:08 
NewsFYI: Crystal Reports 2008 integration with Visual Studio 2008 Pin
Steven J Jowett25-Mar-08 7:53
Steven J Jowett25-Mar-08 7:53 
GeneralCheck for newest file Pin
AHeavey25-Mar-08 7:11
AHeavey25-Mar-08 7:11 
GeneralRe: Check for newest file Pin
Steven J Jowett25-Mar-08 7:57
Steven J Jowett25-Mar-08 7:57 
GeneralRe: Check for newest file Pin
Vimalsoft(Pty) Ltd25-Mar-08 10:47
professionalVimalsoft(Pty) Ltd25-Mar-08 10:47 

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.