How to Create a Guess My Number Game in Python

Submitted by Yorkiebar on
Introduction: This tutorial is on how to make a guess my number game in Python. The Game: This is a simple game where the computer chooses a random number, then the player has a certain amount of guesses to guess the correct number by following the feedback (too high, or too low). The Imports: First we need to import the random module to let the computer choose a random number...

Insert multiple data from your database using While Loop in PHP and MySQL

Submitted by ronard on
Hi sourcecodester, Do you wish to insert multiple data to your database using While Loop? Will PHP and MySQL can do that. Just select the table you want to insert in another table then loop it using "While Loop". And just define a variable you want to insert to another table and call it to your insertion query. Then run it to your web browser. The multiple data will automatically add to your table

Play Music in VB.NET

Submitted by donbermoy on
Music is a sound that is sung by voices or played on musical instruments. I know all of us are music lovers :) In this tutorial, we will create a program that can play a song or a music file. Now, let's start this Font Dialog 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. 2.

Auto Data From DataGridView

Submitted by vongsay on
This is a sample code using VB.NET 2008 and SQL Server 2005 to show how to auto save data from DataGridView to database. You can browse the code and try it yourself. 1. you need to restore database from folder Database 2. open AutoSaveOnDataGridview solution 3. Change database connection in file app.config I hope you enjoy it.

Reorder List Items in Vb.net

Submitted by donbermoy on
Hi! this is my another tutorial in vb.net that reorder an item in the listbox into descending order to ascending, or into ascending to descending order; vice versa. 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. 2. Next, add one TextBox named Texbox1 which serves as your input items in the Listbox.

Online Catering Reservation Using PHP/MySQL

Submitted by jery on
This complete system will help you to create a online catering reservation using PHP PDO query. the feature of this system is it allows you to backup and restore database without using phpmyadmin windows. Others feature of this products includes, it can generate reservation details report, can assign a catering team in each reservation, secure login, filter user based on their rules and manage

Encrypting a Text in VB.NET

Submitted by donbermoy on
Encrypting is the translation of data into a secret code. Encryption is the most effective way to achieve data security. And for now we will create a program that can encrypt an inputted text. Now, let's start this Font Dialog 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. 2.

Animation in VB.NET

Submitted by donbermoy on
Animation is a simulation of movement created by displaying a series of pictures, or frames. Cartoons on television is one example of animation. Animation on computers is one of the chief ingredients of multimedia presentations. There are many software applications that enable you to create animations that you can display on a computer monitor. And for now, we will create an animation using vb.net. Now, let's start this tutorial! 1.

How to Read and Write To/From Files in Python

Submitted by Yorkiebar on
Introduction: In this tutorial, we are going to be covering handling files in Python. Generic: To read or write from/to a file, we first need to create a stream. To do this we use the Python function 'open' which takes two parameters, the file, and the mode. The file should a file name (including directory location if it is not in the same directory as the current program) as a string, while the mode should also be a string. Don't forget to replace any backslashes in the directory with two backslashes to avoid Python escape character problems.

Word Count Program in VB,NET

Submitted by donbermoy on
For this article, we will create a program that will count the number of words in a TextBox. But we will just use the RichTextBox instead of TextBox :) 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. 2.