Tag Archives: How to

How to Center a form in run time in .Net?

The built-in StartupPosition property will set the form to center of the screen when the form is loaded. Let’s say the user of your application moves the form and want it back to center of the screen again. The following … Continue reading

Posted in VB.Net | Tagged .Net, How to, How to Center a form, run time, vb.net code | Leave a comment

How to Check whether a Windows Service is running or not by passing the service name

Here is the awesome VB.Net code to check whether the windows service is running or not by passing the service name: Instructions: Open a New Console application Add a new bas module called modMain Set a reference to System.ServiceProcess (Go … Continue reading

Posted in System & API, VB.Net | Tagged c#.net .Net, How to, How to check service running, VB.Net, vb.net code, windows service running | Leave a comment

How to Check whether the application is running in IDE or as EXE

In our Windows Application, some times we may need to check whether our application is running in IDE or is running as EXE. A typical example would be, we might use Development Server while working in development/debug mode. Once the … Continue reading

Posted in VB.Net | Tagged application running in IDE, c#.net .Net, How to, How to check application running, VB.Net, vb.net code | Leave a comment

How to properly terminate the application by passing the process name

We should not directly kill the process. We should properly close the main window of the application using CloseMainWindow(). Here is the proper way of terminating the application in VB.Net. The code below will request the application to close properly … Continue reading

Posted in System & API, VB.Net | Tagged c#.net .Net, How to, How to terminate application, proper way of terminating the application, terminate application, VB.Net, vb.net code | Leave a comment

How to create a simple internet browser in Visual Basic 2008

Here is the presentation of how to create a simple web browsers using Visual Basic 2008: Author: SimpleVbTuts Incoming search terms:browser in vb net 2008dot net for developing web browserhow to a web browser using visual basic 2008how to create … Continue reading

Posted in Presentation, VB.Net | Tagged create web browsers, design web browser, How to, Presentation, Visual Basic 2008 | Leave a comment