Click here to Skip to main content
14,934,114 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Addind hide information to a file of NTFS Pin
Midi_Mick4-Jan-17 19:27
professionalMidi_Mick4-Jan-17 19:27 
GeneralRe: Addind hide information to a file of NTFS Pin
Richard MacCutchan4-Jan-17 22:02
mveRichard MacCutchan4-Jan-17 22:02 
AnswerRe: Addind hide information to a file of NTFS Pin
Richard MacCutchan4-Jan-17 22:02
mveRichard MacCutchan4-Jan-17 22:02 
QuestionWindows server OnTimedEvent Pin
byka24-Oct-16 5:40
Memberbyka24-Oct-16 5:40 
AnswerRe: Windows server OnTimedEvent Pin
Eddy Vluggen24-Oct-16 6:13
professionalEddy Vluggen24-Oct-16 6:13 
GeneralRe: Windows server OnTimedEvent Pin
byka24-Oct-16 6:38
Memberbyka24-Oct-16 6:38 
GeneralRe: Windows server OnTimedEvent Pin
Eddy Vluggen24-Oct-16 7:23
professionalEddy Vluggen24-Oct-16 7:23 
GeneralRe: Windows server OnTimedEvent Pin
byka24-Oct-16 7:26
Memberbyka24-Oct-16 7:26 
here my updated code. I have replace email with : Throw ex.
Is that what you mean?
I am not sure I am clear on what you have in mind. Could you share maybe the code?
:
Private Sub OnTimedEvent(source As Object, e As ElapsedEventArgs)
     Try

         RetryOnTimeout(source, e)

     Catch ex As Exception
         While _currentRetry < 3
             RetryOnTimeout(source, e)
             _currentRetry = _currentRetry + 1
         End While

         modCommon.SendEmailExceptionToDev("ASH File System Watcher Outgoing: OnTimedEvent Exception", ex)
         Err.Clear()
     End Try

 End Sub
 Private Sub RetryOnTimeout(source As Object, e As ElapsedEventArgs)
     Try

         aTimer.Stop()
         Dim fileName As String = String.Empty

         While queueList.Count > 0
             If _SFTP.Connected = False OrElse _SFTP.SFTPState = Dart.Ssh.ConnectionState.Closed Then
                 _SFTP.Connect()
             End If

             fileName = queueList.Dequeue.ToString
             If Not fileName Is Nothing AndAlso fileName <> String.Empty Then
                 ProcessFile(fileName)
             End If
         End While

         If _SFTP.Connected = True Then
             _SFTP.Disconnect()
         End If

         aTimer.Start()
     Catch ex As Exception
         Throw ex
     End Try
 End Sub

GeneralRe: Windows server OnTimedEvent Pin
Eddy Vluggen24-Oct-16 7:54
professionalEddy Vluggen24-Oct-16 7:54 
GeneralRe: Windows server OnTimedEvent Pin
bogel bogel11-Dec-16 0:27
Memberbogel bogel11-Dec-16 0:27 
GeneralRe: Windows server OnTimedEvent Pin
Eddy Vluggen11-Dec-16 0:32
professionalEddy Vluggen11-Dec-16 0:32 
QuestionHow to secure local database for windows form c# Deploy Pin
salar136928-Jun-16 6:46
Membersalar136928-Jun-16 6:46 
AnswerRe: How to secure local database for windows form c# Deploy Pin
Eddy Vluggen28-Jun-16 7:06
professionalEddy Vluggen28-Jun-16 7:06 
AnswerRe: How to secure local database for windows form c# Deploy Pin
Eric P Schneider28-Jan-19 10:53
MemberEric P Schneider28-Jan-19 10:53 
QuestionAdd Code Singning Certificate to Project Setup created using Install Shield in Visual Studio 2012. Pin
Jaimesh.241112-May-16 0:49
MemberJaimesh.241112-May-16 0:49 
Rant[REPOST] Add Code Singning Certificate to Project Setup created using Install Shield in Visual Studio 2012. Pin
Richard Deeming12-May-16 2:04
mveRichard Deeming12-May-16 2:04 
QuestionWindows Client for my portal. Pin
ashu20014-Mar-16 19:28
Memberashu20014-Mar-16 19:28 
GeneralRe: Windows Client for my portal. Pin
Richard MacCutchan4-Mar-16 22:12
mveRichard MacCutchan4-Mar-16 22:12 
GeneralRe: Windows Client for my portal. Pin
ashu20017-Mar-16 18:30
Memberashu20017-Mar-16 18:30 
GeneralRe: Windows Client for my portal. Pin
Richard MacCutchan7-Mar-16 21:56
mveRichard MacCutchan7-Mar-16 21:56 
AnswerRe: Windows Client for my portal. Pin
lw@zi 7-Mar-16 18:59
professional lw@zi 7-Mar-16 18:59 
GeneralRe: Windows Client for my portal. Pin
ashu20018-Mar-16 16:46
Memberashu20018-Mar-16 16:46 
GeneralRe: Windows Client for my portal. Pin
lw@zi 8-Mar-16 17:30
professional lw@zi 8-Mar-16 17:30 
AnswerRe: Windows Client for my portal. Pin
ellegonzalez5-Jan-17 4:54
Memberellegonzalez5-Jan-17 4:54 
QuestionCreating DirectShow source filter Pin
ceatea17-Feb-16 9:59
Memberceatea17-Feb-16 9:59 

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.