Membuat Program Bengkel Dengan Visual Basic

5/16/2019

Dengan menggunakan Visual Basic 6.0 dapat membuat beberapa program mulai dari program yang sederhana sampai program yang dikategorikan sulit. Salah satu program sederhana yang dapat dibuat adalah penghitungan luas segitiga. Cara Membuat Program Aplikasi. Download Kumpulan Source Code cara membuat program aplikasi komputer dengan vb / visual basic, web, php, java, delphi. Jalankan program(F5) maka Form1 sudah berhasil menampilkan laporan berdasarkan data yang tersimpan di tabel mahasiswa pada database Ms SQL Server. Demikian tutorial cara Membuat Laporan dengan Visual Basic 2010.Net dan Ms SQL Server. Selamat mencoba dan semoga bermanfaat. Source code lengkap dapat anda download di sini.

I have a welcome to my application as it loads up, but then need to have that form close and login form open when the continue button is hit.

My code:

When I click the button it only closes the welcome form and then ends the application. If you can help thanks! :)

BaeFellBaeFell
Bengkel

8 Answers

You can set the properties of the project to select 'When last form closes' in the shutdown mode dropdown

Update:-

'Project' menu -> 'YourApp' Properties.. -> Application Tab

find : 'Shutdown Mode'

Change from

'When startup form closes' --> 'When last form closes'

Rahul TripathiRahul Tripathi
Markjw2Markjw2
Dengan
Zigab123Zigab123

There is a shutdown mode project property. This controls the application lifecycle.

Make sure you set this to 'When last form closes'

Then your code should work as you expect.

What is happening is that you have that setting set to shutdown 'when startup form closes', so by doing Me.Close on the startup form, this shuts down the application, all code after this line is effectively ignored.

Matt WilkoMatt Wilko

Membuat Program Bengkel Dengan Visual Basic

If your Welcome Form isn't your main form, you just need to put your Me.Close after your Login.Show()

AlexAlex
Visual

Free download autorun.exe pes 2013. Try this.

On your welcome form when closing:

Proxima nova font download zip. Mar 16, 2018 - Proxima Nova (2005) bridges the gap between typefaces like Futura and Akzidenz Grotesk. The result is a hybrid that combines modern. Jan 28, 2018 - License This font software is the valuable property of Ascender Corporation and/or its suppliers and its use by you is covered under the terms of.

On your login form when in loading event:

This will try to hide the first form and load the second form. And when second form is completely loaded it will try to close the first form.

Make sure that on your Application Tab under your Project properties the option is set to 'When last form closes'. Microsoft office professional plus 2013 download.

BullfrogIIIIBullfrogIIII

If you close sub main form from application, your application will close. However, you can close and open other forms if they are not the sub main form. Maybe you can just hide it instead.

DanielDaniel

You just need to put Hide() instead of Close :)

So for example, in the project im doing right now..

FilipFilip

protected by user557846 Aug 9 '16 at 2:07

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged vb.netvb.net-2010 or ask your own question.

Comments are closed.