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

Visual Basic

 
AnswerRe: sqlserver is installed in system or not??? Pin
Steven J Jowett23-Feb-10 3:19
Steven J Jowett23-Feb-10 3:19 
QuestionProgramming language Pin
neothematrix22-Feb-10 11:57
neothematrix22-Feb-10 11:57 
AnswerRe: Programming language Pin
kilkfoe122-Feb-10 12:41
kilkfoe122-Feb-10 12:41 
GeneralRe: Programming language Pin
neothematrix22-Feb-10 12:45
neothematrix22-Feb-10 12:45 
AnswerRe: Programming language Pin
Luc Pattyn22-Feb-10 13:00
sitebuilderLuc Pattyn22-Feb-10 13:00 
GeneralRe: Programming language Pin
neothematrix22-Feb-10 13:11
neothematrix22-Feb-10 13:11 
GeneralRe: Programming language Pin
kilkfoe123-Feb-10 8:51
kilkfoe123-Feb-10 8:51 
Question.Net remoting: Reactivating proxy object Pin
kilkfoe122-Feb-10 8:08
kilkfoe122-Feb-10 8:08 
Hello,

(This applies to C# as well)

I am building a tool using .Net remoting. If I obtain a proxy by Activator.GetObject and then want to switch that proxy by calling Activator.GetObject again with a different parameter - and I do this on a separate thread than the thread(s) that is/are using that proxy, could I run in to trouble? Right now I am using a SyncLock, but there could be several threads using this object, so each one has to wait its turn - even though the server code can handle several asynchronous calls just fine. Could I remove the SyncLocks with no worries?

If you need a little more explanation:
There will be several servers in different locations running the server code via a Windows service. These services may go down, start up, stop working, etc., so my client code may need to switch where it gets the proxy from. I have a separate thread that monitors these servers and tries to maintain the best connection. I want to know if there is a problem if a thread starts using the proxy, and then the connection thread switches the proxy. I assumed there was a problem so I used SyncLocks, which is also causing problems, so if possible, I want to remove the SyncLocks.

Thanks,
Kevin
QuestionMake Pen drive password protected. Pin
Gagan.2022-Feb-10 5:03
Gagan.2022-Feb-10 5:03 
AnswerRe: Make Pen drive password protected. Pin
Dave Kreskowiak22-Feb-10 6:22
mveDave Kreskowiak22-Feb-10 6:22 
AnswerRe: Make Pen drive password protected. Pin
Steven J Jowett23-Feb-10 3:24
Steven J Jowett23-Feb-10 3:24 
QuestionError while executing cmd command through vb.net Pin
Gagan.2022-Feb-10 4:00
Gagan.2022-Feb-10 4:00 
AnswerRe: Error while executing cmd command through vb.net Pin
Richard MacCutchan22-Feb-10 4:38
mveRichard MacCutchan22-Feb-10 4:38 
GeneralRe: Error while executing cmd command through vb.net Pin
Gagan.2022-Feb-10 4:52
Gagan.2022-Feb-10 4:52 
GeneralRe: Error while executing cmd command through vb.net Pin
Richard MacCutchan22-Feb-10 5:28
mveRichard MacCutchan22-Feb-10 5:28 
AnswerRe: Error while executing cmd command through vb.net Pin
Dave Kreskowiak22-Feb-10 6:24
mveDave Kreskowiak22-Feb-10 6:24 
GeneralRe: Error while executing cmd command through vb.net Pin
Gagan.204-Mar-10 4:11
Gagan.204-Mar-10 4:11 
GeneralRe: Error while executing cmd command through vb.net Pin
Dave Kreskowiak4-Mar-10 13:00
mveDave Kreskowiak4-Mar-10 13:00 
QuestionLineShape control not moving freely with cursor Pin
for120622-Feb-10 0:05
for120622-Feb-10 0:05 
AnswerRe: LineShape control not moving freely with cursor Pin
Dave Kreskowiak22-Feb-10 3:26
mveDave Kreskowiak22-Feb-10 3:26 
GeneralRe: LineShape control not moving freely with cursor Pin
for120622-Feb-10 17:09
for120622-Feb-10 17:09 
GeneralRe: LineShape control not moving freely with cursor Pin
Dave Kreskowiak22-Feb-10 17:42
mveDave Kreskowiak22-Feb-10 17:42 
GeneralRe: LineShape control not moving freely with cursor [modified] Pin
for120622-Feb-10 19:02
for120622-Feb-10 19:02 
GeneralRe: LineShape control not moving freely with cursor Pin
Dave Kreskowiak23-Feb-10 1:10
mveDave Kreskowiak23-Feb-10 1:10 
GeneralRe: LineShape control not moving freely with cursor Pin
for120623-Feb-10 1:17
for120623-Feb-10 1:17 

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.