@MarkT - good point. I assumed that the error was occurring in the first timer sub and not the second one. Didn't even take much notice of the second one, actually!
Type: Posts; User: ColinE66
@MarkT - good point. I assumed that the error was occurring in the first timer sub and not the second one. Didn't even take much notice of the second one, actually!
Image3.UBound will return the highest .Index property assigned to your control array and not the number of elements in the control array (just tested)
Therefore you have an Image3 control whose...
There are no tabs. You create them yourself in code in the same way that the other controls are created in the demos that can be downloaded from the site.
Continuing with Doogle's theme it may be more efficient to analyse the grid first, populating an array of strings for all vertical, horizontal and diagonal 'paths'.
i.e. for a 3x3 grid you'd have...
Check out the vbrichclient4.dll. You could make one quite easily with that
http://vbrichclient.com/#/en/About/
No, there is no property. In my demo you could add checkbox controls to achieve that effect but, since you are more interested in the Cairo stuff, the answer is that you would need to create them...
What, in a demo? Did you actually read the first post?
From the rules pertaining to this section:
Preview of Test Harness:
98261
Hi all,
I've been working on a VB6 treeview control that I created from scratch using plain old VB6 in combination with Olaf Schmidt's excellent Cairo wrappers (vbRichClient4.dll)
After...
Oh, and the grid line width is NEVER a factor, to my surprise...
Been playing around with this as it should (you'd imagine!) be simple.
Anyway, if you have a flat grid with no borders, then take the sum of all .ColWidths and size the grid to that total, you...
OK, but if your users have their scrollbars set to anything other than the default size then your 'magic' 23 will not be so magic after all...
Don't forget that you need to allow for grid line width when adding up your column widths. Try with a large grid line width and you'll see....
The latest version does support unicode - but not the one in Post #1
Look in the code bank. dilettante recently posted a thread demonstrating this...
Thanks Niya - that is very pleasing to hear. This control is now waaaaay better than the OP and will improve even more, I'm sure (loving Cairo drawing provided by vbrichclient4). But the fact that...
email it me and I'll fix it for ya. You can get an address via my signature....
I don't know if anybody is interested (since nobody has posted here), but recently I resumed work on my Tree control, making some fairly significant changes in the following areas:
- GRAPHICS...
Nah. That'd be bloat-ware...
My posted wasn't intended as an 'idea'. I was describing how you are supposed to use the MousePointer property. Perhaps you can use your current graphic (Pencil.cur) in the way you did previously;
...
You need to assign the picture to the MouseIcon property and set the MousePointer property to '99 - Custom'
The MousePointer property DOES NOT hold the cursor!
LOL. One modal form. One label. One timer. Job done...
Make your own message box (from a form) and incorporate a timer into it that will close the form?
Or even
List1.AddItem Space$(9 - Len(CStr(i))) & "Server " & i
I'm curious as to why there is a wish to do this in the first place? I can only assume that the first item is meant to look like a header for the rest of the list? Or is, in some other way,...
Air code but it will be something like this...
SELECT trans_date AS Date
SUM(sold_price * sold_qty) AS AmountDue,
SUM(trans_cash) AS Cash,
SUM(trans_cash - (sold_price * sold_qty)) AS...
Well, assuming that you are the only user writing to this table the answer is SELECT MIN(Prev_id) FROM linked.
I suspect, however, that your illustration of the problem is lacking some relevant...
App.Path & ".\Data\File1.txt"
EDIT: My bad. I thought you could use dot notation as described above. Well, maybe you can, but not as I illustrated (as my failed test just revealed!)
....or ListView if you set the 'Indentation' Property to zero.... ;-)
Why I created this:
I am developing a treeview control BUT this isn't it!
At this stage, I am just creating the classes...
OK. I was just trying to help as earlier you said this:
Thanks Bonnie - that's very useful...
I actually use capstill.dll in my program (link in sig) and I do recall seeing some code at his site for working with webcams but, if memory serves, it accompanied his fsfwrap.dll - you might want to...
Maybe he only wants to use it in one part of his code? Say, for instance, the code that validates whether the user has a licensed copy of the program...
You should be binding the Image control to a field in the recordset, not the recordset itself, I'd have thought...
Have you seen dilettante's code in the codebank? Maybe you don't need that OCX after all?
http://www.vbforums.com/showthread.php?708081-VB6-DirectShow-WebCam-Minimal-Code
I see. Good luck :-)
If it's obfuscation you're after then probably, yes...
Actually I was just playing - Bonnies code is much simpler and does the same thing!