Do While Loop Structure

this is the basic code of Do While Loop Structure in VB6 this structure is similar to Do Loop While Structure Private Sub Command1_Click() Dim co As Integer         co = 1'set co to 1               Do While co <= 10                    Print co 'print the value...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Do Loop While Structure

This is the Basic way on how to do the coding of Do Loop While Structure in VB6 this condition will print vertically 1 through 10 Private Sub Command1_Click()    Dim co As Integer       co = 1 'set the value of co to 1             Do                  Print co...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Select Case Structure

this is the basic code of Selection Structure Dim Adrian as Integer Adrian=Text1.Text Select Case Adrian    Case Val(Adrian) > 100         MsgBox"You Enter Greater than 100"   Case Else       MsgBox"You Enter less than 100" End Select Happy Cod...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

How to Add Data Enviroment in Vb6

This is the Basic way on how to add Data Environment on your Visual Basic 6.0 and adding some commands for your database data manipulation for data reporting 1.) You must go to Project>More Active X > Data Enviroment like shown in the image below 2.) then it will Look like this 3.) to create a connection...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

How to Connect Database via System DSN using VB6

Hello guys this single line of codes will show to you on how to connect your database via System DSN connecting your database is very use-full because you can Easily locate your database and open it through your VB6 without typing a lot of Code>>> NOTE Make sure that you Add a Active X data Objects tobuild a Database and Record-set Connection Dim Conn As Adodb.Connection Private Sub Form_Load()      ...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

How to Create a System DSN of SQL Server

This is a few steps on how to Create a System DSN of SQL Server Locate your Control Panel then Click Administrative Tools Then Click Data Source (OBDC)   Click the System DSN Tab then click ADD button hen Locate for the SQL Driver named SQL Server then click Finish then...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

How to Create a System DSN of MS Access

This is a few steps on how to create as System DSN of a MS Access Database Locate your Control Panel then Click Administrative Tools Then Click Data Source (OBDC) Click the System DSN Tab then click ADD button then Locate for the MS Access Driver name...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

How to Format Currency in VB6

This basic and a single line codes will demonstrate to you on how to Format in a Currency form a General Number type like 123456, it will be done  like this      Format$("123456","#,##0.00") So the Output is 123,456.00 it turn into Currency Form in the Other hand you can Insert a single letter in this format like for example,my Currency Symbol is P, it look like this     Format$("123456","P...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

IF Then Else Selection Structure in Vb6

A selection structure is used yo choose among alternative courses of action or instruction. Like for Example the if the Required Number is greater than 50,so we can coded it like this: If NumberOfPeople >50 then  MsgBox"You Meet the Number of People"   Else   MsgBox"Sorry!,You Did Not Meet the Number of People"End If the  pseudo-code of this is If the number of people is greater than 50   ...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

How to Use A Boolean Data Types in V6

Hello guys this sample code,i will show to you on how to use a Boolean Data Types on your own Visual Basic Program first you must Declare it,whether on a Module for the user can access it or used it all the time, or in a Control Event like Load,click,Mose-move event etc...  we can code it like this Public Adrian As Boolean or Dim Adrian As Boolean Note: Boolean Data Types can only Holds aTrue And False Statement We...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Library and Billing System

Hello guys this is my sample Library Management System, this will do the basic task of a School Library System Features>>...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Hotel Reservation And Billing System

This is my simple project Hotel Reservation and Billing System,it can do the basic Process of a Hotel Management ...
Continue Reading with Borgy's Blog »
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Copyright @ Codes-47.Blogspot.Com. Powered by Blogger.