This is probably very simple, so it is really bugging me. Background information: I sell art prints on a website I created using the web-builder from GoDaddy. I made a page section with HTML, designed to allow the user to click colored rectangles, representing 24 color croups (e.g. Warm Yellow...
Never mind. I'll just parse any line that contains "HREF". That's probably what I did in the past. I had just hoped for something a little more eloquent.
Add water (makes its own sauce).
I remember doing this many years ago but it's stumping me now. How can I extract the hyperlinks (as text) from a local HTML file?
Add water (makes its own sauce).
Sorry, Mike. I was looking in the wrong direction (repeatedly). I just had to open the files using the UTF-8 codepage. That was silly. :-)
In the unlikely event that somebody would ever have the same problem, here's what I did (using some of your code):
Dim myIUnknown As IUnknown
Dim tomDoc As...
Thanks for your reply, strongm. I see a way to set the language ID of a text selection to Hebrew or Greek but I don't see a way to display a file containing a mixture of both. The Microsoft docs at https://docs.microsoft.com/en-us/windows/win32/api/tom/ are for C++ users and I'm sure that I am...
Is it possible to retrieve the cursor position from the MouseMove event of an InkEdit control? It's easy using a Richtext box but I need to display Hebrew and Greek characters. VB6
Add water (makes its own sauce).
Strongm, that sounds promising but I don't see a way to implement it (aside from getting an EM_LINEFROMCHAR and using EM_LINESCROLL to go there. I've tried a similar approach (non API) with the browser control using Document.body.ScrollTop and Document.parentWindow.scrollBy (the results haven't...
Thanks. Opening a page with #BookmarkName appended to the URL isn't a problem. I can do that with the Web Browser control but it doesn't work with HTML files stored on disk. I could put a BrowserName.Document.body.ScrollTop = BookmarkLocation in DownloadComplete (If I had a reliable way to...
I'm trying to build a searchable interlinear bible with VB6. I have tried a couple of options for displaying the Unicode Hebrew and Greek, first using the InkEdit control and then using the web browser control. InkEdit didn't provide a way to programmatically search for a string and scroll there...
Is there a way to search for text in a PDF file with the Adobe Acrobat Browser Control Type Library? Or any other method in VB6?
Add water (makes its own sauce).
Open the jpg in Photoshop and check the edges. Are the first one or two pixels semi-transparent? Sometimes an easy fix is duplicating the background layer several times and then flattening the image.
Add water (makes its own sauce).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.