1.) First you must click the Project Tab shown in the figure below,Then Click Add Data  Environment 2.) Connection Environment will Appear 3.) To connect to Data Source Name,just right-click the connection,then click properties like shown on the image below ...
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

1.) First you must click the Project Tab shown in the figure below,Then Click Add Data  Environment 2.) Connection Environment will Appea...
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

1.) First you must click the Project Tab shown in the figure below,Then Click Add Data Environment 2.) Connection Environment will Appear 3.) To connect to Data Source Name,just right-click the connection,then click properties like shown on the image below 4.) Data Link Properties...
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 Display Data in Combo Box

This is the basic way and a basic code on how you to Add Data on Combo Box Control of your Vb6 program the code below is show you the static way that the data has never change during runtime: With Combo1    .AddItem "Adrian"    .AddItem "Panoy" End With The Code below show you the dynamic way because the data are fetch from your database: Note: Make sure that your Database Connection is properly established Adrian="SELECT...
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 Count Down Timer in Vb6

This is the very basic way on how you to create your own count down timer using timer Control on your Visual Basic Project just add 1 Label,1 Command button,and also a timer control,at label caption property make it 15,then at the timer control property under Enabled=False,and Interval=1000 which is equivalent to 1 seconds,then under command button clivk event place this code below Private Sub Command1_Click()     Timer1.Enabled...
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 Toolbar in Vb6

 This Tutorial will Show you on how to add a Toolbar Control on your visual Basic program, just follow the few steps below:  1.) Go to Project Tab like shown on the image below then click Components  2.)the components dialog box will prompt,and just simply find the Microsoft windows  common Controls...
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

this is the very basic way on how to use the DATEPART function in vb6,to retrieve the day,month,year passed to the current date: CODE: Print "Days: " & DatePart("d", Now) Print "Year: " & DatePart("yyyy", Now) Print "Month: " & DatePart("m", Now) Print "Quarter: " & DatePart("q", Now) Print "Weeks: " & DatePart("w", Now) Print "Hour: " & DatePart("h", Now) Print "Minutes: " & DatePart("n", Now) Print...
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 Replace String in VB6

This sample code will show you on how to Replace a string on a Text-box Control using the   Replace Function and the code will done like this: Add  1 Text-box Control and 1 Command Button at the Text-box,Text property Put a Letter A and put this code under the Command Button Click Event Text1.Text = Replace(Text1.Text, "A", "B") 'this will Replace the letter A on the Text-box Control with Letter B, Hope you get the...
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 Slot Machine using VB2010

This is my first sample program using Visual Basic 2010 because i want to upgrade to Vb2010 from Vb6.0 and i hope you like it, this is a Simple program that generate 3 Random Numbers on a label control,and compute the price on each combination,on this program i used the Calling method,the Val function,If and Else Statement,the simple use...
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 Generate Random Numbers in Vb2010

Generating Random Numbers in Visual Basic 2010 is similar on how to Generate Random Numbers in Visual Basic 6.0, first you must add 1 button and 3 labels on the form then create a Sub Procedures named Randomize that shown in the code below: 'place this code on your button click event Call Randomize Sub Randomize() 'this is your random number generator         lbl1.Caption = CStr(Int(Rnd() *...
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 Generate Random Numbers in Vb6

this is the basic way on how to generate a Random Numbers in VB6, Just Add 3 Label Control named it with lbl1,lbl2,lbl3 and 1 command button, and create a Sub Procedure and call it vial click event of your command button and the code will look like this: Private Sub Command1_Click() Call Randomize End SubSub Randomize()         lbl1.Caption = CStr(Int(Rnd() * 10))        ...
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

Insert,Update,Delete

this is my sample program on how to Insert, Update, and Delete Via your database: theconnection is Done through system DSN, before running this program first create asimple DSN connection via control panel,if you have no idea on how to create a DSN Connection just follow this Link How to  create a System DSN of MS Access,follow...
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 Display Data on List View in Vb6

This is the basic way on how to display data on a List View Control in Visual Basic 6.0, First you must Add the control Project > Components > Microsoft Windows Common  Controls  6.0 (SP6), then drag the List view Control: at the general tab, at View: select the Report View: Here the sample Code: 'Declare a variable that holds for ListItem Dim Panoy As ListItem 'set the listitem shown in the code below   ...
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.