x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Spiny Page Icon Posted 2006-09-08 12:31 PM
#
Avatar image of Spiny
Factorite (Senior)

Posts:
77
Location:
Somewhere in the UK.
Status:
Sorry, I couldn't help myself.

I'll call this version 1.1 Beta 1 until I'm sure it's bug free.

New features!
Search by file size!
Search by file date!

70% more code bloat! No, wait, that's not a feature.

I thought about forcing you all to use ISO date format (yyyy-mm-dd) but I decided to check the regional settings instead.
Yes, even Hungarian dates work.
It won't let you enter an invalid date and it even knows about leap-years.


I couldn't decide if searching for tasks and appointments by date was a good idea. What do you think?

Edited by Spiny 2006-09-08 12:35 PM
 Top of the page
cmonex Page Icon Posted 2006-09-08 2:11 PM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
Quote
Spiny - 2006-09-08 6:31 PM
I thought about forcing you all to use ISO date format (yyyy-mm-dd) but I decided to check the regional settings instead.
Yes, even Hungarian dates work.


cool. (of course all the other features are cool too!)

hungarian dates? wow nice of you btw, we use that ISO or whatever order already. i think that is the most sensible order
 Top of the page
Spiny Page Icon Posted 2006-09-08 5:30 PM
#
Avatar image of Spiny
Factorite (Senior)

Posts:
77
Location:
Somewhere in the UK.
Status:
Quote
hungarian dates? wow nice of you btw, we use that ISO or whatever order already. i think that is the most sensible order

I'm happy with British (dd/mm/yyyy) or ISO (yyyy-mm-dd). American format (mm/dd/yyyy) is just perverse.
Bulgarian (dd.m.yyyy. г.) is the tricky one for programmers, the rest are easy to handle.

Edited by Spiny 2006-09-08 5:41 PM
 Top of the page
cmonex Page Icon Posted 2006-09-08 5:40 PM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
i think the british format is the perverse one american is ok... but i'm biased, as that's closer to our format.
 Top of the page
Hurricane John Page Icon Posted 2006-09-08 11:28 PM
#
Avatar image of Hurricane John
H/PC Sensei

Posts:
1,298
Location:
Florida
Status:
Quote
Spiny - 2006-09-08 12:31 PM

Sorry, I couldn't help myself.

I'll call this version 1.1 Beta 1 until I'm sure it's bug free.

New features!
Search by file size!
Search by file date!

70% more code bloat! No, wait, that's not a feature.

I couldn't decide if searching for tasks and appointments by date was a good idea. What do you think?



I like the new features, both will be very useful to me. As for searching by date, I guess it might be useful to some, but I'm not sure that I would make much use of it.

BTW- Check your orginal thread..I left a suggestion.
 Top of the page
cmonex Page Icon Posted 2006-09-09 12:44 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
searching by date is usually key for me to find something quickly - or find it at all
 Top of the page
torch Page Icon Posted 2006-09-09 1:24 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,741
Location:
United StatesĀ 
Status:
Spiny, if/when I get the MP900, I'll try your software..
 Top of the page
Spiny Page Icon Posted 2006-09-11 6:00 AM
#
Avatar image of Spiny
Factorite (Senior)

Posts:
77
Location:
Somewhere in the UK.
Status:
1.1 Beta 2. Unless you can't find any bugs.

Calendar and Tasks can now be searched by date.
 Top of the page
Hurricane John Page Icon Posted 2006-09-11 12:37 PM
#
Avatar image of Hurricane John
H/PC Sensei

Posts:
1,298
Location:
Florida
Status:
Spiny



Re: Lastest version - Getting the following errors when searching Tasks or Calendar by date!


Type mismatch: 'dtmFileDate' or Type mismatch: 'dtmStart'


BTW in the latest version - If I search by File Name and get the results, why is it that I have to restart SearcHPC, in order to perform an new search using Find Text?

The previous version allowed you to do the above, but the only problem was that it didn't reset the search count. For example, if I found 12 files in a 'File Name' search and then searched by 'Find text' and located 3 instances of that text, the search count would show 15 (12 +3)?

Edited by Hurricane John 2006-09-11 12:55 PM
 Top of the page
