Langsung ke konten utama

Postingan

Menampilkan postingan dari Juni, 2017

How to swap the camera so Opera 12 uses front camera for getUserMedia()

Essentially you only need to swap the tags 'front' and 'back' in the file /etc/nvcamera.conf The change is permanent across reboots, but messes the orientation/mirror image of the cameras, so the rear camera becomes a mirror image, not the front. This messes all portrait shots as the camera pic becomes upside down. Device needs to be rooted.

CARA MEMBUAT FORM LOGIN SEDERHANA DENGAN KONEKSI DATABASE PADA C#

Pertama yaitu buat kelas Koneksi.cs dengan klik kanan pada project Anda => Pilih Add Class => Beri nama dengan Koneksi dan ketikkan kode berikut nama databasenya disesuaikan : [csharp] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; namespace KeretaApi { class Koneksi { static string conn; public static SqlConnection Conn { get { return new SqlConnection(conn); } } static Koneksi() { string connStr = "server=localhost;" + "database=KeretaApi;" + "Integrated Security=TRUE"; conn = connStr; } } } [/csharp]

Add, Edit, and Delete in DataGridView with Paging

Introduction The article, or rather code snippet, demonstrates a simple application to insert, update, and delete using a DataGridView. The application uses an asynchronous architecture for most of the calls to the database. This is to show that without a hanging UI, we can allow the user to continue with his tasks. The application has the following outline: Get all SQL Server instances from the network. Get all databases from the selected instance. If the user provides an empty user name or password, or a wrong user name or password, the same list of SQL Server instances will be returned. The code is available here[^]. Get all tables from the selected database. Get all records from selected table. Add, edit, delete records from the DataGridView. A paging feature with number of records per page is also provided. source here  

Web Real-Time Communications (RTC)

WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose. Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols. The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team. source