Click here to Skip to main content
15,917,793 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: error to save file Pin
bapu288927-Dec-07 1:43
bapu288927-Dec-07 1:43 
GeneralRe: error to save file Pin
Dave Kreskowiak27-Dec-07 5:10
mveDave Kreskowiak27-Dec-07 5:10 
GeneralRe: error to save file Pin
bapu288927-Dec-07 7:26
bapu288927-Dec-07 7:26 
GeneralRe: error to save file Pin
Dave Kreskowiak28-Dec-07 19:31
mveDave Kreskowiak28-Dec-07 19:31 
GeneralRe: error to save file Pin
bapu288929-Dec-07 1:53
bapu288929-Dec-07 1:53 
GeneralRe: error to save file Pin
Dave Kreskowiak29-Dec-07 6:35
mveDave Kreskowiak29-Dec-07 6:35 
GeneralRe: error to save file Pin
bapu288929-Dec-07 8:59
bapu288929-Dec-07 8:59 
GeneralClass versus Form sharing Pin
cstrader23223-Dec-07 6:11
cstrader23223-Dec-07 6:11 
Sorry, dumb question here.

If I make a method in a class it is not a shared method and needs to be instantiated.

If I make a method in a form it becomes a shared method and does not need to be instantiated.

I want to call these methods from various places in my code, perhaps even from different threads at the same time.

It's easier to call a shared method because there's no need to instantiate it. But does doing so create the possibility of more than one thread calling the method at the same time thus creating problems?

In short, should I instantiate all of my method calls, even to the shared methods in a form?

Thanks, and Happy Holidays all!
GeneralRe: Class versus Form sharing Pin
nlarson1123-Dec-07 7:01
nlarson1123-Dec-07 7:01 
GeneralRe: Class versus Form sharing Pin
cstrader23223-Dec-07 7:28
cstrader23223-Dec-07 7:28 
GeneralRe: Class versus Form sharing Pin
Dave Kreskowiak23-Dec-07 7:42
mveDave Kreskowiak23-Dec-07 7:42 
GeneralRe: Class versus Form sharing Pin
nlarson1123-Dec-07 9:21
nlarson1123-Dec-07 9:21 
GeneralRe: Class versus Form sharing Pin
Dave Kreskowiak23-Dec-07 7:43
mveDave Kreskowiak23-Dec-07 7:43 
GeneralRe: Class versus Form sharing Pin
cstrader23223-Dec-07 8:04
cstrader23223-Dec-07 8:04 
GeneralRe: Class versus Form sharing Pin
nlarson1123-Dec-07 9:23
nlarson1123-Dec-07 9:23 
GeneralRe: Class versus Form sharing Pin
cstrader23223-Dec-07 9:37
cstrader23223-Dec-07 9:37 
GeneralRe: Class versus Form sharing Pin
Dave Kreskowiak23-Dec-07 10:15
mveDave Kreskowiak23-Dec-07 10:15 
GeneralRe: Class versus Form sharing Pin
cstrader23223-Dec-07 10:36
cstrader23223-Dec-07 10:36 
GeneralRe: Class versus Form sharing Pin
Dave Kreskowiak23-Dec-07 11:03
mveDave Kreskowiak23-Dec-07 11:03 
GeneralRe: Class versus Form sharing Pin
cstrader23223-Dec-07 11:30
cstrader23223-Dec-07 11:30 
GeneralRe: Class versus Form sharing Pin
darkelv23-Dec-07 13:08
darkelv23-Dec-07 13:08 
GeneralRe: Class versus Form sharing Pin
Dave Kreskowiak23-Dec-07 15:31
mveDave Kreskowiak23-Dec-07 15:31 
Generaldocumentdownload2 Pin
balakpn22-Dec-07 19:28
balakpn22-Dec-07 19:28 
GeneralRe: documentdownload2 Pin
Dave Kreskowiak23-Dec-07 4:58
mveDave Kreskowiak23-Dec-07 4:58 
GeneralRe: documentdownload2 Pin
balakpn23-Dec-07 17:01
balakpn23-Dec-07 17:01 

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.