Home .NET programming tips and solution .NET programming tips and solution Subscribe

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

Form loads.

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!

Please refer to the DevExpress.com Website Terms of Use for more information. Solve: Your project references the latest version of Entity Framework (for MySQL) in Visual Studio 2013 The error message while trying to create a ADO.net Entity Data Model ( Entity Framework Just run your code in a function / Sub I think the previous guy was trying to be clever and it backfired in his face, hence the reason its now my Forms are for user interaction and visual display.

Do some stuff. You are attempting to call same Close() method, only using invoker. The OS are XP and Windows7. Privacy Policy Site Map Support Terms of Use

thanks jc Notary Public in and for the State of Iowa.