Click here to Skip to main content
15,896,201 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Setup wizard. Installting package in other system the bellow error showing plz help me. Pin
Nanda_MR9-Feb-09 18:53
Nanda_MR9-Feb-09 18:53 
QuestionNI Measurement Studio question Pin
Nick Alexeev6-Feb-09 17:52
professionalNick Alexeev6-Feb-09 17:52 
AnswerRe: NI Measurement Studio question Pin
Christian Graus6-Feb-09 18:18
protectorChristian Graus6-Feb-09 18:18 
GeneralRe: NI Measurement Studio question Pin
Dave Kreskowiak6-Feb-09 19:04
mveDave Kreskowiak6-Feb-09 19:04 
GeneralRe: NI Measurement Studio question Pin
Nick Alexeev6-Feb-09 19:26
professionalNick Alexeev6-Feb-09 19:26 
GeneralRe: NI Measurement Studio question Pin
Dave Kreskowiak6-Feb-09 22:45
mveDave Kreskowiak6-Feb-09 22:45 
GeneralRe: NI Measurement Studio question Pin
Nick Alexeev7-Feb-09 10:28
professionalNick Alexeev7-Feb-09 10:28 
QuestionStreamwriter and thread safety Pin
NeilPrice6-Feb-09 9:50
NeilPrice6-Feb-09 9:50 
I'm a little concerned about thread safety and I'm not sure how to interpret the MSDN docs in this case. I'm making use of a VB.NET Module that has a public function for the code base I am working on to log events. This logging function can be called from anywhere at any time.

The code skeleton looks like;

Module Utility
...
  Public Sub LogSomething(ByVal logData as string)

   ... // do work here

   Dim srLog as StreamWriter = new StreamWriter() // which opens a common file

   ... // finish up work here

  End Sub
...
End Module


Is this thread safe? Could this turn into an issue? The code I'm looking at hangs occasionally for no apparent reason and I'm wondering if there's any possible way this could be influencing what's happening since every thread whatever it's doing is making use of this logging function.

Thanks!
Neil
AnswerRe: Streamwriter and thread safety Pin
Christian Graus6-Feb-09 10:27
protectorChristian Graus6-Feb-09 10:27 
GeneralRe: Streamwriter and thread safety Pin
NeilPrice6-Feb-09 10:35
NeilPrice6-Feb-09 10:35 
GeneralRe: Streamwriter and thread safety Pin
Dave Kreskowiak6-Feb-09 11:12
mveDave Kreskowiak6-Feb-09 11:12 
GeneralRe: Streamwriter and thread safety Pin
NeilPrice6-Feb-09 11:28
NeilPrice6-Feb-09 11:28 
GeneralRe: Streamwriter and thread safety Pin
Luc Pattyn6-Feb-09 11:41
sitebuilderLuc Pattyn6-Feb-09 11:41 
QuestionTextbox prblem Pin
-kikica0512-6-Feb-09 9:09
-kikica0512-6-Feb-09 9:09 
GeneralRe: Textbox prblem Pin
Luc Pattyn6-Feb-09 9:26
sitebuilderLuc Pattyn6-Feb-09 9:26 
GeneralRe: Textbox prblem Pin
-kikica0512-6-Feb-09 19:29
-kikica0512-6-Feb-09 19:29 
GeneralRe: Textbox prblemsta Pin
Luc Pattyn7-Feb-09 3:16
sitebuilderLuc Pattyn7-Feb-09 3:16 
AnswerRe: Textbox prblem [modified] Pin
Samir Ibrahim7-Feb-09 7:28
Samir Ibrahim7-Feb-09 7:28 
Question[Message Deleted] Pin
spruha3696-Feb-09 3:08
spruha3696-Feb-09 3:08 
AnswerRe: searching all types of files in all drives Pin
Dave Kreskowiak6-Feb-09 3:45
mveDave Kreskowiak6-Feb-09 3:45 
AnswerRe: searching all types of files in all drives Pin
Christian Graus6-Feb-09 10:25
protectorChristian Graus6-Feb-09 10:25 
General[Message Deleted] Pin
spruha3696-Feb-09 15:06
spruha3696-Feb-09 15:06 
GeneralRe: searching all types of files in all drives Pin
Dave Kreskowiak6-Feb-09 18:59
mveDave Kreskowiak6-Feb-09 18:59 
GeneralRe: searching all types of files in all drives Pin
Samir Ibrahim7-Feb-09 6:50
Samir Ibrahim7-Feb-09 6:50 
GeneralRe: searching all types of files in all drives Pin
Dave Kreskowiak7-Feb-09 9:02
mveDave Kreskowiak7-Feb-09 9:02 

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.