Home   |   How-Tos   |   Tutorials   |   Web Development   |   Local News   |   About
Showing posts with label how-tos. Show all posts
Showing posts with label how-tos. Show all posts

Wednesday, October 18, 2017

How to download video from Youtube

2 comments
As of this writing, OnlineVideoConverter.com is the easiest way to download video directly from Youtube website without using any software. Follow this tutorial to learn how to download Youtube videos.

1. Copy Youtube video URL


Browse to any video you want from Youtube.com website and copy the URL from the address bar on a web browser which is shown below for example using Google Chrome web browser.















2. Convert a Video Link

Click on "Convert a Video Link / URL" on OnlineVideoConverter website's main page as shown in the picture below.















3. Paste Youtube URL into OnlineVideoConverter website

Right-click and paste the URL copied from Youtube website as shown below.















4. Select video format

Select video format from the drop-down options (MP4 is recommended as of this writing) as shown on image below.















5. Start your download

Now, click on Start download to start downloading the video.















6. Video is processing


You should see the video processing progress in percentage like this image.















7. Final Download button is ready


Click on the Download button which now launch the actual download.















8. Done.

Monday, April 21, 2014

Visual Basic 6: How to add item in ComboBox with custom ListIndex

1 comments
This tutorial will teach you to add an item to ComboBox with custom index (integer value) such as from a table primary key and selecting it programmatically. The Visual Basic 6 has not much functionality to implement this with ease but a simple workaround can get your program work as expected.

Add item to ComboBox with custom ListIndex

The following code snippet add an item to combobox with a custom index.  Let's say it has two fields namely id and name. The first line will add the name to the combobox, and the second will assign a new index to the newly added item.

Combo1.AddItem rs("name")
Combo1.ItemData(Combo1.NewIndex) = rs("id")

Calling the assigned custom ListIndex value

Now, to call the index value of a selected item we use the following code. This code will just display the custom index assigned to the ComboBox control. You can also assigned this to any variable on your program, but this time just to show you the value using MsgBox function.

Msgbox Combo1.ItemData(Combo1.ListIndex)

Assigning the Combobox with a specific ListIndex value (preferably integer value)

The most common way to assign a value into Combobox control is by using the .Text property. Sometimes we need to assign a value to a Combobox by a using specific integer value (e.g. from a table primary key field).  Unforunately, there is no built-in property to assign value into ComboBox programmatically in Visual Basic 6 using a specific integer value (not by a text value). But a simple workaround will do the job. Below is a simple loop which will stop selecting an item when the integer value is equal to the ItemData's index. This will mimic loading or selecting the correct item based on the comparison value.

Dim i As Integer
For i = 0 To Combo1.ListCount - 1
    Combo1.ListIndex = i       
    If Combo1.ItemData(Combo1.ListIndex) = rs("id") Then
        Exit Sub
    End If
Next i

This way, you can select an item in ComboBox control programmatically using a defined value or variable.

But this has disadvantage over large records because it loops all the way down to the target index value. Let's say we have a hundred thousand records, and the index is located somewhere near the last record. So the processing is CPU intensive. But this situation is rare for ComboBox usage. Overall, this is a good workaround to programmatically fill-up or select a ComboBox item.

Thursday, May 10, 2012

Virus: How to Remove Worm Or Autorun.inf In USB?

In todays world, viruses or worms are one of the main problems in computers. A computer virus is a malicious software which activity is to interfere the normal functions of computers like replicating files, overloading the memory that causes lag to computers, etc.  Also some viruses  initiate denial-of-service attack in which your internet connection will be disrupted.

How To Remove Autorun.inf In USB Flash Disk?

This type of virus infection is not really severe,  but the main problem is it will leave your USB flash drive with a file autorun.inf.  It is mostly found in infected USB flash disks and memory cards and automatically runs each time plugged into USB port of a computer.  It is very difficult to delete the autorun.inf file under Windows explorer even in DOS prompt. The exact name of the virus or worm which generate this file is Win32/Conficker.B!inf.  The only thing you could delete the said worm infection is to use Microsoft Windows Malicious Removal Tool from Microsoft.

The software can be downloaded in this link: http://www.microsoft.com/en-us/download/details.aspx?id=9905

Run the software and browse to your USB's root folder.

Saturday, March 3, 2012

How To Configure Cisco 2100 Cable Modem Using A Router

Cisco routers, switches and modems are one of the most well-known devices of its kind. This tutorial teaches you how to configure correctly the Cisco 2100 cable modem to a wireless or non-wireless router. Make sure the connection from your Cisco 2100 modem to your router is properly connected. The Cisco 2100 modem's RJ-45 port is connected to WAN port of your router.

The Cisco 2100 modem's default IP is 10.2.0.1. But this will not be used in your router settings but just as reference.

Router IP address
Usually the default IP of your router is one of these: 192.168.0.1, 192.168.1.1 or 192.168.2.1 or similar to that of the modem. If you are not sure please refer to your router's user's manual for the default IP, username and password (in case you didn't changed anything).

How to access router's web interface
You can access router's configuration by typing-in your router's IP address in the address bar of a web browser. Login using appropriate username and password. 

Configuring your router
The only thing you need to configure is the LAN settings of your router. Change it to 10.2.1.1 so that it will not get conflict with the Cisco 2100 cable modem. Also changed the subnet mask to 255.255.255.0.

Hope this guide can help you.