Chikita leaderboard

Biyernes, Nobyembre 18, 2011

How to use Heading Tags and Internal CSS in DHTML

In this tutorial, I will show you how to use an Internal Cascading Style Sheet.  There are 3 types of Cascading Style Sheet (CSS) and these are:

* Inline CSS
* Internal CSS
* External CSS

Internal CSS are placed between the <HEAD> </HEAD> tag of Hypertext Mark-up Languange (HTML) page.  It used to format HTML tag like Heading, Paragraph and even Body.  Using CSS in HTML page lessen the encoding time by pre-formatting common HTML tags and re-use it in your HTML page.

Here are the following codes used in this tutorial:

<style type="text/css">
h1{font-size:12;font-family:Comic sans MS;color:#0000FF}
h2{font-size:18;font-family:Monotype Corsiva;color:#00FF00}
<h1>This is H1 heading</h1>
<h2>This is H2 heading</h2>
<h3>This is H3 heading</h3>

Share and Enjoy!

Sabado, Nobyembre 12, 2011

How to use ComboBox in VB 6.0

Visual Basic 6.0 has more than enough Controls to use in every programming jobs and one of them is ComboBox. The ComboBox control is a sort of mixture between a ListBox and a TextBox control in that it also includes several properties and events that are more typical of the latter. ComboBox controls automatically sort their items using the Sorted property and you can add items at design time using the List item in the Properties window or using Additem property at Run time.
There's an interesting tip in this video tutorial and that is showing the years from 1900-2011 using Do-While Loop in ComboBox, a tedius task if you type it one by one from 1900-2011!Wow!

Here are the codes in this tutorial:

Dim a, b As Integer

Private Sub Combo1_Click()
If Combo1.Text = "Blue" Then
Label1.ForeColor = vbBlue
ElseIf Combo1.Text = "Red" Then
Label1.ForeColor = vbRed
ElseIf Combo1.Text = "Green" Then
Label1.ForeColor = vbGreen
End If
End Sub

Private Sub Command1_Click()
Label1.Caption = Combo2.Text + " " + Combo3.Text + ", " + Combo4.Text
End Sub

Private Sub Form_Load()
Combo1.AddItem "Blue"
Combo1.AddItem "Red"
Combo1.AddItem "Green"

Combo2.AddItem "January"
Combo2.AddItem "February"
Combo2.AddItem "March"
Combo2.AddItem "April"
Combo2.AddItem "May"
Combo2.AddItem "June"
Combo2.AddItem "July"
Combo2.AddItem "August"
Combo2.AddItem "September"
Combo2.AddItem "October"
Combo2.AddItem "November"
Combo2.AddItem "December"
a = 0
Do While a < 31
a = a + 1
Combo3.AddItem a

b = 1899
Do While b < 2011
b = b + 1
Combo4.AddItem b

End Sub

Share and Enjoy!

Huwebes, Nobyembre 10, 2011

How to Connect MS Word to print an output in VB 6.0

Did you ever wonder if you can connect your MS Word document to your VB 6.0 for a dynamic print output? Now you can, in this video learn how to use MS Word Forms Component Text Form and use MS Word to create custom Print Setup like Letter, Legal, A4 or any custom size and connect it to your Visual Basic programs.  Here are the codes used in this video tutorial: 

Private Sub Command1_Click()
Static wd1 As Word.Application
Static wd1Doc As Word.Document
Set wd1 = New Word.Application
wd1.Visible = True

Set wd1Doc = wd1.Documents.Add(App.Path & "\")

With wd1Doc
  .FormFields("W_name").Range = Text1.Text
 .FormFields("W_address").Range = Text2.Text
    .FormFields("W_occupation").Range = Text3.Text
End With
Set wd1 = Nothing
Set wd1Doc = Nothing

End Sub

Share and Enjoy!

Martes, Nobyembre 8, 2011

How to use ListBox and Do-While Loop Statement in VB 6.0

ListBox is a powerful control in MS Visual Basic 6.0.  It has wide range of properties that can be helpful in creating data rich programs. For example, you set the Sorted attribute to True to create ListBox controls that automatically sort their items in alphabetical order. By acting on the Columns property, you create a different type of list box, with several columns and a horizontal scroll bar, instead of the default list box with a single column and a vertical scroll bar along its right border. You can make assignments for both these properties only at design time, and you can't change the style of the ListBox control while the program is running.

In this video tutorial, you will learn how to use some of the properties of ListBox like ListCount, ListItem, List.Additem and so much more.  Here are the following code in this video tutorial:

Private Sub Command1_Click()
If List1.ListCount > 0 Then
List2.AddItem List1.Text
List1.RemoveItem List1.ListIndex
End If
End Sub

Private Sub Command2_Click()
Do While List1.ListCount > 0
List2.AddItem List1.List(0)
List1.RemoveItem 0
End Sub

Private Sub Command3_Click()
If List2.ListCount > 0 Then
List1.AddItem List2.Text
List2.RemoveItem List2.ListIndex
End If
End Sub

Private Sub Command4_Click()
Do While List2.ListCount > 0
List1.AddItem List2.List(0)
List2.RemoveItem 0

End Sub

Private Sub Form_Load()
List1.AddItem "Monday"
List1.AddItem "Tuesday"
List1.AddItem "Wednesday"
List1.AddItem "Thursday"
List1.AddItem "Friday"
List1.AddItem "Saturday"
List1.AddItem "Sunday"
End Sub

Share and Enjoy!

Sabado, Nobyembre 5, 2011

How to use Heading Tags and Internal CSS in DHTML.

In this video tutorial, you will learn how to use Heading tags in your HTML page and how to manipulate them using Internal CSS.

Heading tags are used to define the headings in your page. There are 6 available, h1 set of heading tags being the biggest and boldest and the h6 set being the smallest. An internal style sheet should be used when a single document has a unique style. Here are the codes for this tutorial:



<style type="text/css">


h1{font-size:12;font-family:Comic Sans MS;color:#0000FF}

h2{font-size:18;font-family:Monotype Corsiva;color:#00FF00}





<h1>This is H1 Heading</h1>

<h2>This is H2 Heading</h2>

<h3>This is H3 Heading</h3>



Share and Enjoy!

Miyerkules, Nobyembre 2, 2011

Mobile Phones Trends in the Philippines

Known as the texting capital of the world, the Phillippines is #37 in rank along side Mexico and China as the world's most mobile phone users with 17.77 out of 100 people base on Media Statistics of  It only shows that Philippines is a lucrative market for mobile phones companies.  Keeping the facts straight, Philippines has almost 100 million population and almost 1.7 million of these are mobile phones owner!

Apple Iphone and Nokia are still heading the pack, especially on smart phones, but not far behind are emerging notables that can give a run for your money. Below are list of some of the best smart phones available today.

Apple Iphone 4S
Nokia C3
Sony Ericsson Xperia X10

Samsung Galaxy S II

Motorola Atrix 4G
LG Optimus One
Smart Phones as a gift will never go wrong especially this coming holidays. Different phones have different features so get the one that suits your needs and lifestyle.

Martes, Nobyembre 1, 2011

How to use Frame, Option Button, Check Box in VB 6.0.

Sa video na ito ginamit at pinagkumpara ang kaibahan ng Option(Radio) Button at Check Box.  Matututunan din sa video na ito ang mga Text Properties na FontBold, FontItalic at Forecolor.  Ang mga code sa video na ito ay ang mga sumusunod:

Private Sub Option1_Click( )

Text1.FontBold = True

End Sub
Private Sub Option2_Click( )

Text1.FontItalics = True

End Sub
Private Sub Check1_Click( )

Text1.ForeColor = #FF0000

End Sub
Private Sub Check2_Click( )

Text1.ForeColor = #0000FF

End Sub

Share and Enjoy!

How to use Textbox, Label and Command Buton in VB 6.0

Sa video na ito matututunan kung ano at paano gamitin ang TextBox, Label at Command Button sa VB 6.0.  Ito ay ang  mga pangkaraniwan Component na ginagamit sa programs na gawa sa Visual Basic 6.0.  Ang mga code na ginamit sa video na ito ay ang sumusunod:

Private Sub Command1_Click( )

Labe1.Caption = Text1.Text

End Sub

Good for beginners na gustong matuto ng VB 6.0.  Share and Enjoy! ^_^

Linggo, Oktubre 30, 2011

Intro to VB 6.0

Ang MS Visual Basic 6.0 ay isang software na ginagamit para makagawa ng iba't ibang klase ng programs tulad ng Inventory System, Games, Media Player at iba pa.
Matututunan sa Video na ito ang MS Visual Basic 6.0 Integrated Development Environment at ang mga windows na sumusunod:

* Toolbox Window
* Project Explorer Window
* Color Palette Window
* Properties Window
* Form Layout View Window

 Share and Enjoy!

Sabado, Oktubre 29, 2011

How to Become a Computer Programmer?

Gusto mo bang maging programmer?  Base sa aking karanasan, may tatlong paraan kung paano maging programmer.  Kahit ako hindi ko naman pinangarap sa una na maging computer programmer.  Ang una kong kurso sa kolehiyo ay BS. Secondary Education, tapos biglang nagshift sa BS. Civil Engineering, napunta sa BS. Business Management at pinakahuli ang Computer Technician.  Layo pa rin di ba? Hardware yun Computer Technician, tapos Software naman Computer Programming.

Ito lang paalala ko, kahit isang programming language lang ang alam mo at kahit hindi pa Computer Programming ang kurso mo, basta nakakagawa ka ng program at nakakatulong ito sa iba, walang magsasabi na hindi ka programmer.  Better watch this video na ginawa ko para malaman mo kung saan category ka sa pagiging programmer at makuha ka ng tips on how to become one.  Share and enjoy!