Type: Posts; User: Spoo
Search took 0.05 seconds.
I knew you'd get it :)
My earlier post was a little too terse ,, TG explained it much better.
If you don't initialize MinDate, then wouldn't there be a problem (using your code snippet) comparing myDate to MinDate in the line ElseIf myDate <= MinDate Then ,, ?
MinDate would be...
One possible way would be to create 2 more vars .. myMaxDate, and myMinDate. They probably should be Date type.
Then, each time you update your myDate var, test it against the two
The Britcom "Yes, Minister" focuses on your very point.
It is a riot.
Regarding towards front or back .. let's call this the Z-axis
It seems that you have a pre-defined set of targets .. the "poles"
Further, I would imagine that you have 3 coords for each...
I think Doogle (and Dilletante too) is suggesting you essentially create a sub
to read the Java code and create a text file containing the 20 arrays and their
200+ values. Thus, your text...
One possible enhancement to Bonnie's code might be (in addition to intercepting
and disallowing the Min, Max, and Close button action), to have a MsgBox pop up
with an explanation .. something like...
This is admittedly rather crude, but, since you know how to capture the entire
Form, maybe you could start from there.
On the other form, add 2 controls .. PictureBox1, and PictureBox2,...
In addition to Bonnie's info, an individual Sub or Function can contain
up to around 3,000 lines .. I don't know the exact number, but at least
the IDE gives you a warning .. Too many lines...
There are many ways you could do it, so I didn't specify.
Basic steps ...
1. create 2 arrays .. one for RawList, one for GoodList .. oversize them, say 100 elements each
2. issue your...
One brute force approach would be to use your red SQL statement and
dump the results into an array. Then, loop thru the array, and allow only
those that match, using something like
TG and DataMiser
Yes, thanks for better stating my source of confusion.
I was drawn to it as the OP indicated that when those changes were made, his compile error began.
But I agree, too, with...
This line looks confusing to me ...
b = 45: 'txt(1)
1. Why do you have a colon after 45?
2. Why do you apparently comment out txt(1) .. ie, an apostrophe before txt(1)?
OK. Thanks for the clarification.
This is still a little confusing to me, but I think you mean
that in this sceario ...
Wed .. logged in
Thu .. logged in
Fri .. logged in
Sat .. ignore
.. do you mean literally "consecutive" days.
.. or, do you want to exclude Saturdays and Sundays .. ie, if it is a 5-day work week situation.
If the latter, then your...
Helpful description of the situation, except for "rubber band"
What does it mean?
Something like a rectangle with dashed perimeter that grows as the
mouse is dragged (in preparation for...
It seems that transparency is needed.
Thus, simply putting the Image control inside of its own PictureBox (admittedly overkill)
would seem to be unsatisfactory.
Could you possibly post...
It might be a problem if the "detection" is expected to occur in a .. no, check that.
The parameters are the same for each type of control
Private Sub CB1_MouseDown(Button...
Somewhat off-topic and of no tangible use here, but ,,,
Anybody remember dBASE-IV .. from Ashton-Tate.
It had a built-in TRACE feature, which I used from time to time.
Pretty cool, but the...
It's a long shot, but this may be of some use ,,,
In Design mode, bring up the Form and the Properties window.
Click on Command1(1)
Does the Index read as 1? ,,, Given that this one...
This might be the problem
rs.fields("timestamp") = now()
That is an understatement if I ever saw one.
So, it seems like you have tried several things, but without success.
You don't say specfically, but I assume that you are not happy with
the Z-Order's of various windows when you...
That would be a good place to start .. one font only, say Courier.
Recall that in post #9, the OP is only interested in one font.
Yes, I had very similar thoughts regarding the issue (comparing) and possible
solution (pixel-by-pixel matching). Seems doable, but will no doubt be a challenge.
However, once a means...
Thanks for the info.
Yes, little steps at a time. Will wait for OP's reply.
Thanks for the good news .. ;)
Zvoni and Si
Clip is a new one on me. Nice to know about.
My code snippet was a prelude to further code ,, mainly to set col widths to match.
Does Clip automatically do that?
In general terms,
.. 1. assure GridA has same number of rows
.. 2. assure GridA has same number of cols
.. 3. use a nested loop to copy each cell
Possibly, but if so, only with BMP ... not JPEG.
The reason is that my approach would involve "reading" the BMP file header
and parsing the BMP file. The problem with JPEGs is that...
When you say all attempts "failed", what do you mean?
,, picture goes to wrong place
,, no picture appears
,, something else
BTW, is this an Excel macro or something in VB6?
Well, that seems reasonable.
What will the "image" be?
,, BMP file?
,, JPEG file?
,, something else?
Yes, that does make more sense.
Basically, seems like you'd like to enable the app to "remember" custom changes.
I'll let Zvoni get more into INI files, but essentially they are TXT...
Re your 1st question, I have a question .. why would you need to?
At face value, it seems unnecessary, as it would just be recreated next time you start the app.
Could you provide a...
Just to enhance upon Bonnie's observations ..
1. Line .. Line is a "reserved word" in VB6. Using it for an array name "confuses" VB
2. Character .. You seem to have a spelling error .....
Actually, SEO stands for Shaggy Enjoys Oatmeal.
This seems so specialized that I really doubt if anything already exists in VB6.
Most likely, you will have to create an algorithm yourself.
I'd like to help you, but your info is so...
Using the CODE wrapper, your code looks like
If check1.Value = 1 Then
If check2.Value = 1 Then
If check3.Value = 1 Then
If check4.Value = 1 Then
OK, I see a date 8/7/2013 at the right, in row 1
I must confess to not having used a ListView control before, but, could
it be that instead of it being the "first" column, it is rather...
Click Here to Expand Forum to Full Width
Survey posted by VBForums.