AW: [pro_vb] Re: Filesystem
Here is a peace of code for you
i hope it helps you...
Private Sub List1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 46 Then
'Imentally the user is pressing the esc-key
End If
End Sub
Private Sub List1_Keyup(KeyCode As Integer, Shift As Integer)
Dim SelList%
If KeyCode = 46 Then
' user has finishd pressing esc-key
' note this for does only help by selecting one key
For SelList% = 0 To List1.ListCount - 1
If List1.Selected(SelList%) = True Then Exit For
Next
MsgBox List1.List(SelList%) & " is selected"
End If
End Sub
Cheers Kilian !
-----Ursprüngliche Nachricht-----
Von: Richard Ainsley [mailto:rainsley@p...]
Gesendet: Donnerstag, 17. Oktober 2002 19:46
An: professional vb
Betreff: [pro_vb] Re: Filesystem
I would very much like to see the source code that performs this. Would you
be so kind as to post it?
Thanks,
Richard Ainsley
----- Original Message -----
From: "Satyajeet Hattangadi" <satyajh@m...>
To: "professional vb" <pro_vb@p...>
Sent: Thursday, October 17, 2002 5:14 AM
Subject: [pro_vb] Re: Filesystem
> You will have to monitor that particular folder using the
> FindFirstChangeNotification API in conjunction with WaitForSingleObject
> I can mail you an example if you wish.
> Planet source code had an excellent example of a multithreaded folder
monitor.. cant remember the link to that though
> HTH
> Satya
>
> ----- Original Message -----
> From: "George Theodorakopoulos" <gtheo@b...>
> To: "professional vb" <pro_vb@p...>
> Sent: Thursday, October 17, 2002 4:33 PM
> Subject: [pro_vb] Filesystem
>
> > Hello All...
> > I want to execute a subroutine when a new file enters in a specific
> > directory. How can i do this??
> > Thanx
> >
> >
> >
> >
> > ---
> > Visual C# - A Guide for VB6 Developers
> > This book will make it easy to transfer your skills
> > from Visual Basic 6 to C#, the language of choice
> > of the .NET Framework.
> > http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
> >
> > ---
> > Change your mail options at http://p2p.wrox.com/managerasp or
> > to unsubscribe send a blank email to %%emailunsub%%.
> >
>
> *********************************************************
> Disclaimer
>
> This message (including any attachments) contains
> confidential information intended for a specific
> individual and purpose, and is protected by law.
> If you are not the intended recipient, you should
> delete this message and are hereby notified that
> any disclosure, copying, or distribution of this
> message, or the taking of any action based on it,
> is strictly prohibited.
>
> *********************************************************
> Visit us at http://www.mahindrabt.com
>
>
>
> ---
> Visual C# - A Guide for VB6 Developers
> This book will make it easy to transfer your skills
> from Visual Basic 6 to C#, the language of choice
> of the .NET Framework.
> http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
>
---
Visual C# - A Guide for VB6 Developers
This book will make it easy to transfer your skills
from Visual Basic 6 to C#, the language of choice
of the .NET Framework.
http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059