Posts

Showing posts from December, 2012

Visual Basic Online Course - Understanding the control resizing method

 Visual Basic Online Course How does (Re-sizing) work ? Download the example ( MediaFire.com link ) Understanding how resizing controls work ! The basic Idea of resizing : When resizing : Control Width grows and shrinks when form (Container) grows and shrinks with (Module). The (Modu) is the growing or shrinking Module .... Let say we have  a control (Width = 10) on a form (Width = 20) then (Control : Width) = (10 : 20) So when resizing the (form to = 40) then the (Control will grow to = ???) --------- Answer :    ( 10 : 20 ) = ( ??? : 40)    ??? = 20 , Why ? Because the (Modu = [40 / 20]), then the ??? = 10 * Modu ??? = 20 ......... And so on ... In the example attached you will notice that resizing the form with cause resizing the control as well. Thanx for reading ♥ V isual B asic 6.0 Course Online : Automate MS-Access Database in Visual Basic 6.0 though a net work Visual Basic 6.0 Analog Clock Vi sual Basic 6.0 Temperature Convertor Visual Basic

Visual Basic Online Course - ProgressBar Colors

Image
Visual Basic Online Course How to change the ProgressBar colors by code Progressbar The ProgressBar control in Visual Basic 6.0 is replaced by the Windows Forms ProgressBar control in Visual Basic 2005. The names of some properties, methods, events, and constants are different, and in some cases there are differences in behavior. Conceptual Differences Negotiate Property In Visual Basic 6.0 , the Negotiate property of a ProgressBar control can be used to automatically hide the control when a toolbar is displayed. The Visual Basic 2005  ProgressBar control does not have a Negotiate property; you can achieve the same effect by setting the Visible property to  false at run time. Orientation Property In VB 6 , a Progress Bar control can be displayed either horizontally or vertically by setting the Orientation property. The Visual Basic 2005  ProgressBar control can only be displayed horizontally. Create New (Module) Then in the form_load

Visual Basic Online Course - WildCards in Database

Visual Basic Online Course Using Wild Cards when searching Database Problem : I have 50 records of mobile phone numbers and they start with different digits according to network area code, I want to search the [MobileNo] record from [TextBox] so when I write the first digit i get some search result and the second digit returns the next search result .... etc as i go, using TextBox1_Change() event, i want when every time i type a digit i get a result in the DataGrid control Solution   :  Using ADO + MS-Access 2003 + Sql Statements That means : Search all records that contain these values within. But, If you want to search for records start with certain values, then use : And, If you want to search for records end with certain values, then use : ♥ V isual B asic 6.0 Course Online : Automate MS-Access Database in Visual Basic 6.0 though a net work Visual Basic 6.0 Analog Clock Vi sual Basic 6.0 Temperature Convertor Visual Basic 6.0 , MS-Access 2003 and Cry