@Zennerdiode
Hi, I tried to put the code in the second forms close event but it would not run. the only way i could do it that way was to duplicate the code in the second module. Not very effective code though
Thanks Klaus,
That logic works a treat. Thank you
While dealing with a timer I have been trying to show the status of a file being transfered from the net by ftp. I had this code
Sub Timer1_Tick
MaxN = FileSize (AppPath & "\CeProducts.csv")
lblStatus.Text="Downloading Size = " & MaxN
Menu.Refresh
End Sub
Sub Download
Timer1.Enabled=True
Timer1.Interval=500
ftp.GetFile("CEProducts.csv",AppPath & "\CEProducts.csv")
End Sub
However the timer event never fires. Does the FTP not allow the firing of the Timer? Is there any other way to show a download progress? Maybe i should post this as anoter question
Thanks again
Joe