Posts

Showing posts from October, 2013

C# Tutorial 93: How to list Files and Folders in the selected directory ...

Image
---------------------------------------------------------------- Populate files into a listbox from a folder in C# windows C# Open files from listbox file listing how to add folder to a listbox in .net Listing directory files in a listbox and open them Directory Of Folder Names In Listbox - C# Get Files Into List Box - VB.NET Add To Listbox Using OpenFileDialog - C# Recursively Adding Files To A ListBox - C# Browsing files with DriveListBox, DirListBox and FileListBox Filling listbox with files in a directory C# Live updating listbox and duplicates Need List box to read and display files in C Sharp  Extracting Path from OpenFileDialog path/filename  How to use Open File Dialog to Select a Folder  how to get only file names from the directory Get path only of a file name? - C#  How to use Open File Dialog to Select a Folder Extract file name from full path

How to use html5 Geo location code with Google maps

How to use html5 Geo location code with Google maps <!DOCTYPE html> <html> <head> <title> IP Demo </title> </head> <body> <section id= "wrapper" > Click the allow button to let the browser find your location. <script src= "http://maps.google.com/maps/api/js?sensor=true" ></script> <article> </article> <script> function success ( position ) { var mapcanvas = document . createElement ( 'div' ); mapcanvas . id = 'mapcontainer' ; mapcanvas . style . height = '400px' ; mapcanvas . style . width = '600px' ; document . querySelector ( 'article' ). appendChild ( mapcanvas ); var coords = new google . maps . LatLng ( position . coords . latitude , position . coords . longitude ); var options = { zoom : 15 , center : coords , mapTypeControl : false , navigationControlOptions : { style : ...

HTML5 JavaScript code to find the current location in map

Image
<! DOCTYPE html > < html > < head > < title > Geolocation Demo </ title > < script > var x = document . getElementById ( "demo" ); function getLocation () { if ( navigator . geolocation ) { navigator . geolocation . getCurrentPosition ( showPosition , showError ); } else { x . innerHTML = "Geolocation is not supported by this browser." ;} } function showPosition ( position ) { var latlon = position . coords . latitude + "," + position . coords . longitude ; var img_url = "http://maps.googleapis.com/maps/api/staticmap?center=" + latlon + "&zoom=14&size=400x300&sensor=false" ; document . getElementById ( "mapholder" ). innerHTML = "<img src='" + img_url + "'>" ; } function showError ( error ) { switch ( error . code ) { case error . PERMISSION_DENIED : x . innerHTML = "User d...

Write a C# Program to convert Binary to Decimal

Write a C# Program to convert Binary to Decimal using System ; using System.Collections.Generic ; using System.Text ; namespace Program { class Program { static void Main ( string [] args ) { int num , binary_val , decimal_val = 0 , base_val = 1 , rem ; Console . Write ( "Enter a Binary Number(1s and 0s) : " ); num = int . Parse ( Console . ReadLine ()); /* maximum five digits */ binary_val = num ; while ( num > 0 ) { rem = num % 10 ; decimal_val = decimal_val + rem * base_val ; num = num / 10 ; base_val = base_val * 2 ; } Console . Write ( "The Binary Number is : " + binary_val ); Console . Write ( "\nIts Decimal Equivalent is : " + decimal_val ); Console . ReadLine (); } } } ----------------...

How to convert decimal to Binary, Octal, Hex conversion in C#

How to convert decimal to Binary, Octal, Hex conversion in C# Random rand = new Random (); int value = rand . Next ( 0 , 1001 ); String binaryRepresentation = Convert . ToString ( value , 2 ); String octalRepresentation = Convert . ToString ( value , 8 ); String base10Representation = Convert . ToString ( value ); String hexRepresentation = Convert . ToString ( value , 16 ); // Any other bases and you are on your own. // Go the other way. int binary = Convert . ToInt32 ( binaryRepresentation , 2 ); int octal = Convert . ToInt32 ( octalRepresentation , 8 ); int base10 = Convert . ToInt32 ( base10Representation ); int hex = int . Parse ( hexRepresentation , System . Globalization . NumberStyles . HexNumber );   // alternative Console . WriteLine ( "Binary: " + binaryRepresentation + " = " + binary . ToString ()); Console . WriteLine ( "Octal: " + octalRepresentation + " = " + octal . ToStrin...

Beginners LabVIEW Tutorial 3: Using Loops in LabVIEW

Image
--------------------------------------------------------------- Passing Data Between Loop Iterations in NI LabVIEW LabVIEW - Timed Loops  Basic LabVIEW Loops and Conditional Statements Pass value between while loops For Loop Conditional Terminal Loop timing - LabVIEW General Parallel Loops in LabVIEW LabVIEW example loops Your First LabVIEW Program Basic LabVIEW Building and Loading your First LabVIEW Program A Quick Tutorial on LabVIEW Getting Started with LabVIEW for the FIRST time

Beginners LabVIEW Tutorial 2: Creating First LabVIEW Program

Image
---------------------------------------- Your First LabVIEW Program Basic LabVIEW Building and Loading your First LabVIEW Program A Quick Tutorial on LabVIEW Getting Started with LabVIEW for the FIRST time

Beginners LabVIEW Tutorial 1: Getting Started with LabVIEW

Image
----------------------------------------------- Getting Started with NI LabVIEW Basic LabVIEW - Tutorials An Introduction to LabVIEW Searches related to labview tutorial labview 2010 tutorial labview tutorial pdf labview download labview tutorial video labview 2009 tutorial labview 8.5 tutorial labview training labview 2012 tutorial

C# Tutorial 92: How to Download a File from Internet using C#

Image
------------------------------------------------------------------- C Sharp Download File Using C# How to Download a File - C Sharp C# How To Download an Internet File with C# Downloading a file from a PHP page in C# C# Webclient Stream download file C# download file from the web Searches related to How to Download a File - C Sharp C# c sharp download file from web c sharp download file from url c sharp download file from ftp c# uploading file c# email file java downloading file java file transfer visual basic file transfer     How to download a file in C# Creating a Web Scraper

C# Tutorial 91: How to get Source Code from a Website with C#

Image
----------------------------------------------------- Get HTML code from a website C# c# - How to get source code after simulate web page button click Get HTML code from a website C# C# code to read html source code of a web page How to get webpage source code using C# Download source code of a website in C# How to get Website Source Code with C# Get Web Page Contents in Code with C# Searches related to How to get Website Source Code with C# c# get web page source how to find source code of a web page how to view html code in browser c# download html

C# Tutorial 91: How to get Source Code from a Website with C#

Image
----------------------------------------------------- Get HTML code from a website C# c# - How to get source code after simulate web page button click Get HTML code from a website C# C# code to read html source code of a web page How to get webpage source code using C# Download source code of a website in C# How to get Website Source Code with C# Get Web Page Contents in Code with C# Searches related to How to get Website Source Code with C# c# get web page source how to find source code of a web page how to view html code in browser c# download html

SQLite Tutorial 3 : Working with important SqLite Queries (SELECT, INSER...

Image
--------------------------------------------------------- SQLITE - Simple Select Queries - SQLite Databases and Syntax Query Planning - SQLite SQLite query selecting number from list SQLite Query LanguageSearches related to sqlite query sqlite query examples android sqlite query sqlite select sql query sqlite tutorial sqlite3 query sqlite date query mysql query The SQLite Query Optimizer Overview SQLite Query Language: Date And Time Functions SQLite Update query is not working Using SQLite 3 sqlite query not working sql or sqlite query and getting result in a list Searches related to sqlite query list sql query select list mysql query list sql commands list sql join list sql update list sql query code write queries

SQLite Tutorial 3 : Working with important SqLite Queries (SELECT, INSER...

Image
--------------------------------------------------------- SQLITE - Simple Select Queries - SQLite Databases and Syntax Query Planning - SQLite SQLite query selecting number from list SQLite Query LanguageSearches related to sqlite query sqlite query examples android sqlite query sqlite select sql query sqlite tutorial sqlite3 query sqlite date query mysql query The SQLite Query Optimizer Overview SQLite Query Language: Date And Time Functions SQLite Update query is not working Using SQLite 3 sqlite query not working sql or sqlite query and getting result in a list Searches related to sqlite query list sql query select list mysql query list sql commands list sql join list sql update list sql query code write queries

SQLite Tutorial 2 : Download and Install Free SqLite GUI Manager for Win...

Image
----------------------------------------------------------------- Searches related to free sqlite manager free sqlite manager download    Mozilla Firefox free sqlite manager mac Searches related to firefox sqlite manager firefox sqlite manager tutorial firefox sqlite manager foreign key sqlite manager add-on for firefox chrome sqlite manager sqlite manager download sqlite manager ubuntu sqlite manager fix this problem sqlite manager theme freeware sqlite manager sqlite database manager best sqlite manager open source sqlite manager sqlite management app sqlite management tools best free Sqlite management tool? Best Free SqLite GUI Manager for Windows - Which SQLite administration console do you recommend Searches related to open source sqlite manager sqlite manager windows free sqlite manager sqlite admin windows best free sqlite

SQLite Tutorial 1 : Getting started with SQLite and Installation (+playl...

Image
----------------------------------------------------------- A Simple Step-by-Step SQLite Tutorial How to use SQLite in Windows SQLite tutorial How do I install sqlite3  on Windows? Searches related to sqlite tutorial windows sqlite3 tutorial sqlite database tutorial sqlite sql tutorial sqlite3 update example sqlite create a database sqlite update statement example create db in sqlite3 sqlite3 attach database example

C# Tutorial 90: How to Display Google Maps in C# Windows Form

Image
---------------------------------------------------------- Show Your Data on Google Map using C# How to add google maps in a C# Program c# - how to display address in google map Display Google Map in Windows Form - C# / C Sharp display google maps in c# application C# And Google Maps - C# Integrating Google Maps with C# Embed Google Maps in C# how to show locations in a Google map Google Maps in C# Web Application

How to Install Notepad++ in Ubuntu Linux

Image
------------------------------------------------------------ What can I use as a Notepad++ alternative in Linux (Ubuntu) How to Install Notepad++ via WINE on Ubuntu Linux  Ubuntu: Easy steps to install and use Notepad++ The Notepad++ for Linux Searches related to how to install notepad++ ubuntu install filezilla ubuntu install 7zip ubuntu install jedit ubuntu Install Notepad++ in Ubuntu

How to install Wine on Ubuntu command line

Image
--------------------------------------- Searches related to How to install wine on ubuntu how to install wine on ubuntu without internet download wine ubuntu how to install wine on ubuntu 10.04 lts how to install wine on ubuntu offline how to install wine on ubuntu command line Installing the latest Wine on Ubuntu linux How to install wine on ubuntu linux Ways to Install Wine on Ubuntu linux how to install wine on ubuntu 12.04 without internet install wine kubuntu install wine xubuntu