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 SkipVought 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. kcorrigan

    Combo box: number of lines shown at once

    strongm, I started over and tried your suggestion again and it did work! It didn't make sense to me that the other solution I found worked and the coding was so close to matching what you had. Since your code is shorter than the other solution I found, I will go with it. Problem solved...
  2. kcorrigan

    Combo box: number of lines shown at once

    It's a combo box, as I stated before.
  3. kcorrigan

    Combo box: number of lines shown at once

    Found a sample application and it has some of the same code, but ended up working great: http://www.zarr.net/vb/download/sourcecode.asp?type=controls
  4. kcorrigan

    Combo box: number of lines shown at once

    W2000, VB6.0, and yes there are more than 8 items in the box
  5. kcorrigan

    Combo box: number of lines shown at once

    It depends on what data is being loaded each time. For the test sample I'm using the most, it has been 25 items.
  6. kcorrigan

    Combo box: number of lines shown at once

    I originally did use the code as given, which is how I have restored it now. But nothing happens. That's the only reason I was trying other solutions, because what you originally posted did not work for me. Are you using any special references or anything? It just is not changing the height...
  7. kcorrigan

    Combo box: number of lines shown at once

    Correction: When I used the exact code you provided, I didn't get any changes. But when I used this: form1.scalemode = vbpixels combo1.width = 750 ...I got the larger width so that was my mistake. I tried: combo1.height = 750, But it says height is a read-only property. What did I do wrong...
  8. kcorrigan

    Combo box: number of lines shown at once

    strongm, That changed the width of the combo box. I need to change the height so that it shows more records at a time. thanks, kcorrigan
  9. kcorrigan

    Combo box: number of lines shown at once

    I'm actually not looking for "additem". Let me explain a little more, maybe that will help: I have a sql script that populates this combo box. Let's say the script comes back with 30 records & they are all added to the box (I use the .additem code to do this actually). What you then...
  10. kcorrigan

    Combo box: number of lines shown at once

    My manager has requested that I change the number of items showing on a combo box in my program from the normal 8 to a larger number. In other words, she wants to be able to see more data at a time when she clicks on the arrow. Is this possible?
  11. kcorrigan

    Formatting number

    Understandable! Thanks for your help!!!
  12. kcorrigan

    Formatting number

    Swi, Now I'm noticing that A0001000000000000000 is the highest number it will accept. Is this a VB issue?
  13. kcorrigan

    Formatting number

    PERFECT Swi! Thanks so much!!! ~KC
  14. kcorrigan

    Formatting number

    You are right, when I get to A0000000000000000009, it does not go to A0000000000000000010 it goes back to 1. But this code you gave me does not change to the next available number, it stays the same.
  15. kcorrigan

    Formatting number

    Found my answer. My label is 20 characters, and this is how I formatted the next number: lblAuditor2 = Mid(lblAuditor2, 1, 1) & _ Right(Left$(String$(18, "0") & Mid(lblAuditor2, 2, 19) + 1, 19), 19)
  16. kcorrigan

    Formatting number

    I have a value being sent to a label field. Example of value is 'A000000001'. When I hit a button, I need to insert the next interval, which would be 'A000000002', into a table. The problem I'm having is getting the next number to produce. If I trim the 'A' off the front and add 1 to the...
  17. kcorrigan

    RDC license?

    What version of 8.0 are you using? If you're using Standard, you can't use the RDC in Visual Basic to publish reports...you must have Developer version.
  18. kcorrigan

    Error when accessing a CR report from the web

    Did you come up with a solution? I am having the same problem and I am stumped! I have all the necessary references loaded into my project but continue to receive the error. I also made sure I'm using the correct code to load the report: Set Session("oApp") =...
  19. kcorrigan

    Loading Distinct Records into List Box

    Thank you! It works perfectly! I appreciate your help so much!
  20. kcorrigan

    Loading Distinct Records into List Box

    I receive an error message saying "only one clause allowed per query block"

Part and Inventory Search

Back
Top