Click here to Skip to main content
15,949,686 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: HELP - Hypotenuse and Angle B Error Pin
Dalek Dave7-May-09 21:19
professionalDalek Dave7-May-09 21:19 
GeneralRe: HELP - Hypotenuse and Angle B Error Pin
cyndy_northrup8-May-09 10:11
cyndy_northrup8-May-09 10:11 
AnswerRe: HELP - Hypotenuse and Angle B Error Pin
Dave Kreskowiak8-May-09 0:35
mveDave Kreskowiak8-May-09 0:35 
QuestionCombo displaying font Pin
Ric70247-May-09 11:15
Ric70247-May-09 11:15 
AnswerRe: Combo displaying font Pin
Dave Kreskowiak7-May-09 14:30
mveDave Kreskowiak7-May-09 14:30 
AnswerRe: Combo displaying font Pin
DidiKunz8-May-09 1:31
DidiKunz8-May-09 1:31 
QuestionUsing print spooler to update shared log file Pin
Roy Barkas7-May-09 11:15
Roy Barkas7-May-09 11:15 
AnswerRe: Using print spooler to update shared log file Pin
Dave Kreskowiak7-May-09 14:28
mveDave Kreskowiak7-May-09 14:28 
So what's wrong with just every instance of the app writing to the same log file?? It's easy enough to pull off. Just open the file, write the message, and close the file. But, there's a little catch. Keep attempting to open the file DenyShareAll until it actually opens. It shouldn't take very long at all if your messages are short.

Another possibility is a service or other server app that listens for messages comming from your app. All instances of the app talk to the same instance of the loggin component, that itself writes to the log.

Using the print FILE driver is a bit too much for such a simple operation.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Using print spooler to update shared log file Pin
Roy Barkas7-May-09 21:48
Roy Barkas7-May-09 21:48 
GeneralRe: Using print spooler to update shared log file Pin
Dave Kreskowiak8-May-09 0:31
mveDave Kreskowiak8-May-09 0:31 
Questiondatatype conversion problem when fetching fromn database Pin
Ankit Aneja7-May-09 7:42
Ankit Aneja7-May-09 7:42 
AnswerRe: datatype conversion problem when fetching fromn database Pin
Dave Kreskowiak7-May-09 10:00
mveDave Kreskowiak7-May-09 10:00 
GeneralRe: datatype conversion problem when fetching fromn database Pin
Ankit Aneja7-May-09 11:02
Ankit Aneja7-May-09 11:02 
QuestionRAS option RASEO_RequireDataEncryption not work Pin
xmen3317-May-09 5:33
xmen3317-May-09 5:33 
AnswerRe: RAS option RASEO_RequireDataEncryption not work Pin
Dave Kreskowiak7-May-09 6:03
mveDave Kreskowiak7-May-09 6:03 
QuestionOpen all files in a Folder Pin
vijay24827-May-09 5:05
vijay24827-May-09 5:05 
AnswerRe: Open all files in a Folder Pin
Dave Kreskowiak7-May-09 5:32
mveDave Kreskowiak7-May-09 5:32 
AnswerRe: Open all files in a Folder Pin
riced7-May-09 6:58
riced7-May-09 6:58 
AnswerRe: Open all files in a Folder Pin
riced7-May-09 8:46
riced7-May-09 8:46 
GeneralMessage Closed Pin
7-May-09 11:37
vijay24827-May-09 11:37 
GeneralRe: Open all files in a Folder Pin
riced7-May-09 12:22
riced7-May-09 12:22 
GeneralMessage Closed Pin
8-May-09 0:42
vijay24828-May-09 0:42 
GeneralRe: Open all files in a Folder Pin
riced9-May-09 1:18
riced9-May-09 1:18 
GeneralRe: Open all files in a Folder Pin
vijay24829-May-09 3:02
vijay24829-May-09 3:02 
QuestionDataGridView CheckBox column Pin
Paul McGann7-May-09 5:00
professionalPaul McGann7-May-09 5:00 

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.