Search Results - VBForums

Search:

Type: Posts; User: dw85745

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    11
    Views
    303

    Re: Edit Control (EM messages) - Reset cursor

    Bonnie I think this must be "As Designed"
    That is if a selection is active the caret stays hidden.

    I first tried calling ShowCaret three times (in belief the calls to EM_ may have hidden it more...
  2. Replies
    11
    Views
    303

    Re: Edit Control (EM messages) - Reset cursor

    Thanks Bonnie West.
    GOT IT!!
    Missed the "ByVal" big time when I copied over some of my code to extend Birch's example.
    A GREAT Reminder to pay attention!!!
    Have updated ZIP for others.

    One...
  3. Replies
    11
    Views
    303

    Re: Edit Control (EM messages) - Reset cursor

    Bonnie thanks for responding.

    I put together RBirches examples as well as yours.

    Your examples are at Command6 and Command7

    Command6:

    EM_LINEINDEX returns charIndex 82 for line 1.
    Any...
  4. Replies
    11
    Views
    303

    Re: Edit Control (EM messages) - Reset cursor

    dee-u



    Yes. This works great when using the mouse. However, when called from code (see example) the cursorpos does Not seem to be returned in the correct position for the line.
  5. Replies
    11
    Views
    303

    Re: Edit Control (EM messages) - Reset cursor

    Thanks for responses.

    Bonnie:

    I have some free time so working on a program to compare computer code (e.g. modules. classes, etc) to identify duplicate files as well as lines within Subs,...
  6. Replies
    11
    Views
    303

    Edit Control (EM messages) - Reset cursor

    How do you set the cursor and caret location in code using EM_ ?

    EM_SETSEL does not appear to work since I need the line in order to select it.

    If I loop the lines EM_LINEINDEX returns the...
  7. Re: Count Calls to Every Function / Sub from Control Events

    dilettante:

    Thanks for suggestion -- downloaded. FWIW can get extended key for more than 10 files for 7 days -- still debating on this as hate to take advantage of Aivosto as been good to the VB...
  8. Count Calls to Every Function / Sub from Control Events

    I'm trying to speed up a very large program.
    I'm finding that by taking a count of one routine called from Picturebox_Paint that
    that routine is being called 8 times prior to the Picturebox...
  9. Re: [RESOLVED] File Attribute - Date Created Question

    Arnoutdv:



    Extremely valid point. Thanks for pointing it out.
  10. Re: File Attribute - Date Created Question

    Thanks guys for input.
    Did a manual copy paste (.eml which I saved as .txt and also a .png file) from Outlet Express to a Directory in Explorer -- XP.
    All three File Attributes dates were changed...
  11. [RESOLVED] File Attribute - Date Created Question

    I just noticed (after all these years), that if you copy a file that all the File Attribute dates
    are changed to the current date.

    Question:
    Is the original creation date available on the...
  12. Re: need help : Error (row cannot be located for updating)

    Do you have permission to write to the DB



    rs.Open sqlCriteria, cn '<< not sure what cn is here?


    Also seems kinda questionable to do an SQL query on the DB then write the grid...
  13. Re: Concat Byte Arrays via String - Reliable?

    Thought I'd post this link for those trying to understand hash tables and their usage.

    http://research.cs.vt.edu/AVresearch/hashing/index.php
  14. Replies
    2
    Views
    223

    Re: VB IDE Missing Bookmark Tag

    DataMiser: Thanks a bunch, worked like a charm.
  15. Replies
    2
    Views
    223

    [RESOLVED] VB IDE Missing Bookmark Tag

    Still using VB5.
    When I bookmarked something I used to get a blue oval as I recall in the left hand margin to indicate
    the line was bookmarked. These bookmarks disappeared from my IDE awhile back...
  16. [RESOLVED] Print SetUp from VB for Adhoc Report w Multiple Sheets

    I generate an Excel Report from VB6.
    This report consists of multiple sheets.

    I am attempting to configure the print setting for each sheet, so that after Excel is filled
    (all sheets completed),...
  17. Re: Center stacked font (glyph) in Vertical Printing

    Thanks again jpbro and Olaf for explanation, example and links.
    See I will have to play with it a bit and climb the learning curve.
    Will leave thread open for now.
  18. Re: Center stacked font (glyph) in Vertical Printing

    jpbro and Olaf:

    Thanks for the help.
    Olaf thanks for the explanation regarding "SubPixel-precise TextRendering"

    Based on this explanation, I'm guessing measuring each character glyph and...
  19. Re: Center stacked font (glyph) in Vertical Printing

    jpbro

    Thanks for responding

    Tried your idea but results not to requirements.



    Private Sub Picture1_Click()
  20. Center stacked font (glyph) in Vertical Printing

    I'm printing (in picturebox) a string that is stacked.

    For example:

    N
    o
    w

    As you can see above each character is printed left justified.
    Any suggestions or examples to have the character...
  21. Replies
    15
    Views
    422

    Re: Add sub menu at run time

    Why not create the menu during design time and make it NOT visible.
    Then during runtime -- when needed -- toggle it visible.
  22. Replies
    17
    Views
    436

    Re: Using MSHTML Offline

    asymetrix:

    Thanks for responding. You can view the HTML in a number of ways -- (e.g. NotePad or RichTextbox)
    My understanding (never had time to play with the webbrowser), but from readings...
  23. Replies
    17
    Views
    436

    Re: Using MSHTML Offline

    jmstrickland



    Yes

    dilettante
  24. Replies
    0
    Views
    233

    Interesting Typo on Bing

    Noticed this: Someone slipped on Bing Search prompt:
  25. Replies
    17
    Views
    436

    Re: Using MSHTML Offline

    Still can't get past error "createDocumentFromUrl of DispHTMLDocument" to load the file.

    jmstrickland
    Thanks for testing original code. Must be something on this machine or that I'm using...
  26. Replies
    17
    Views
    436

    Re: Using MSHTML Offline

    v: 6.0.2900.5512
  27. Replies
    17
    Views
    436

    Re: Using MSHTML Offline

    Thanks all for feedback
    Dilettante:

    Sample failed on method: createDocumentfromURL of object DispHTMLDocument with error -2147417848 (80010108)
    I'm trying to run this on XPPro SP3 with...
  28. Replies
    17
    Views
    436

    Re: Using MSHTML Offline

    Had hoped someone had messed with this in VB.
    Reference1: http://msdn.microsoft.com/en-us/library/bb508516%28v=vs.85%29.aspx
  29. Replies
    17
    Views
    436

    Using MSHTML Offline

    I'm new to MSHTML.
    I wanted to load a htm or html file (saved offline) into a text box to see how it parsed.
    The object browser works correctly when entering code so no reference problem to...
  30. Replies
    31
    Views
    803

    Re: Open Different Data Source Name

    You must be new to programming.

    Make "BSParking.mdb" a variable and you can put anything there you want.


    Do some research on Common Controls
  31. Re: Delete Single Record OR Mark and Delete All - Performance?

    First my apologies to all.
    I should know better than to post a "Can Be Either Question".
    As previously stated, just hoping for some hard data that compared the two.

    FunkyDexter:


    Should...
  32. Re: Delete Single Record OR Mark and Delete All - Performance?

    jmcilhinney:


    FWIW -- I agree to some degree -- however, it is always great to have someone else's input. There use to be a site -- I believe called SpeedTest (search did bring up anything so...
  33. [RESOLVED] Delete Single Record OR Mark and Delete All - Performance?

    I was wondering from a performance basis:

    Whether it is better to delete a record at the time you find it,
    - or -
    whether it is better to flag it and then delete all records with flags
    at the...
  34. Replies
    4
    Views
    174

    Re: SQL - Conflict with DISTINCT and ORDER BY

    In this case no. DISTINCT returns order by the whole field.
    fldString is not my design so going with what I got to work with.
  35. Replies
    4
    Views
    174

    Re: SQL - Conflict with DISTINCT and ORDER BY

    Schmidt:

    Had a Senior moment last night when I posted this. While sleeping thought of SubQuery and arose to find your input. Thanks
    Having Trouble with the getting the Subquery syntax correct....
  36. Replies
    4
    Views
    174

    SQL - Conflict with DISTINCT and ORDER BY

    In Access the following code says conflict.



    PARAMETERS [pAcctNo] Text, [pDateBeg] DateTime, [pDateEnd] DateTime;
    SELECT DISTINCT fldString
    FROM tblFills LEFT JOIN tblFillDetail ON...
  37. Replies
    2
    Views
    254

    Re: Tracking, Cookies, Etc.

    Using Firefox. No AddOns since IMHO don't work.
    1) As you may have noticed, when you now choose a search engine -- google, yahoo, bing, etc. -- the url is hijacked, redirected to the search...
  38. Replies
    2
    Views
    254

    Tracking, Cookies, Etc.

    I'm getting tired of all the redirection to capture whatever.
    I've modified the HOST file ad-nauseum and it helps some.
    Thinking of going to Tor (supposedly helps ??) but if there is a simpler...
  39. Re: To Variable or NOT to Variable?

    Thanks all for input.

    techgnome:



    LOL Agree!!!!!!!!
  40. Re: To Variable or NOT to Variable?

    My practice is the same -- If you need the result more than once.

    I raise the question, because I have never seen any discussion on this -- everyone has their own "code practices" --
    but you...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.