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 strongm 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. TimLarkin

    adding items held in dynamic array to file

    You are closing your file in the load(). Your file is closed when you try to update it in Adder. Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  2. TimLarkin

    Permutation Algorithm

    I used this with a form that had a listbox that diplays all the permutations. This code does not remove dupes. (string "ABA" will return "ABA" twice) Code is not case sensitive. this is in a bas module: Option Explicit Type Letters Letter As String * 1 InUse As...
  3. TimLarkin

    Proper way to sort a Collection ??

    Sort as you add: upper = 15 upperbound = 1000 lowerbound = 1 For i = 1 To upper Set myTemp = New clsMyObject myTemp.Name = "Name" & i Randomize myTemp.Size = Int((upperbound - lowerbound + 1) * Rnd + lowerbound) If myTemp.Size >= col(col.Count).Size Then...
  4. TimLarkin

    Query pulls different results when in VB/Access???

    just a wild guess (without in-depth study) , but I'd say the # signs are what is giving you the problem. # is a reserved character. Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  5. TimLarkin

    add to combo box

    Sure! Sub cmdSubmit_Click() 'add new thing frmOtherForm.Combo1.AddItem Me.txtNewThing.Text 'select new thing frmOtherForm.Combo1.ListIndex = _ frmOtherForm.Combo1.NewIndex End Sub Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  6. TimLarkin

    Large Text Fields & SQL Server

    Max Len for Varchar is 255. Change your field type to Text. Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  7. TimLarkin

    strange problem inserting values into database

    You don't say what kind of DB it is, or how you are "Viewing" the data. If it is a SQL Server DB & you are using the SQL Server Manager (can't think of the exact name of it), the mngr program won't show data for "Text" fields. Try getting a rs and see if you get values back...
  8. TimLarkin

    Splitter Windows

    Look in the Templates that come with VB. Search for "Treeview Listview Splitter.frm" Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  9. TimLarkin

    List Box Additem

    Otay.... List1.AddItem "X" List1.ListIndex = List1.NewIndex Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  10. TimLarkin

    Name of VB Control?

    Not a control, but a form, "Mover ListBox.frm". Ships with VB. Mines in VB98/Templates/Controls Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  11. TimLarkin

    Printer.Print Working/Not Working

    without seeing the code, one can't even guess, unless you count "Programmer Error"! Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  12. TimLarkin

    Problem with EOF

    Not sure, don't have time right now to check it out, but I seem to recall getting an error on movenext to eof = true with forward-only rs. Maybe make it a static rs? (Your code looks fine to me) Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  13. TimLarkin

    Multiline text in a List control

    Only way I can think of is to use mouse over, find out which list item it's over, & put the entire text line in the tooltiptext. Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  14. TimLarkin

    Multiline textbox in VBA

    As far as I know, the only limits on the # of lines would be by setting the MaxChar prop.(or the max chars a textbox can hold). Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  15. TimLarkin

    Perplexing Problem with setting up dynamic forms

    Add a .bas module, 2 forms to a project. add 3 command buttons & a list box to form1. Command1 creates 3 new form2s. Command2 lists the .Tag property (this would be your ID, or you could use the Key property of the collection) for each form in the collection Command 3 gets rid of the collection...
  16. TimLarkin

    Query Builder

    post the line/s your getting error on. Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  17. TimLarkin

    Problem retrieving records from Access 2000 using Vb 6

    Set the textbox.MultiLine = True Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  18. TimLarkin

    Go to next line in text file

    Do Until EOF(1) Line Input #1, str If Left(str,1) = "J" then 'or whatever 'Do processing end if Loop Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  19. TimLarkin

    Someone PLEASE Help...So Simple...

    Kill c:\pictures\christmas.jpg Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)
  20. TimLarkin

    Finding how many splits there are

    works fine for me. but, please note, that the actual count is ubound(ary) + 1 Tim Remember the KISS principle: Keep It Simple, Stupid! 8-)

Part and Inventory Search

Back
Top