Vent kitchen hood vent to roof turbine vent? Join & Ask a Question Need Help in Real-Time? Place the following code in a shared module. his comment is here The code looks like this Private Sub frmMain_Shown(sender As Object, e As System.EventArgs) Handles Me.Shown Try Me.DoImport() Me.Close() Catch ex As Exception WriteToErrorsLog(ex.ToString) End Try End Sub This post has been
Thursday, August 09, 2012 9:24 AM Reply | Quote 0 Sign in to vote Thank you so much it's working perfectly Saturday, January 18, 2014 4:42 PM Reply | Quote 0 I can only assume my original problem can't be solved "Easily". Web site: http://www.ianotary.us A+, DCSE, e-Biz+, i-Net+, MCDST, MCP, Network+, Security+, A.A.S (Hons.) Visual Basic .NET Video Tutorials | Login Form using backend database (.NET) | Useful site for sending email
This video shows you how. can u try doing: frmMain.objfrm = new frmMyForm(); Cheers –MarcosMeli Jan 20 '10 at 11:36 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign Kevin Is This A Good Question/Topic? 0 Back to top MultiQuote Quote + Reply Replies To: Call Close() on a windows form. #2 deery5000 D.I.C Lover Reputation: 87 Posts: 1,097 Should I report it?
Posted 08 July 2013 - 04:26 AM deery5000, on 08 July 2013 - 05:21 AM, said:me.close() formName.close() seems very odd to me to open a window and close it. share|improve this answer edited Oct 1 '12 at 10:10 answered Oct 1 '12 at 8:53 Samy S.Rathore 89331637 add a comment| up vote 1 down vote it is hard to say If you don't want the form open then why show it in the first place? weblink Instead of calling me.close, do thisMe.BeginInvoke(New MethodInvoker(AddressOf CloseIt))private sub CloseIt() me.closeend sub Friday, September 12, 2008 11:49 AM Reply | Quote 0 Sign in to vote Thanks CodeCruiser!
thanks jc Notary Public in and for the State of Iowa.