Search:

Type: Posts; User: vb6forever

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    248

    Re: Reference point of text

    Peekay: For API solution see:

    https://learn.microsoft.com/en-us/windows/win32/gdi/font-and-text-functions
  2. Replies
    2
    Views
    353

    Re: ReDim a structure (type_

    fafalone: Thanks for responding and confirming. Been chasing my tail on this for years and had a DB workspace deletion occur yesterday so to the forefront again to try an resolve. Obviously...
  3. Replies
    2
    Views
    353

    [RESOLVED] ReDim a structure (type_

    I have an old program that's been up and running for over 25 years. During that time, every so often (say 3 times a year) , all the DB tables associated with the last workspace are corrupted or...
  4. Re: ReIndex Offets Right to Left AND Left to Right

    ahenry and Elroy: Thanks for responding.

    I'll close this.
  5. Re: ReIndex Offets Right to Left AND Left to Right

    What I'm after is there a more efficient way to find the reversed index order value. When plotting things, a lot of time I need to plot forward and backward.



    Function CIndex2LeftBased(ByVal...
  6. [RESOLVED] ReIndex Offets Right to Left AND Left to Right

    Hoping someone might have an efficient function already written to do this.

    For Example:



    Original Offset from Far Right (start at 0)
    4 3 2 1 0
    N+4, N+3, N+2, N+1, N
  7. Replies
    10
    Views
    410

    Re: ListView Item Assignment Failing ?

    dilettante: Make sense. Thanks.
  8. Replies
    10
    Views
    410

    Re: ListView Item Assignment Failing ?

    dilettante: Thanks, starting to put it mentally together.
    Personally I'd like to see everything at the front end of the VBP so I know what I got.
  9. Replies
    10
    Views
    410

    Re: ListView Item Assignment Failing ?

    fafalone: Thanks for the explanation.

    What I'm trying to get my head around right now, is how VB is determining what
    goes into the VBP file and what doesn't.
    For example : This VBP...
  10. Replies
    10
    Views
    410

    Re: ListView Item Assignment Failing ?

    OK:

    Regarding the ListView.
    Problem SOLVED. Thanks for the help.
    HOWEVER, most interesting I had to declare in my program:



    Dim oLI As ComctlLib.ListItem ...
  11. Replies
    10
    Views
    410

    Re: ListView Item Assignment Failing ?

    Arnoutdv:

    Thanks for all your effort.
    That is what I get with your code, so something else must be going on.

    One other question:
    I noticed in my Project/Reference list I had...
  12. Replies
    10
    Views
    410

    ListView Item Assignment Failing ?

    Believe it or Not this is my first usage of a Listview to "give it a go" instead of using my normal MSFlexgrid.
    As with my MSFlexgrid I want the user to be able to Add/ Edit and Delete subitems on...
  13. Replies
    7
    Views
    806

    Re: PDF Documents

    jpbro: GREAT IDEA regarding text selection as easy way to tell. Tired on a good document, could select, image not.

    Steve R. Jones
    Taking a look at BullZip PDF.

    Thanks both for responding on...
  14. Replies
    7
    Views
    806

    Re: PDF Documents

    jpbro: Thanks.

    1) Tried MS Edge and has same problem with this one document.
    Anyway to know UPFRONT whether a particular PDF is just a container (thought here is that some way to bring up a...
  15. Replies
    7
    Views
    806

    [RESOLVED] PDF Documents

    I have an old version of Word-97, that meet my needs as rarely type letters, BUT sadly does not support PDF in file drop down list. For most of my purposes using "Print2PDF"
    (supported by Win10 and...
  16. Re: [RESOLVED] SQL Copy Tables and Record w/o Databases being Open

    FWIW:
    1) Microsoft says NOT to Enum the Access MSys tables as may change with each Access version.
    2) Within a given Access mdb GUI, if one creates a Query , one can Enum and extract data from...
  17. Re: SQL Copy Tables and Record w/o Databases being Open

    Zvoni: Thanks for the followup:

    Regards: Article, interesting read. Will pursue this weekend.
    Regards: TableDef versus Query. As previously mentioned with question, a tradeoff as I see...
  18. Re: SQL Copy Tables and Record w/o Databases being Open

    Zvoni: Thanks for responding.

    Regarding: DROP TABLE
    IN some prior code NOT SHOWN, I deleted all tables of interest from Destination DB (here MainDB).
    The...
  19. [RESOLVED] SQL Copy Tables and Record w/o Databases being Open

    This is Access but should make No difference since SQL the issue.

    I've got a BackupDB on Drive D.
    I've got the MainDB on Drive C.
    I want to copy a table and the records from the BackUpDB
    to the...
  20. Replies
    35
    Views
    1,897

    Re: Bringing Civility Back to the Forum

    What I had in mind when I made the original post was something like two pass process.
    1) Use a spell checker to catch misspelled words
    Niya example of the following would easily be caught by...
  21. Replies
    35
    Views
    1,897

    Re: Bringing Civility Back to the Forum

    As a programmer, my thoughts were -- why not let the computer do it, or most of it!
    Obviously not, based on the responses.
  22. Replies
    35
    Views
    1,897

    Re: Bringing Civility Back to the Forum

    Niya:
    IMHO the reason is no importance. The fact that it occurs on this forum, and others, to me says: "HOUSTON WE HAVE A PROBLEM". Again, IMHO, the simple change I proposed, if possible, might...
  23. Replies
    35
    Views
    1,897

    Bringing Civility Back to the Forum

    Elroy made an excellent point in this post.
    https://www.vbforums.com/showthread.php?t=897149&goto=newpost

    People come to this and most forums to get help.
    Other People generously offer up their...
  24. Re: Looking for PictureBox redraw suggestions to avoid 'blanking'

    Based on the OP's statement if appears he's trying to construct a stock market bar chart.
    As dilettante has pointed out you have two options.
    1) Draw everything From the PictureBox Paint event...
  25. Re: VB6 Program Compiling Errors - Who would like to try?

    If you don't have the VB source file, I doubt anyone can help.

    =================
    If you have the Source code, then zip it up and post it here.
    Alternatively, and I assume you meant "found" Not...
  26. Re: When allocating virtual memory, how do you make sure that it doesn't get saved to

    IMHO any software solution to try and stop hacking is a waste of time.
    However, there is a new chip (Feb 2021) called Morpheus (whether it ever makes it to market is ??). See:...
  27. Replies
    25
    Views
    1,641

    Re: Is there a code that changes the language?

    fafalone: I'm with you on this one. M$ continues to make changes which are contra to the User's desires and App functioning. The inability to use Macros or VBA in Office older applications is...
  28. Re: Sum Number of Days in Months But in Different Years

    This is Treasuries Bond Calculator I'm using:

    https://treasurydirect.gov/BC/SBCPrice

    They also provide Historical Redemption tables:...
  29. Re: Sum Number of Days in Months But in Different Years

    Zvoni: Thanks

    Using the formula (if I am using it correctly) I'm even further off.
    For testing:



    C(n) = 10000 * (1 + .0466/100) ^ 2 '2 = semiannual

    Treasury I-Bond calculator...
  30. Re: Sum Number of Days in Months But in Different Years

    I agree. This is semi-annual and using the following I believe is taking this into account.



    Value = Value * (1 + (Rate * (DaysInPeriod / DaysInYear)))


    Code is working just can't...
  31. Re: Sum Number of Days in Months But in Different Years

    Elroy:

    Re: OP, he is working those out.
    Re: edge > This is a trial error, best guess process, as Treasury does NOT appear to publish how they calculate,
    so attempting to...
  32. Re: Sum Number of Days in Months But in Different Years

    First let me thank everyone for their input.
    I obviously was over thinking the problem.

    1) Elroy: just subtract the two dates but would need to
    adjust both buy and sell date first and add 1 to...
  33. Sum Number of Days in Months But in Different Years

    I'm trying to replicate US Treasury Calculation for Bond Interest.
    From what I gleened so far they pay semi-annual interest and take into account leap years in that calculation. They do this by:...
  34. Replies
    5
    Views
    738

    Re: PDF Best Free Editor

    Mr. Jones thanks for responding.


    I'm a special circumstance. Living on borrowed time so don't know how much longer I'll be around, at least according to docs, who have been wrong so far by 2...
  35. Replies
    5
    Views
    738

    Re: PDF Best Free Editor

    dday9:

    Thanks for responding and the thought.

    1) My old version of Word-97 doesn't have that option.
    2) These are Exhibits in hard copy form which need to be scanned in.
    Once scanned,...
  36. Replies
    5
    Views
    738

    PDF Best Free Editor

    I need to just put the words Exhibit X, Page Y on the bottom of about 10 documents. Looking for a free editor to do this as don't want to buy Adobe, and time to create a PDF program in VB based on...
  37. Re: Word Field Showing as Text Rather than Page Number

    RESOLVED:

    Tools > Options > Tab:Print > Area "Include with Document" > UNCHECK Field Codes.

    otherwise Field Code name overrides the Actual Field Value when Printing.
  38. [RESOLVED] Word Field Showing as Text Rather than Page Number

    I created a Footer.
    I then used Insert > Page Number (and also tried Insert > Field > Page) to place a page number in the Footer area.
    Word CORRECTLY put in {PAGE}.
    I also tried: {PAGE \* Arabic...
  39. Replies
    6
    Views
    672

    Re: Red backcolor for all text boxes

    A possible faster way is to load the "frm" file into notepad.
    Do a search for backcolor.
    When each textbox backcolor is found change the default value to Red.

    HTM
  40. Re: Cost/Benefit in Code Size (p-code or compiled) When "Fully" Specifying Things

    FWIW: I've done the same with VB from the get go.
    To me it adds clarity (textbox.text = instead of textbox =) where one has to try and remember the default.
    It also may be a...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width