How to Generate a Random Number in Java

Submitted by donbermoy on
In this tutorial, we will going to create a program that generates a random number using Java. We will just use the Math.random() function which returns a random number between 0.0 and 1.0 Now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of randomNumber.java. 2. Import javax.swing package.

Checking an Internet Connection in C#

Submitted by donbermoy on
This is a tutorial in which we will going to create a program that can determine if your are connected in the internet or not using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. Name your program internet csharp. 2. Next, add only one Button named Button1 and labeled it as "Check Internet Connection".

Text Editor in Visual Basic

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create a basic text editor in Visual Basic. Design: The design for this program is; Button, button1, Save the document. Button, button2, Open a document. Textbox, textbox1, Contain the document text. Imports: The only thing we need to import is System.IO which allows us to access files from the computers FileSystem...

Add,Edit and Delete Using CodeIgniter.

Submitted by ranjit1 on
In this tutorial you will be able to Add,Edit and Delete Data Using CodeIgniter. System Requirement to run CI: Xampp server or Wamp server . Any Browser Google chrome,Firefox,Opera,Safari.. etc. Php editor you can use Dreameaver,Notepad,Wordpad if you are using mac you can use textmate, or other compatible with your computer,for me i recommend Dreamweaver to easily fix the error if they have. This

How to get the extension of a file using Java

Submitted by donbermoy on
Today, I will teach you how to create a program that get the extension of a file using java. For example if we input a text file of .txt file extension then the output will be .txt. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of extensionFile.java. 2. Import java.io package.

Basic4Android How To Create a Lib And Use It

Submitted by jahswant on
This is a small piece of code showing how to create and use java libraries in basic4android. In the .java file I included, you will find a java class with many methods. And evidently a B4A project test showing the usage of all these methods. Sure you will have to compile using SLC or generate javadoc. I hope this project will help you build your own Libraries. It also shows how to use multiple Layouts and activities. Be sure to go forward. I want to be precise that i'm gaining in experience while consulting this forum every day. Thanks Very Much To All Forum Members... Jahswant.