Click here to Skip to main content
15,898,134 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionAn unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll Pin
goodyear9915-Dec-09 14:22
goodyear9915-Dec-09 14:22 
AnswerRe: An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll Pin
Gideon Engelberth15-Dec-09 16:46
Gideon Engelberth15-Dec-09 16:46 
QuestionQuestion regarding filesystemwatcher and existing files Pin
Jon_Boy15-Dec-09 5:22
Jon_Boy15-Dec-09 5:22 
AnswerRe: Question regarding filesystemwatcher and existing files Pin
DaveAuld15-Dec-09 5:36
professionalDaveAuld15-Dec-09 5:36 
GeneralRe: Question regarding filesystemwatcher and existing files Pin
Jon_Boy15-Dec-09 5:39
Jon_Boy15-Dec-09 5:39 
GeneralRe: Question regarding filesystemwatcher and existing files Pin
Ian Shlasko15-Dec-09 8:02
Ian Shlasko15-Dec-09 8:02 
GeneralRe: Question regarding filesystemwatcher and existing files Pin
Jon_Boy15-Dec-09 8:55
Jon_Boy15-Dec-09 8:55 
GeneralRe: Question regarding filesystemwatcher and existing files Pin
Ian Shlasko15-Dec-09 9:39
Ian Shlasko15-Dec-09 9:39 
Something like this (pseudocode):

none
Class Watcher

  Private System.IO.FileSystemWatcher
  Private Bool IsPaused
  Private Queue

  Public Sub Pause()
    IsPaused = true
  End Sub

  Public Sub UnPause()
    While Queue is not empty
      ProcessFSWEvent(next item in queue)
    IsPaused = false
  End Sub

  Private Sub FileSystemWatcherEventHandler(sender, eventargs)
    If IsPaused Then
      Add eventargs to Queue
    Else
      ProcessFSWEvent(eventargs)
  End Sub

  Private Sub ProcessFSWEvent(eventargs)
    Do whatever you'd normally do with the event
  End Sub


Proud to have finally moved to the A-Ark. Which one are you in?
Author of Guardians of Xen (Sci-Fi/Fantasy novel)

QuestionBuilding an application that recieves emails Pin
Aptiva Dave15-Dec-09 4:25
Aptiva Dave15-Dec-09 4:25 
AnswerRe: Building an application that recieves emails Pin
dan!sh 15-Dec-09 5:08
professional dan!sh 15-Dec-09 5:08 
AnswerCheck this article out for reading email ... Pin
David Mujica15-Dec-09 5:24
David Mujica15-Dec-09 5:24 
AnswerRe: Building an application that recieves emails [modified] Pin
plecco22-Dec-09 8:49
plecco22-Dec-09 8:49 
Questionimage capture and object tracking Pin
voodoo_god15-Dec-09 3:46
voodoo_god15-Dec-09 3:46 
QuestionDatagridviewButtoncell accroding to the value of cell() Pin
Paramu197314-Dec-09 22:19
Paramu197314-Dec-09 22:19 
QuestionReplacing Bytes in an Office 2003 Word Document Pin
jonegerton14-Dec-09 3:25
jonegerton14-Dec-09 3:25 
AnswerRe: Replacing Bytes in an Office 2003 Word Document Pin
Richard MacCutchan14-Dec-09 5:05
mveRichard MacCutchan14-Dec-09 5:05 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
jonegerton14-Dec-09 6:32
jonegerton14-Dec-09 6:32 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
The Man from U.N.C.L.E.14-Dec-09 7:33
The Man from U.N.C.L.E.14-Dec-09 7:33 
AnswerRe: Replacing Bytes in an Office 2003 Word Document Pin
Eddy Vluggen14-Dec-09 5:50
professionalEddy Vluggen14-Dec-09 5:50 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
Luc Pattyn14-Dec-09 6:21
sitebuilderLuc Pattyn14-Dec-09 6:21 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
Eddy Vluggen14-Dec-09 7:16
professionalEddy Vluggen14-Dec-09 7:16 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
jonegerton14-Dec-09 6:35
jonegerton14-Dec-09 6:35 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
Member 368078514-Dec-09 8:54
Member 368078514-Dec-09 8:54 
QuestionFind out encoding of any file [modified] Pin
jonegerton14-Dec-09 3:08
jonegerton14-Dec-09 3:08 
AnswerRe: Find out encoding of any file Pin
Richard MacCutchan14-Dec-09 5:06
mveRichard MacCutchan14-Dec-09 5:06 

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.