Search:

Type: Posts; User: Spoo

Page 1 of 13 1 2 3 4

Search: Search took 0.52 seconds.

  1. Replies
    9
    Views
    1,443

    Re: SUGGEST to get min max date from txt string

    Bonnie

    I knew you'd get it :)
    My earlier post was a little too terse ,, TG explained it much better.

    Spoo
  2. Replies
    9
    Views
    1,443

    Re: SUGGEST to get min max date from txt string

    Bonnie

    If you don't initialize MinDate, then wouldn't there be a problem (using your code snippet) comparing myDate to MinDate in the line ElseIf myDate <= MinDate Then ,, ?

    MinDate would be...
  3. Replies
    9
    Views
    1,443

    Re: SUGGEST to get min max date from txt string

    Luca

    One possible way would be to create 2 more vars .. myMaxDate, and myMinDate. They probably should be Date type.

    Then, each time you update your myDate var, test it against the two
    new...
  4. Replies
    28
    Views
    3,151

    Re: Too late for that...

    The Britcom "Yes, Minister" focuses on your very point.
    It is a riot.
  5. Thread: Need Suggestions

    by Spoo
    Replies
    2
    Views
    765

    Re: Need Suggestions

    JMS

    Regarding towards front or back .. let's call this the Z-axis

    It seems that you have a pre-defined set of targets .. the "poles"
    Further, I would imagine that you have 3 coords for each...
  6. Replies
    17
    Views
    2,516

    Re: Java To VB

    JMS

    I think Doogle (and Dilletante too) is suggesting you essentially create a sub
    to read the Java code and create a text file containing the 20 arrays and their
    200+ values. Thus, your text...
  7. Replies
    58
    Views
    9,642

    Re: Form Question - About Min and Max

    One possible enhancement to Bonnie's code might be (in addition to intercepting
    and disallowing the Min, Max, and Close button action), to have a MsgBox pop up
    with an explanation .. something like...
  8. Replies
    2
    Views
    832

    Re: Capturing part of a Form

    JMS

    This is admittedly rather crude, but, since you know how to capture the entire
    Form, maybe you could start from there.

    On the other form, add 2 controls .. PictureBox1, and PictureBox2,...
  9. Replies
    8
    Views
    1,327

    Re: Duplicating a Form

    Janu

    In addition to Bonnie's info, an individual Sub or Function can contain
    up to around 3,000 lines .. I don't know the exact number, but at least
    the IDE gives you a warning .. Too many lines...
  10. Re: how to make the search as case sensative

    Rajat

    There are many ways you could do it, so I didn't specify.
    Basic steps ...

    1. create 2 arrays .. one for RawList, one for GoodList .. oversize them, say 100 elements each
    2. issue your...
  11. Re: how to make the search as case sensative

    Rajat

    One brute force approach would be to use your red SQL statement and
    dump the results into an array. Then, loop thru the array, and allow only
    those that match, using something like

    ...
  12. Replies
    16
    Views
    1,433

    Re: edit causes compile error

    TG and DataMiser

    Yes, thanks for better stating my source of confusion.

    I was drawn to it as the OP indicated that when those changes were made, his compile error began.
    But I agree, too, with...
  13. Replies
    16
    Views
    1,433

    Re: edit causes compile error

    Prof


    This line looks confusing to me ...

    b = 45: 'txt(1)

    1. Why do you have a colon after 45?
    2. Why do you apparently comment out txt(1) .. ie, an apostrophe before txt(1)?
  14. Replies
    15
    Views
    3,025

    Re: Count login for consecutive days.

    OK. Thanks for the clarification.

    Spoo
  15. Replies
    15
    Views
    3,025

    Re: Count login for consecutive days.

    Prmaodsd

    This is still a little confusing to me, but I think you mean
    that in this sceario ...


    Wed .. logged in
    Thu .. logged in
    Fri .. logged in
    Sat .. ignore
  16. Replies
    15
    Views
    3,025

    Re: Count login for consecutive days.

    Prmaodsd

    Question ..
    .. do you mean literally "consecutive" days.
    .. or, do you want to exclude Saturdays and Sundays .. ie, if it is a 5-day work week situation.

    If the latter, then your...
  17. Re: Image Control with Picture on top of a Picturebox

    JMS

    Helpful description of the situation, except for "rubber band"
    What does it mean?

    Something like a rectangle with dashed perimeter that grows as the
    mouse is dragged (in preparation for...
  18. Re: Image Control with Picture on top of a Picturebox

    JMS

    It seems that transparency is needed.

    Thus, simply putting the Image control inside of its own PictureBox (admittedly overkill)
    would seem to be unsatisfactory.

    Could you possibly post...
  19. Replies
    24
    Views
    2,649

    Re: Weird Button Array Problem

    Hmm..
    It might be a problem if the "detection" is expected to occur in a .. no, check that.
    The parameters are the same for each type of control

    CommandButton

    Private Sub CB1_MouseDown(Button...
  20. Re: is there any way to record program flow for error checking later?

    Somewhat off-topic and of no tangible use here, but ,,,

    Anybody remember dBASE-IV .. from Ashton-Tate.
    It had a built-in TRACE feature, which I used from time to time.
    Pretty cool, but the...
  21. Replies
    24
    Views
    2,649

    Re: Weird Button Array Problem

    JMS

    It's a long shot, but this may be of some use ,,,

    In Design mode, bring up the Form and the Properties window.

    Click on Command1(1)
    Does the Index read as 1? ,,, Given that this one...
  22. Replies
    4
    Views
    1,054

    Re: save mysql timestamp

    Codesearcher

    This might be the problem


    rs.addnew
    rs.fields("timestamp") = now()
    rs.update
  23. Replies
    11
    Views
    1,115

    Re: Code Module Window Order?

    That is an understatement if I ever saw one.
    My bad

    Spoo
  24. Replies
    11
    Views
    1,115

    Re: Code Module Window Order?

    Xytsrm

    So, it seems like you have tried several things, but without success.

    You don't say specfically, but I assume that you are not happy with
    the Z-Order's of various windows when you...
  25. Replies
    34
    Views
    6,653

    Re: Optical Character Recognition

    That would be a good place to start .. one font only, say Courier.
    Recall that in post #9, the OP is only interested in one font.

    Spoo
  26. Replies
    34
    Views
    6,653

    Re: Optical Character Recognition

    Max



    Yes, I had very similar thoughts regarding the issue (comparing) and possible
    solution (pixel-by-pixel matching). Seems doable, but will no doubt be a challenge.
    However, once a means...
  27. Replies
    9
    Views
    1,379

    Re: msflexgrid populating question

    Si

    Thanks for the info.
    Yes, little steps at a time. Will wait for OP's reply.

    Spoo
  28. Replies
    9
    Views
    1,379

    Re: msflexgrid populating question

    Sam

    Thanks for the good news .. ;)

    Spoo
  29. Replies
    9
    Views
    1,379

    Re: msflexgrid populating question

    Zvoni and Si

    Clip is a new one on me. Nice to know about.

    My code snippet was a prelude to further code ,, mainly to set col widths to match.
    Does Clip automatically do that?

    Spoo
  30. Replies
    9
    Views
    1,379

    Re: msflexgrid populating question

    CodeSearcher

    In general terms,
    .. 1. assure GridA has same number of rows
    .. 2. assure GridA has same number of cols
    .. 3. use a nested loop to copy each cell
  31. Replies
    34
    Views
    6,653

    Re: Optical Character Recognition

    Eijdaites

    Possibly, but if so, only with BMP ... not JPEG.

    The reason is that my approach would involve "reading" the BMP file header
    and parsing the BMP file. The problem with JPEGs is that...
  32. Replies
    4
    Views
    2,012

    Re: Re-size and Position Image in Excel worksheet

    Brss

    When you say all attempts "failed", what do you mean?
    ,, picture goes to wrong place
    ,, no picture appears
    ,, something else

    BTW, is this an Excel macro or something in VB6?

    Spoo
  33. Replies
    34
    Views
    6,653

    Re: Optical Character Recognition

    Eijdaites

    Well, that seems reasonable.
    What will the "image" be?
    ,, BMP file?
    ,, JPEG file?
    ,, something else?

    Spoo
  34. Thread: Loading controls

    by Spoo
    Replies
    10
    Views
    1,049

    Re: Loading controls

    Gooneroo

    Yes, that does make more sense.
    Basically, seems like you'd like to enable the app to "remember" custom changes.

    I'll let Zvoni get more into INI files, but essentially they are TXT...
  35. Thread: Loading controls

    by Spoo
    Replies
    10
    Views
    1,049

    Re: Loading controls

    Gooneroo

    Re your 1st question, I have a question .. why would you need to?

    At face value, it seems unnecessary, as it would just be recreated next time you start the app.
    Could you provide a...
  36. Replies
    4
    Views
    5,023

    Re: VB6 Collision detection help

    Cozzeh

    Just to enhance upon Bonnie's observations ..

    1. Line .. Line is a "reserved word" in VB6. Using it for an array name "confuses" VB
    2. Character .. You seem to have a spelling error .....
  37. Thread: What is SEO?

    by Spoo
    Replies
    37
    Views
    4,285

    Re: What is SEO?

    Actually, SEO stands for Shaggy Enjoys Oatmeal.
  38. Replies
    4
    Views
    1,014

    Re: data interpolation

    Paul

    This seems so specialized that I really doubt if anything already exists in VB6.
    Most likely, you will have to create an algorithm yourself.
    I'd like to help you, but your info is so...
  39. Re: How to filter using multiple checkboxes in VB 6?

    Download

    Using the CODE wrapper, your code looks like


    If check1.Value = 1 Then
    If check2.Value = 1 Then
    If check3.Value = 1 Then
    If check4.Value = 1 Then
    ...
  40. Replies
    32
    Views
    2,610

    Re: type mismatch when searching date

    Salsa

    OK, I see a date 8/7/2013 at the right, in row 1

    I must confess to not having used a ListView control before, but, could
    it be that instead of it being the "first" column, it is rather...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width