Click here to Skip to main content
15,908,274 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to browse folder Pin
EliottA23-Feb-09 3:07
EliottA23-Feb-09 3:07 
GeneralRe: How to browse folder Pin
JR21223-Feb-09 3:40
JR21223-Feb-09 3:40 
GeneralRe: How to browse folder Pin
Tom Deketelaere23-Feb-09 3:52
professionalTom Deketelaere23-Feb-09 3:52 
QuestionShortest Job First using VB6 [modified] Pin
ranier21ph22-Feb-09 21:57
ranier21ph22-Feb-09 21:57 
AnswerRe: Shortest Job First using VB6 Pin
Andy_L_J22-Feb-09 22:24
Andy_L_J22-Feb-09 22:24 
AnswerRe: Shortest Job First using VB6 Pin
CPallini23-Feb-09 2:53
mveCPallini23-Feb-09 2:53 
AnswerRe: Shortest Job First using VB6 Pin
Dave Kreskowiak23-Feb-09 4:10
mveDave Kreskowiak23-Feb-09 4:10 
QuestionModule in multiple projects Pin
brucescheide22-Feb-09 20:17
brucescheide22-Feb-09 20:17 
I have a module in a VB.NET 2005 project that is part of a dll. This dll also holds many of my common objects across multiple solutions. This particular module has a routine that all my transactions to the server run through.

Since other dll's and the main project of my solution each have a reference to this module, is it shared? Or does each dll have a separate instance?

The reason I need to know is because I want to set a flag in the module that says each subsequent transaction should not be treated as a "sync point" by the server (sometimes these same transactions may be a sync point elsewhere in the program). After the user has confirmed the actions they've taken, I would reset this flag and subsequent transactions would again be sync points. This allows me to easily "rollback" to the state prior to when the user performed the several transactions if they decide not the confirm.

So if I call the module from the main program, but transactions get called from the other various dlls that have their own reference to the module, will the setting of the flag be set by every transaction?

I realize a module is like a shared class but I'm unsure if .NET makes separate single copies for each dll and program that has a reference, or just one per solution? Any clarification would be sincerely appreciated.
AnswerRe: Module in multiple projects Pin
Gideon Engelberth23-Feb-09 3:32
Gideon Engelberth23-Feb-09 3:32 
QuestionSession End [modified] Pin
rajmca.g22-Feb-09 19:08
rajmca.g22-Feb-09 19:08 
AnswerRe: Session End Pin
DaveAuld22-Feb-09 20:40
professionalDaveAuld22-Feb-09 20:40 
AnswerRe: Session End Pin
Christian Graus22-Feb-09 21:31
protectorChristian Graus22-Feb-09 21:31 
AnswerRe: Session End Pin
Dave Kreskowiak23-Feb-09 4:07
mveDave Kreskowiak23-Feb-09 4:07 
QuestionVB 2005 Express Edition Pin
aswd22-Feb-09 17:53
aswd22-Feb-09 17:53 
AnswerRe: VB 2005 Express Edition [modified] Pin
drexler_kk22-Feb-09 18:55
drexler_kk22-Feb-09 18:55 
GeneralRe: VB 2005 Express Edition Pin
aswd23-Feb-09 1:34
aswd23-Feb-09 1:34 
GeneralRe: VB 2005 Express Edition Pin
EliottA23-Feb-09 3:08
EliottA23-Feb-09 3:08 
GeneralRe: VB 2005 Express Edition Pin
aswd23-Feb-09 3:11
aswd23-Feb-09 3:11 
GeneralRe: VB 2005 Express Edition Pin
EliottA23-Feb-09 3:13
EliottA23-Feb-09 3:13 
GeneralRe: VB 2005 Express Edition Pin
Dave Kreskowiak23-Feb-09 4:04
mveDave Kreskowiak23-Feb-09 4:04 
QuestionProblem with DataGridView Pin
drexler_kk22-Feb-09 17:06
drexler_kk22-Feb-09 17:06 
AnswerRe: Problem with DataGridView Pin
Dave Kreskowiak23-Feb-09 2:08
mveDave Kreskowiak23-Feb-09 2:08 
AnswerRe: Problem with DataGridView Pin
drexler_kk23-Feb-09 16:28
drexler_kk23-Feb-09 16:28 
Questionlabel Pin
aswd22-Feb-09 16:03
aswd22-Feb-09 16:03 
AnswerRe: label Pin
Mycroft Holmes22-Feb-09 16:15
professionalMycroft Holmes22-Feb-09 16:15 

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.