Spiny Page Icon Posted 2006-09-11 2:15 PM
#
Avatar image of Spiny
Factorite (Senior)

Posts:
77
Location:
Somewhere in the UK.
Status:
Quote
Type mismatch: 'dtmFileDate' or Type mismatch: 'dtmStart'

That happens with US dates and not UK. I've found the problem, but I don't know how to fix it yet.
It's a bug in Visual Basic. Long US date formats aren't recognised as dates.

IsDate(Date) returns True.

Date = FormatDateTime(Date, vbLongDate)
IsDate(Date) returns False.

How stupid is that?

Quote
BTW in the latest version - If I search by File Name and get the results, why is it that I have to restart SearcHPC, in order to perform an new search using Find Text?

That's a bug.

Quote
The previous version allowed you to do the above, but the only problem was that it didn't reset the search count. For example, if I found 12 files in a 'File Name' search and then searched by 'Find text' and located 3 instances of that text, the search count would show 15 (12 +3)?

That's the same bug, before I "fixed" it.

I'll fix it again. Hopefully I'll get it right this time.
 Top of the page
Hurricane John Page Icon Posted 2006-09-11 2:58 PM
#
Avatar image of Hurricane John
H/PC Sensei

Posts:
1,298
Location:
Florida
Status:
Just trying to understand......

Other than the order of MMDDYYYY (US) and DDMMYYYY (UK) how is the US date longer?
 Top of the page
Spiny Page Icon Posted 2006-09-11 3:48 PM
#
Avatar image of Spiny
Factorite (Senior)

Posts:
77
Location:
Somewhere in the UK.
Status:
Quote
Other than the order of MMDDYYYY (US) and DDMMYYYY (UK) how is the US date longer?

It's not that the US date is longer, it's that eVB won't recognise the long US format as a date. It's happy with the long UK format, and short US and UK formats.
I need to use the long format so I get four digit years. Otherwise you might enter 2006 and actually get 1906 if it ignores the first two digits.
 Top of the page
Spiny Page Icon Posted 2006-09-12 5:12 AM
#
Avatar image of Spiny
Factorite (Senior)

Posts:
77
Location:
Somewhere in the UK.
Status:
Quote
Type mismatch: 'dtmFileDate' or Type mismatch: 'dtmStart'

Fixed.

Quote
BTW in the latest version - If I search by File Name and get the results, why is it that I have to restart SearcHPC, in order to perform an new search using Find Text?

I just tested this on the latest version. I got 11 results, then typed something in Find Text and got 2 results. The titlebar displayed the number of results from the last search.
I can only suggest that you try it again with the current version.

Now 1.1 Beta 3.
 Top of the page
C:Amie Page Icon Posted 2006-09-12 7:42 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
17,993
Location:
United Kingdom
Status:
Quote
cmonex - 2006-09-08 10:40 PM

i think the british format is the perverse one american is ok... but i'm biased, as that's closer to our format.
How can you say that How is American closer to your format...

British is the exact reverse of yours at least, where as these American scoundrels just make up the order as they go along At least ISO 8601 is sensible

Truth be told I programmed this site in ISO8601 Wretched AmericaniZed servers kept trying to make out it was the 12th day of the 31st month - It's just not cricket people!!!!

YYYY-MM-DD
DD-MM-YYYY
MM-DD-YYYY

Spiny, have a look at the homepage
 Top of the page
Hurricane John Page Icon Posted 2006-09-12 7:52 AM
#
Avatar image of Hurricane John
H/PC Sensei

Posts:
1,298
Location:
Florida
Status:
Spiny

I hate to be a pain, but I must be doing something wrong?

I made sure that the Calendar box was checked in the File folder, then entered the To and From dates in the Date folder.

Got an new error - Variable is undefined 'Item'


Also when typed in Filename = *.vb (got a result of 10 vb files) then I cleared the info in the Filename box and unchecked 'Files' in the File folder. Then added a checkmark to the Contact box and ran a 'Find Text' for Smith (got a result of 5) which then changed to 15 in the title bar when the search was completed (10+5)

What am I doing wrong? Is there a proper procedure that I am missing?

BTW- I'm using a HP 728
 Top of the page
1 2
Jump to forum:
Seconds to generate: 0.234 - Cached queries : 72 - Executed queries : 12