Click here to Skip to main content
15,886,096 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDataGrid View Control Doubt Pin
A.Muthunagai26-Apr-07 21:39
A.Muthunagai26-Apr-07 21:39 
QuestionGetting the path of a selected file thats is to be copied Pin
aasim baltee26-Apr-07 20:27
aasim baltee26-Apr-07 20:27 
QuestionProblem while reading from CSV file in VB 6.0 Pin
virendra_00726-Apr-07 19:40
virendra_00726-Apr-07 19:40 
AnswerRe: Problem while reading from CSV file in VB 6.0 Pin
manowj26-Apr-07 21:08
manowj26-Apr-07 21:08 
GeneralRe: Problem while reading from CSV file in VB 6.0 Pin
virendra_00726-Apr-07 22:39
virendra_00726-Apr-07 22:39 
GeneralRe: to Manoj Pin
virendra_00727-Apr-07 1:34
virendra_00727-Apr-07 1:34 
QuestionQuestions on Data Reports [modified] Pin
Kumaran21cen26-Apr-07 18:07
Kumaran21cen26-Apr-07 18:07 
QuestionToo many Filewatches! Pin
rudemusik26-Apr-07 16:58
rudemusik26-Apr-07 16:58 
Hello All!

I am really stumped on this. So I have a server/client app, with SQL as a backend. The client program has it's forms come up by the server. That where I use the FileWatch process. Works pretty well, and fast. I creat a file from the server on server, the client flewatch see that file, and open up a form. A timer on the form closes after a few some time. The file the server creates, gets deleted. I'm sure this isn't the best way, but it works pretty well, except now. I can only run up to like six or seven at a time. Anyone of them will work, but not all at the same time. My server is created the files just fine, so the problem is with the client side. I don't get a warning or an error. The watch process just doesn't run.
So here is a sample of the code.
Declaring it, Public FggWatch As New FileSystemWatcher
I have this in my form load event. I also tried to put it in IntilizedComponet.
AddHandler FggWatch.Created, AddressOf FggWatch_Created<br />
      FggWatch.Path = (TempFileSetting)<br />
      FggWatch.Filter = "*.fgg"<br />
      FggWatch.IncludeSubdirectories = False<br />
      FggWatch.EnableRaisingEvents = True<br />


And then here is what happen after the file gets tagged
Private Sub FggWatch_Created(ByVal sender As Object, ByVal e As System.IO.FileSystemEventArgs)<br />
              Dim frmFgg As New frmFggWn<br />
        Sound.PlayWaveResource("ding.wav")<br />
        frmFgg.ShowDialog()<br />
    End Sub


It worked fine for weeks, then all of sudden! You know. Now keep in mind I have 13 of thees little gems, the only difrence in the file names, and a diffrent form get displayed.

Thanks!!

Rudy
AnswerRe: Too many Filewatches! Pin
KevinMac26-Apr-07 17:12
KevinMac26-Apr-07 17:12 
GeneralRe: Too many Filewatches! Pin
rudemusik27-Apr-07 1:34
rudemusik27-Apr-07 1:34 
GeneralRe: Too many Filewatches! Pin
KevinMac27-Apr-07 5:21
KevinMac27-Apr-07 5:21 
GeneralRe: Too many Filewatches! Pin
rudemusik27-Apr-07 15:43
rudemusik27-Apr-07 15:43 
QuestionC# convert problem Pin
Xmen Real 26-Apr-07 15:29
professional Xmen Real 26-Apr-07 15:29 
AnswerRe: C# convert problem Pin
MatrixCoder26-Apr-07 16:05
MatrixCoder26-Apr-07 16:05 
GeneralRe: C# convert problem Pin
Xmen Real 26-Apr-07 16:13
professional Xmen Real 26-Apr-07 16:13 
QuestionAbsolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 13:11
new_rez26-Apr-07 13:11 
AnswerRe: Absolutely URGENT help needed - Collections Pin
Christian Graus26-Apr-07 13:36
protectorChristian Graus26-Apr-07 13:36 
GeneralRe: Absolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 14:19
new_rez26-Apr-07 14:19 
GeneralRe: Absolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 14:24
new_rez26-Apr-07 14:24 
GeneralRe: Absolutely URGENT help needed - Collections Pin
Christian Graus26-Apr-07 14:36
protectorChristian Graus26-Apr-07 14:36 
GeneralRe: Absolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 14:45
new_rez26-Apr-07 14:45 
GeneralRe: Absolutely URGENT help needed - Collections Pin
Christian Graus26-Apr-07 14:50
protectorChristian Graus26-Apr-07 14:50 
GeneralRe: Absolutely URGENT help needed - Collections Pin
Colin Angus Mackay26-Apr-07 14:25
Colin Angus Mackay26-Apr-07 14:25 
GeneralRe: Absolutely URGENT help needed - Collections Pin
new_rez26-Apr-07 14:27
new_rez26-Apr-07 14:27 
GeneralRe: Absolutely URGENT help needed - Collections Pin
Colin Angus Mackay26-Apr-07 14:33
Colin Angus Mackay26-Apr-07 14:33 

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.