Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ITweedlie

    Automatically resize and position text boxes according to contents

    Try passing the values to a global sub Public Sub AddToSize(ThisText As TextBox) ThisText.Width = ThisText.Width + 75 End Sub Private Sub Text1_Change() AddToSize Text1 End Sub
  2. ITweedlie

    treeview, listview, and hard drive

    These commands will connect your controls Private Sub Dir1_Change() File1.Path = Dir1.Path End Sub Private Sub Drive1_Change() Dir1.Path = Drive1.Drive End Sub Private Sub File1_Click() File1.Path = Dir1.Path End Sub
  3. ITweedlie

    How can I use 2 recordset data in Data Report

    I don't know if I am understanding you correctly but I do know that if you wish to use two different data sets in one form for report or display, you need two data controls
  4. ITweedlie

    Global Loast Focus

    Use this routine to pass controls and editing them. Public Sub ChangeToCapital(ThisText As Textbox) 'This sub will change whatever text box is passed 'to it. ThisText.Text = UCase(ThisText.Text) End Sub Private Sub Text1_LostFocus() 'Pass this text box name to the global procedure 'called...
  5. ITweedlie

    Data Control (VB 6) - Which events fire and when ?

    I'm thinking that you wish to validate before you allow access to save. Use the Validate procedure for this. The following is an example... Private Sub txtMovieNumber_Validate(Cancel As Boolean) If Len(txtMovieNumber) > 4 Then ErrorMessage = "The movie number cannot contain more than 4...
  6. ITweedlie

    Bare necessities for connecting to MS Access 2000

    Using the package development wizard, you will be given the option of creating the dependant files necessary for you application to run. This involves outside components not be a part of your application but may be necessary to run with your application such as ms chart or other components...
  7. ITweedlie

    how to put the MSFLEXGRID data to MS chart control 6.0

    Use this link - you can explore from there. http://msdn.microsoft.com/library/en-us/modcore/html/deovrUnderstandingChartControl.asp
  8. ITweedlie

    invalid argument when using a global variable

    It would help to see that particular procedure.
  9. ITweedlie

    sql text and visual basic

    You can use the "On Error" function with resume next or end sub.
  10. ITweedlie

    Datagrid question

    The flex grid is best for use of different displays. But you must under stand the grid. VB doesn't do it for you. Suggest the book, "VB 6.0" if you don't have one. Try this link: http://msdn.microsoft.com/library/en-us/mshflx98/html/vbprocolrowpropertiesx.asp
  11. ITweedlie

    Datagrid question

    You might want to use a flex grid. It would go something lik this > With rndVideo For rowNumber = 1 To TotalRecords - 1 Get #1, rowNumber, rndVideo Grid.Row = rowNumber For colNumber = 1 To 6 Select Case colNumber Case 1...
  12. ITweedlie

    Datagrid question

    Select the form and then the datagrid in design. Right click the datagrid, select the properties. Select the Columns tab. In this display you will find a list box containing the column array beginning with 0. Select this column and asign a title by typing ColumnTitle in the Caption field. Asign...
  13. ITweedlie

    "Out of memory" due to referencing DataCombo BoundText

    Under what procedure is this statement?
  14. ITweedlie

    How can a combobox handle record from a database

    Try using a DataCombo component instead of a plain combo box.
  15. ITweedlie

    Install Problems after Package

    You might try to reinstall your VB. MS keeps track of each object resident to VB and Added. If you do not have a license then the installation will be discontinued. Also, don't forget to erase any directories which are not deleted by the automatic process.
  16. ITweedlie

    Getting rid of the quotes in VB

    You cannot change the VB rules. Using the sequential mode VB always places quotes aroung strings. Try Writing a number. You will see that the number does not have quotes but if writing more than one field will be seperated by a comma. That is how VB reads and seperates fields in a sequential...
  17. ITweedlie

    Adding leading spaces to a string...

    In the module create a user type field. type SetString 'any variable name strNumber as string * 6 'the number can be as long or 'or short as needed end type When sending the number to the string, use: RSet strNumber = str(10.00) ' the number 10.00 is...
  18. ITweedlie

    Install Problems after Package

    Are you installing your app onto an unknown computer?

Part and Inventory Search

Back
Top