Type: Posts; User: dw85745
Search took 0.06 seconds.
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...
Thanks Bonnie West.
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.
Bonnie thanks for responding.
I put together RBirches examples as well as yours.
Your examples are at Command6 and Command7
EM_LINEINDEX returns charIndex 82 for line 1.
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.
Thanks for responses.
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,...
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...
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...
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...
Extremely valid point. Thanks for pointing it out.
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...
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.
Is the original creation date available on the...
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...
Thought I'd post this link for those trying to understand hash tables and their usage.
DataMiser: Thanks a bunch, worked like a charm.
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...
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),...
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.
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...
Thanks for responding
Tried your idea but results not to requirements.
Private Sub Picture1_Click()
I'm printing (in picturebox) a string that is stacked.
As you can see above each character is printed left justified.
Any suggestions or examples to have the character...
Why not create the menu during design time and make it NOT visible.
Then during runtime -- when needed -- toggle it visible.
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...
Noticed this: Someone slipped on Bing Search prompt:
Still can't get past error "createDocumentFromUrl of DispHTMLDocument" to load the file.
Thanks for testing original code. Must be something on this machine or that I'm using...
Thanks all for feedback
Sample failed on method: createDocumentfromURL of object DispHTMLDocument with error -2147417848 (80010108)
I'm trying to run this on XPPro SP3 with...
Had hoped someone had messed with this in VB.
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...
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
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.
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...
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
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.
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....
In Access the following code says conflict.
PARAMETERS [pAcctNo] Text, [pDateBeg] DateTime, [pDateEnd] DateTime;
SELECT DISTINCT fldString
FROM tblFills LEFT JOIN tblFillDetail ON...
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...
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...
Thanks all for input.
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" --
Click Here to Expand Forum to Full Width
Survey posted by VBForums.