Click here to Skip to main content
15,503,456 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem in passing arguments to cmd prompt from VB program Pin
Wombaticus8-Aug-14 9:27
Wombaticus8-Aug-14 9:27 
GeneralRe: Problem in passing arguments to cmd prompt from VB program Pin
Member 109935299-Aug-14 0:34
Member 109935299-Aug-14 0:34 
AnswerRe: Problem in passing arguments to cmd prompt from VB program Pin
Mike Meinz5-Sep-14 8:50
Mike Meinz5-Sep-14 8:50 
QuestionTorrent dowloader in VB.NET Pin
Member 110001468-Aug-14 0:48
Member 110001468-Aug-14 0:48 
AnswerRe: Torrent dowloader in VB.NET Pin
Dave Kreskowiak8-Aug-14 5:24
mveDave Kreskowiak8-Aug-14 5:24 
AnswerRe: Torrent dowloader in VB.NET Pin
ZurdoDev15-Aug-14 9:18
professionalZurdoDev15-Aug-14 9:18 
QuestionProblem instantiating FileSystemWatcher in Windows Service Pin
Member 109911324-Aug-14 10:24
Member 109911324-Aug-14 10:24 
AnswerRe: Problem instantiating FileSystemWatcher in Windows Service Pin
David Mujica4-Aug-14 11:56
David Mujica4-Aug-14 11:56 
Here is what i have in my Service ...

You seem to have the same thing.

Maybe you can write your own detailed log to show your execution of the service.

Create a streamwriter which writes data to a "TEMP" folder.

Good luck.
Thumbs Up | :thumbsup:

VB
Private Sub WatchForNewFiles()

       ' Create a new FileSystemWatcher and set its properties.
       Dim watcher As New FileSystemWatcher()

       watcher.Path = gsWatcherPath

       ' Watch for changes in LastAccess and LastWrite times, and
       ' the renaming of files or directories.
       watcher.NotifyFilter = (NotifyFilters.LastAccess Or NotifyFilters.LastWrite Or NotifyFilters.FileName Or NotifyFilters.DirectoryName)
       ' Only watch text files.
       watcher.Filter = "*." + gsWatcherExtension

       ' Add event handlers.
       'AddHandler watcher.Changed, AddressOf OnChanged
       AddHandler watcher.Created, AddressOf OnChanged
       'AddHandler watcher.Deleted, AddressOf OnChanged
       'AddHandler watcher.Renamed, AddressOf OnRenamed

       ' Begin watching.
       watcher.EnableRaisingEvents = True

   End Sub

GeneralRe: Problem instantiating FileSystemWatcher in Windows Service Pin
Member 109911324-Aug-14 12:04
Member 109911324-Aug-14 12:04 
AnswerRe: Problem instantiating FileSystemWatcher in Windows Service Pin
Bernhard Hiller4-Aug-14 22:04
Bernhard Hiller4-Aug-14 22:04 
GeneralRe: Problem instantiating FileSystemWatcher in Windows Service Pin
Member 109911325-Aug-14 3:55
Member 109911325-Aug-14 3:55 
GeneralRe: Problem instantiating FileSystemWatcher in Windows Service Pin
Bernhard Hiller5-Aug-14 21:09
Bernhard Hiller5-Aug-14 21:09 
QuestionRegular Expression in VBS Pin
Member 88781863-Aug-14 20:36
Member 88781863-Aug-14 20:36 
GeneralRe: Regular Expression in VBS Pin
Tim Carmichael4-Aug-14 3:43
Tim Carmichael4-Aug-14 3:43 
QuestionRe: Regular Expression in VBS Pin
ZurdoDev15-Aug-14 9:19
professionalZurdoDev15-Aug-14 9:19 
QuestionProblem setting a value in a textbox from another form Pin
dilkonika2-Aug-14 7:08
dilkonika2-Aug-14 7:08 
AnswerRe: Problem setting a value in a textbox from another form Pin
Richard Andrew x642-Aug-14 17:14
professionalRichard Andrew x642-Aug-14 17:14 
AnswerRe: Problem setting a value in a textbox from another form Pin
kasbaba2-Aug-14 20:57
kasbaba2-Aug-14 20:57 
Questionsherdian controls : license not found Pin
zuber ahmed2-Aug-14 2:39
zuber ahmed2-Aug-14 2:39 
AnswerRe: sherdian controls : license not found Pin
Eddy Vluggen2-Aug-14 13:23
professionalEddy Vluggen2-Aug-14 13:23 
QuestionSherdian controls Pin
zuber ahmed1-Aug-14 11:00
zuber ahmed1-Aug-14 11:00 
AnswerRe: Sherdian controls Pin
Mycroft Holmes1-Aug-14 14:43
professionalMycroft Holmes1-Aug-14 14:43 
AnswerRe: Sherdian controls Pin
ZurdoDev15-Aug-14 9:19
professionalZurdoDev15-Aug-14 9:19 
GeneralRe: Sherdian controls Pin
zuber ahmed16-Aug-14 3:11
zuber ahmed16-Aug-14 3:11 
QuestionVBScript Error Code 800A0046 Pin
ChriDo6130-Jul-14 21:57
ChriDo6130-Jul-14 21:57 

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.