ShawnAdministrator
(KiX Supporter)
2002-06-27 07:57 PM
Kixforms - BBChecker II

Lonkero !

My apologies - your BBChecker is absolutely amazing. I was thinking that the script was hanging ... but I left it running, then all of sudden - it popped-up and told me there were new posts on the board. Forgive me because I didn't know that was how it worked. Your script shocked the hell out me ... this is great !!!


ShawnAdministrator
(KiX Supporter)
2002-06-27 08:08 PM
Re: Kixforms - BBChecker II

Ok - Im over the shock now - so, how do I recreate this "garbage" thingie ? What do I have to do to get that ?

LonkeroAdministrator
(KiX Master Guru)
2002-06-27 08:27 PM
Re: Kixforms - BBChecker II

I don't know, do you have the older or newer script?
in the old one it didn't do the events at all and in the new it does.
usually it produces the garbage at 5 minutes but it sometimes takes 1-2 hours.
it just hangs there around and suddenly kixforms creates event that makes kix to crash.
can't say much more.
had it before on older stuff...
will check more on that.


LonkeroAdministrator
(KiX Master Guru)
2002-06-27 08:35 PM
Re: Kixforms - BBChecker II

shawnie, this was the thread I found on the beta.
it discusses other stuff too but if I remember this is build 6 or 11. helping, heh.

anyways:
http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=3;t=000305

I got somehow around that error, but just don't remember how and am too beer-headed right now to dig it up.

cheers,


ShawnAdministrator
(KiX Supporter)
2002-06-27 08:35 PM
Re: Kixforms - BBChecker II

crap - I hate those kinds of problems, tough to reproduce eh ? So this garbage, it gets piped the the DOS console ? When the script crashes, does it just "syntax-out", or does it just stop, with no messages ?

LonkeroAdministrator
(KiX Master Guru)
2002-06-27 08:43 PM
Re: Kixforms - BBChecker II

I placed the error somewhere...

here, assuming you use (like I do for everything nowadays) wkix:


cheers,


ShawnAdministrator
(KiX Supporter)
2002-06-27 08:51 PM
Re: Kixforms - BBChecker II

Ok - well, I'm running the script now, haven't repro'd it yet - but looking at the error message, I think I know (generally) what might be causing it ... it looks like a bad event string, generated from an unhandled event ... will have to review code for suspect handler.

p.s. This script of yours is a HOOT !!! I upped the interval to 20 seconds - might play with that more ... idea - how about you change the WINDOW CAPTION when a new, unchecked message comes in - that way, if you step away, and miss a post, you can tell by the minimized taskbar icon - a new message has arrived.

[ 27 June 2002, 20:54: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-06-27 09:05 PM
Re: Kixforms - BBChecker II

thanks mate!
this script has been crying for update since the released 1.5 last year (ppl can find it in www.gwspikval.com/jooel/scripts )

it was made with IE and with your amazing help got it working somehow, but if this really fires up, it will surely be the II!

btw, the error should come up.

I got it on every run after made the events work.
also before that it appeared on the console.
so if you dont get it, you don't have the right forms build [Big Grin]


LonkeroAdministrator
(KiX Master Guru)
2002-06-28 02:39 PM
Re: Kixforms - BBChecker II

not getting the error currently so will make a new "build" with some more functionality.

what time gap you changed to 20 secs.
the check time?

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-06-28 04:14 PM
Re: Kixforms - BBChecker II

still getting it.
made exhaustive debugger script for kix and scripts for exchaustive and time consuming loops.

while testing it found the error symbol.
if you start kix with debug and instead of pressing enter press CTRL+A and it gives last symbol in the error what I get.

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-03 12:15 AM
Re: Kixforms - BBChecker II

shawn, have you got any time to check for the error?

just asking...

get my script to error out each time I run it and don't know what to do.

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-03 02:50 AM
Re: Kixforms - BBChecker II

Jooel,

Going to send you a possible quick fix ... stand by ...

-edit-

ps. Jooel, another member requested a change to the listbox control. I want to add a new listbox property called SORTED. And set the default to NOT SORTED. To get a sorted listbox, must now specify

$listbox.sorted = 1

Just a heads-up - will be implementing this in the next build ...

-Shawn

[ 03 July 2002, 02:54: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-03 07:22 AM
Re: Kixforms - BBChecker II

shawn, not tested your fix yet but...
what about multicolumn listbox?
like I want to have real table like thingy:
column1 column2
1 fisherman
2 fireman
3 policeman
4 sheman

can this be done or am I asking too much?
just would need it for timestamps and easy readability.

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-03 02:04 PM
Re: Kixforms - BBChecker II

Jooel,

In terms of this problem, questions:

1) What OS and SP ?

2) What vers/build Kixtart ?

3) How are you starting Kixtart, like this ?

wkix32 /i bbchecker.kix

-Shawn

[ 03 July 2002, 14:15: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-03 02:48 PM
Re: Kixforms - BBChecker II

shawnie,
w2k prof sp2 finnish,
wkix 4.10 build 95 (tested also with 4.02)
kixtart started by clicking on it.
which is then registered to start wkix32.exe %1

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-04 01:01 PM
Re: Kixforms - BBChecker II

I tested it on other machine (thought that my compaq may be responsible of the error) and with other username.
no luck same time, same error.

have you tried the script on w2k machine?


ShawnAdministrator
(KiX Supporter)
2002-07-04 02:12 PM
Re: Kixforms - BBChecker II

Jooel, no - I don't have any 2K boxes kicking around anymore ... I ran it for about 2 hours last night, on XP, and had no problems ... used wkix32 ... works like a champ ...

I'm preparing a special DEBUG version of FORMS, and will give it to you later tonight ... when it runs, it will traceout recieved windows messages to the console... this should provide the clues we need ... stay tuned ...

Something else you might try ... try using only 1 (one) DoEvents() method call in your loop - call DoEvents() only on the "main form" or the form you created first ... comment-out or remove the other DoEvents() call, and see if that makes a difference ...

-Shawn


LonkeroAdministrator
(KiX Master Guru)
2002-07-04 02:41 PM
Re: Kixforms - BBChecker II

I'll check.
anyway, it will make the forms unresponding to events for 5-20 seconds, but to check does it help i'll do that...


ShawnAdministrator
(KiX Supporter)
2002-07-04 02:50 PM
Re: Kixforms - BBChecker II

Unless my memory is failing me - I designed it so that all events, from any source (form or control), will filter properly through a single call to DoEvents(1) on the main form.

LonkeroAdministrator
(KiX Master Guru)
2002-07-04 02:52 PM
Re: Kixforms - BBChecker II

ok.
no help.
same time...


LonkeroAdministrator
(KiX Master Guru)
2002-07-04 02:56 PM
Re: Kixforms - BBChecker II

shawn, yes they come trough but I need my loop to sleep.
that's why I need separate looping of doevents.

on the old builds when the event-design was different this kind sleepy was lots easier to produce...

anyway, I think this is somekind windows thingy.
It looks for apps that are not responding or something. it sends some control stuff or then just refresh to all open windows.
have you code for those thingies if they even exists?

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-04 02:57 PM
Re: Kixforms - BBChecker II

I have an NT box at work - might try re-creating the problem here ... guess I'll need a WinHTTP component install package. Do you have one on your site ? Should I just install your BBChecker first (with WinHTTP), then start BBChecker II ?

LonkeroAdministrator
(KiX Master Guru)
2002-07-04 03:17 PM
Re: Kixforms - BBChecker II

don't quite follow...
anyway, all you need is the winhttp5.dll and kixforms.dll
register them

then you have the script (and taskbar udf)
which are ready to run.


ShawnAdministrator
(KiX Supporter)
2002-07-04 03:39 PM
Re: Kixforms - BBChecker II

sorry, i mean, where do I get WinHTTP ? If memory serves, you included it in your BBChecker I install package. Do you have WinHTTP on your web site, so that I can download ?

LonkeroAdministrator
(KiX Master Guru)
2002-07-04 04:34 PM
Re: Kixforms - BBChecker II

actually...
I have not yet done any bbchecker code (before this one) which uses winHTTP.
it was BBCodeparser.
it's on the site allright but I could post it to you too...


LonkeroAdministrator
(KiX Master Guru)
2002-07-04 04:38 PM
Re: Kixforms - BBChecker II

actually...
as you don't need anything but the winhttp5.dll but it's probably faster for you to download the whole package from US...

and when read from the BBChecker version 1.5 Readme, it really had winhttp allright.
winhttp is at http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/MSDN-FILES/027/001/655/msdncompositedoc.xml

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-04 06:04 PM
Re: Kixforms - BBChecker II

Jooel, can you make the FORMS version of BBCHECKER2 available on your web server (couldn't find it), or mail it to me at shawn.tassie@cgi.ca. Would prefer the web server downloadable thingy though [Wink]

LonkeroAdministrator
(KiX Master Guru)
2002-07-04 07:02 PM
Re: Kixforms - BBChecker II

too late.
out of windows world in my home at linux-paradise.

so can't put it online before tomorrow... say after 10 hours.

but it's somewhat the same version I did post to you last.


ShawnAdministrator
(KiX Supporter)
2002-07-04 07:51 PM
Re: Kixforms - BBChecker II

Actually, with your permission, may I port BBChecker2 to Kixforms-TNG ? (The Next Generation) ... almost done that ...

I started-off porting loginscreen.exe (the interface, not the code) to C++/COM, then realized that it was too crude and limiting (imho) ... So basically now porting Kixforms to Kixforms2. Its implemented as an ActiveX Server (Kixforms2.exe) NOT a DLL, and is multi-threaded. This eliminates a big problem with GUI/COM DLL's - the REFRESH problem. So basically, with KIXFORMS2, one can issue a SLEEP 100000, and the GUI will still active and alive and real fresh-like ...

Made some small interface changes - basically taking the lessons I (we) have learned over the years, and rolling them into a fresh component. Working on the EVENT STRATEGY again - the plan is to recycle the DoEvents() type thing again ... unless you have anymore thoughts on that ...

Some other changes are as follows:

1) To create a multi-line textbox (remember the old TEXTBOX/EDITBOX thingy), one can now say this:

$TextBox = $Form.AddTextBox(10,10,100,100,"hi",1)

where the last parm is a boolean for MULTILINE (true/false). The method name has changed from .TextBox to .AddTextBox ...

2) Have already provided support for the ProgressBar control.

3) The component itself is smaller and more compact then the original.

4) Was planning on embedding much more HELP information in the component itself. So that if one uses Brian's TypeLibViewer, all the details (props,methods,etc) will be there.

5) Although not done (yet), will be adding the LISTVIEW control, which is your MULTICOLUMN listbox control.

6) The SHOW method has been enhanced to support modes such as MINIMIZED, MAXIMIZED, HIDDEN, etc ... much like the kixtart SETCONSOLE function.

7) Installation has changed quite a bit ... instead of saying:

regsvr32 kixforms.dll

one now says:

kixforms2.exe -install
kixforms2.exe -uninstall
kixforms2.exe -? (version info)

Was wondering if you had any others ideas for improving FORMS in any way ... like to hear your thoughts ... by the way, the object (progid) for KIXFORMS will be

$Form = CreateObject("Kixtart.Form.2")


LonkeroAdministrator
(KiX Master Guru)
2002-07-04 08:08 PM
Re: Kixforms - BBChecker II

mm...
sounds better than one could expect!

sounds like also checker will not be out until kixform jumps one heap up.

that's ok, as it's name allready says, it's also version 2 [Razz]

I don't know have you implemented allreay the getfocus or window action stuff...

that also need to be there...

can't at the moment ask much more as I'm allready waiting for a change to get my hands on it!

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-04 09:06 PM
Re: Kixforms - BBChecker II

My first goal is to fix this event thingy, then include support for OnGotFocus, OnLostFocus for the current version ... but will probably not implement LISTVIEW in version one, just include it into Kixforms2 because the listview object is quite large, and complex ...

LonkeroAdministrator
(KiX Master Guru)
2002-07-04 09:31 PM
Re: Kixforms - BBChecker II

oh, so we are getting more builds?!?!?
I actually catched the listview when scrolled around your QF...
just didn't know what it was.
now I know and...
I'm going to trash excel once this comes out!

anyway, this ongotfocus thingie is more than good to have...

is the syntax changing a lot between generations? as don't know how large I should make my script... to make it easy to turn over to KixForms_tng


ShawnAdministrator
(KiX Supporter)
2002-07-05 01:51 AM
Re: Kixforms - BBChecker II

testing ... 1 ... 2 ... 3 ... pffttt, is this thing on ?

lol - just testing Lonkeros BBChecker2 ... please ignore ...


ShawnAdministrator
(KiX Supporter)
2002-07-05 02:15 AM
Re: Kixforms - BBChecker II

Lonkero, I have a new Kixforms build, with a potential fix, please let me know when you can test ... if it works, you owe me a beer, Labatts Blue (Canadian) if you please, or a Coors Lite, or actually, if possible, how about a Jamaican Red Stripe (truely, my favorite Beer) ...

p.s. Happy Fourth of July to all our American members (friends) ...

[ 05 July 2002, 02:17: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-05 08:39 AM
Re: Kixforms - BBChecker II

shawn, you have?
where do I get it?

I'm just putting my beta online...


LonkeroAdministrator
(KiX Master Guru)
2002-07-05 09:12 AM
Re: Kixforms - BBChecker II

ok...
my code is online...
heh, public beta [Big Grin]

even did the readme!

just waiting for your fix to test it...........


ShawnAdministrator
(KiX Supporter)
2002-07-05 02:08 PM
Re: Kixforms - BBChecker II

Jooel, whazzup ? you have mail.

LonkeroAdministrator
(KiX Master Guru)
2002-07-05 02:37 PM
Re: Kixforms - BBChecker II

I were working...
I quess I might say that...

well, I was having a conversation with boss and some women [Big Grin]

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-05 04:13 PM
Re: Kixforms - BBChecker II

the link to bbchecker II if there is possible triers:
http://www.gwspikval.com/jooel/scripts/bbchecker/II beta/

[ 05 July 2002, 16:14: Message edited by: Lonkero ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-06 09:11 PM
Re: Kixforms - BBChecker II

shawn, noticed one nice thing, it ends up silently if connected via vpn...

I started to scare that my mods are disfunctioning...

the second debugger is running now and will reply the results...

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-06 09:25 PM
Re: Kixforms - BBChecker II

ok, now it has run a while and hasn't crashed.
I'll leave it in background over the night to see...

but the change is, there are both 1024 and 1025 but no crash...

waiting on, but this looks promising!

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-06 10:03 PM
Re: Kixforms - BBChecker II

there is the setfocus...
and takefocus.
but setfocus does not apply to form.
so even if I make form visible I can't bring it to desktop if user has another app open.

I'll use kix's setfocus then, but it would ease the code if it was in the forms methods.


LonkeroAdministrator
(KiX Master Guru)
2002-07-07 04:32 AM
Re: Kixforms - BBChecker II

don't know why, but kix is unable to set focus to the window...
will be looking, but seems silly the need to manually activate the form when new post arrives.

other thingy, don't know if you have allready solved it, but my quess on the visible console window is:
value returned is null.

kixtart has empty and null as output too!

if that really is the case, then might need to speak with ruud about this.

will test with it a little...


ShawnAdministrator
(KiX Supporter)
2002-07-07 04:45 AM
Re: Kixforms - BBChecker II

Going to implement OnSetFocus ... this will trigger when a FORM gets the KEYBOARD focus ... which is all that Native Windows provides (it would seem) ... lets have a go at it ... and see where it takes us, eh ?

LonkeroAdministrator
(KiX Master Guru)
2002-07-07 04:50 AM
Re: Kixforms - BBChecker II

yeah.
my eyes are getting tired... [Embarrassed]

updated the download folder on our server with new and updated files.

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-07 05:07 AM
Re: Kixforms - BBChecker II

ok bud - will download latest and greatest - nighty-night my friend.

LonkeroAdministrator
(KiX Master Guru)
2002-07-07 05:10 AM
Re: Kixforms - BBChecker II

heh. not giving up yet.
still not made coffee, soon will...

could you try to mail me.
I made some test restrictions to our exchange IMC and don't know about how well the incoming mail is working now.

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-07 05:15 AM
Re: Kixforms - BBChecker II

[Frown]

code:
This Message was undeliverable due to the following reason:

Each of the following recipients was rejected by a remote mail server.
The reasons given by the server are included to help you determine why
each recipient was rejected.

Recipient: <Jooel.Nieminen@gwspikval.com>
Reason: Relaying is prohibited

-Shawn


LonkeroAdministrator
(KiX Master Guru)
2002-07-07 05:28 AM
Re: Kixforms - BBChecker II

ok.
so rerouting is needed.
what happens now?


LonkeroAdministrator
(KiX Master Guru)
2002-07-07 05:34 AM
Re: Kixforms - BBChecker II

btw, as MCA entered the 3200+ club you are not anymore the top-poster [Frown]

if it stays like this there will be on top-poster-list:
top three changed.

anyway, it will not be on next list 'cause mca passed you this month.
and it will maybe not be ever as there are many days for you to reverse the situation.


ShawnAdministrator
(KiX Supporter)
2002-07-07 06:01 AM
Re: Kixforms - BBChecker II

crap !!! MCA passed me ? oh well, guess he's the OLD FART now ...

Jooel, that OnSetFocus thingy ... was your intent to use this for a HYPERLINK ? Because if so, think I can add a property to the LABEL control, that will AUTOMATICALLY turn the TEXT in LABEL to a HYPERLINK ...

[ 07 July 2002, 06:02: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-07 06:10 AM
Re: Kixforms - BBChecker II

nope.
the onmouseover was for that...

setfocus for application modal changes.

as, the form is not seeable to user when no new posts arrived.
but if he wants to look to history, he can't do that because clicking on taskbar has no effect.
then, if we would have ongotfocus which says that the form is the active app we could bring the main form to users desktop.

about the pass, I made history today too.
got my debyt to top5...

will see how long that lasts.


ShawnAdministrator
(KiX Supporter)
2002-07-07 06:23 AM
Re: Kixforms - BBChecker II

how about I add a parameter to SHOW that will allow one to MINIMIZE the window, that when you CLICK on the TASKBAR ICON, it should restore to NORMAL ???

[ 07 July 2002, 06:23: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-07 06:51 AM
Re: Kixforms - BBChecker II

shawn,
that would work, but...

as discussed before, the inbuild structure of handling events makes me the need to make one form.
this then disables the ability to minimize.
cause, if it will minimize, it will also minimize in this the history- and buddy-lists.
don't think the user would like that he can see the history for 20 seconds and only when newpost comes up. [Big Grin]


ShawnAdministrator
(KiX Supporter)
2002-07-07 06:57 AM
Re: Kixforms - BBChecker II

Is there anyway to consolidate everything into ONE form, but have the form STRETCH and GROW dynamically (if required) ?

LonkeroAdministrator
(KiX Master Guru)
2002-07-07 07:10 AM
Re: Kixforms - BBChecker II

ofcourse.
how you may even ask that?
dude, we are using kixtart! [Wink]


LonkeroAdministrator
(KiX Master Guru)
2002-07-07 07:26 AM
Re: Kixforms - BBChecker II

actually,
after re-thinking it's not so much...
but, will make something similar to winamp's UI

backupped the code I have now.
as you never know where it gets finally...


ShawnAdministrator
(KiX Supporter)
2002-07-07 05:53 PM
Re: Kixforms - BBChecker II

yeah - sort of pictured a single form, with a listbox and a HIDE button. When HIDE is clicked, the form is RESIZED to accomodate the LISTBOX, the form can automatically MINIMIZE and NORMALIZE as required, around the TASKBAR ...

LonkeroAdministrator
(KiX Master Guru)
2002-07-07 06:01 PM
Re: Kixforms - BBChecker II

hey.
just woke up 10 minutes ago.
nice to see, I'm not the only one.

sadly form is a square so the form layout had to be rethinked.

will produce some kind of workaround, but not going to like it.

so when was your TNG coming up? and does it handle multiple forms in same manner?


LonkeroAdministrator
(KiX Master Guru)
2002-07-07 09:10 PM
Re: Kixforms - BBChecker II

how is that I can't set focus to form with kix's setfocus?
expected failure or what?


MCA
(KiX Supporter)
2002-07-08 01:08 AM
Re: Kixforms - BBChecker II

Dear Shawn,

It will not for long. During our vacation our counter will stop for
a period.
Only the active members get the possibility to move up in the TOP25
list. To become a Third Millenium guy isn't a very easy task.
Regardless of quantity or quality of your reactions.
At least such person must be a member for about two years.

Once I ask myself:
how much time costs it to enter all those information to the board?
At least you have to wait for one minute between each entry.

In most situations a fast reaction is possible. In other situation one simple
and short reaction can cost many hours.
See f.e. the amount of reactions of Ruud in relation to suggested amount of
hours in programming and testing a new kixtart release.
Also a chat look-a-like has quality. It can inspire you for great ideas in
a lonely night/moment.
greetings.


LonkeroAdministrator
(KiX Master Guru)
2002-07-09 09:58 PM
Re: Kixforms - BBChecker II

shawnie,
I made the new branch available at that same
http://www.gwspikval.com/jooel/scripts/bbchecker/II%20beta/ location...
it's the bbcheckerII.kix

it surely still is beta as you may need, but made the layout changes.
what you think?


ShawnAdministrator
(KiX Supporter)
2002-07-09 10:05 PM
Re: Kixforms - BBChecker II

oh man ... that is much, much better (imho) - much more easy to use !!!

ShawnAdministrator
(KiX Supporter)
2002-07-09 10:12 PM
Re: Kixforms - BBChecker II

Jooel,

Have you ever heard of this object:

$obj = createobject("microsoft.xmlhttp")

supposedly like WinHTTP, but comes with NT5 ???

[ 09 July 2002, 22:13: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-09 10:15 PM
Re: Kixforms - BBChecker II

I got dead battery and left charger at work so can't work on the script anymore today.

but, the way it minimized is going to change.
as well as the buddylist is actually going to be there... soon.

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-09 10:29 PM
Re: Kixforms - BBChecker II

heh, it really went down... the laptop I mean...

no I haven't heard...
xmlhttp?
comes with 2000?
now you are starting to make some intrest in my little head...

so, it abviously supports xml...
is there a way to get it to work with nt (9x support is something everyone should drop)?

is there a link where I can read about it?


ShawnAdministrator
(KiX Supporter)
2002-07-09 10:42 PM
Re: Kixforms - BBChecker II

Actually, it was Bryce that clued me into this component ... lots-o-stuff on the web:

http://www.devguru.com/Technologies/xmldom/quickref/obj_httpRequest.html

-Shawn


LonkeroAdministrator
(KiX Master Guru)
2002-07-09 11:02 PM
Re: Kixforms - BBChecker II

sorry, but where it says it comes with w2k?
I think I ran to something like this at m$ page before, but could not get it working.

feeling little suspicious...

this could be good on one thing:
no need for dll-registering.

otherwise, have to see the power before can say more.


Kdyer
(KiX Supporter)
2002-07-10 09:24 AM
Re: Kixforms - BBChecker II

I have tried this under XP, and it seems to make the window disappear below my taskbar.. I can use ALT+SPACE and move it up.. Just kind of annoying..

Kent


Kdyer
(KiX Supporter)
2002-07-10 09:48 AM
Re: Kixforms - BBChecker II

Doh..

Tried it here on my home system and it appears fine..

Hmm.

Kent


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 10:10 AM
Re: Kixforms - BBChecker II

kent,
did you try it with version?
anyway, the form positioning is done by taskbar.udf
the old version (which is now named something like beta...) did that on purpose.
there was to be other stuff to pop it up, but failed to build such a thing.

so, can you try this current one with your xp?

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 01:41 PM
Re: Kixforms - BBChecker II

new layout fixes done.

layout working perfectly.

now starting to work on those open topic thingies...

[ 10 July 2002, 13:46: Message edited by: Lonkero ]


ShawnAdministrator
(KiX Supporter)
2002-07-10 01:55 PM
Re: Kixforms - BBChecker II

Jooel,

Thoughts:

1) Might want to include TaskBar() and FormLink() UDF's in the script itself ... saves having to download and copy/paste seperateley ...

2) Can you include support for a configurable WAIT timer, between BBS scans ... either through a GLOBAL $VAR at top of script, or through an OPTIONAL INI FILE (ie, if INI file is there, and value assigned - use it - otherwise, use default) ? Probably GLOBAL VAR would be easier.

-Shawn


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 01:58 PM
Re: Kixforms - BBChecker II

shawn, both done in 1.5 minutes.

LonkeroAdministrator
(KiX Master Guru)
2002-07-10 02:02 PM
Re: Kixforms - BBChecker II

done

LonkeroAdministrator
(KiX Master Guru)
2002-07-10 04:28 PM
Re: Kixforms - BBChecker II

shawn, anything else?

LonkeroAdministrator
(KiX Master Guru)
2002-07-10 04:39 PM
Re: Kixforms - BBChecker II

I got the open topic working fine but with label I ran to this old problem:
$=execute("$$$$my.text=$$url")

huh...


ShawnAdministrator
(KiX Supporter)
2002-07-10 04:48 PM
Re: Kixforms - BBChecker II

nope - im good - works a charm.

But since your asking, was wondering why you decided to make the FORM borderless. Sometimes, when BBChecker pops up - I'll be in the middle of a full-screen gui app, the BBChecker kinda "blends in" with the app - because it doesn't have a border ... no biggy, but was thinking that it may "look jazzier" if it had a minimal border ... just my two cents ... more personal preference maybe - haven't changed the script to see how it would look.

ps. aren't scripting languages WONDERFULL!!! One gets to see all the code, and if one wishes, can modify/enhance as desired!!! With 1 & 2 ghz workstations available, and even faster boxes on the horizon - I wonder if we'll ever see the day when traditional windows programs could/would be written in pure scripting language (eg, the demise of the compiled language - only for OS's and Libraries). At one time - I thought this would happen - but then that would throw copyrighting and propriety out the window - big business won't allow that to happen I'm sure ...


ShawnAdministrator
(KiX Supporter)
2002-07-10 04:55 PM
Re: Kixforms - BBChecker II

Actually - BBChecker might benefit from "The Toolbar BorderStyle" !!! Are you familiar with that one - it has a half-size TitleBar with minimal adornments. Can be seen in most "floating toolbars" when "detached" from the menubar - like if you dragged-and-detached the formatting toolbar from WORD ... not supported right now - but could be.

LonkeroAdministrator
(KiX Master Guru)
2002-07-10 05:25 PM
Re: Kixforms - BBChecker II

have go to the buss...
I'll return in hour.

btw, check the newist one and especially the buddyes section.

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 06:23 PM
Re: Kixforms - BBChecker II

shawn,
the popup will change anyway.
but normal borders I do not want as they look ugly.

something like:
if visible history or visible buddyes don't minimize.
neither can this way user minimize it.

and then when post comes, it will only popup if it's minimized.
that also would be a goodie to make shorter... like 5 secs.
or just slide other form up saying:
new post:
blaa blaa (lonkero)
then make it wait 0.2 seconds and slide down.
this way the popup can't disturb so much.

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-10 07:16 PM
Re: Kixforms - BBChecker II

ok - so I owe you:

1) OnGotFocus

2) OnLostFocus

3) OnMouseOver and OnClick open for HTML enabled labels ...

I would like to help you finalize your BBChecker ASAP because as you are developing, I'm converting / porting your stuff over to KIXFORMS-TNG ... which I've decided to make as BACKWARD COMPATIBLE to KIXFORMS as possible ... plus, you(we) can finally get rid of those embedded INLINE()/DOEVENTS() calls ... no need to worry about refreshes anymore!

In preparation for the conversion, can you test something for me ? I'm getting rid of the SCREEN object, eg:

$ScreenHeight = $Form.Screen.Height

and making it:

$ScreenHeight = $Form.ScreenHeight

in the new build. But this should already be implemented in KIXFORMS1 ... can you give it a shot ?


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 07:21 PM
Re: Kixforms - BBChecker II

sure.
not in next 10 hours though (didn't have time to bring windows machine to home).

it actually is better as it's shorter and easier to remember dor ppl not used to jscript.

so, am I going to have other goodies too at the time of next build?


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 08:42 PM
Re: Kixforms - BBChecker II

still, the variable where one can set the refresh loop...
I don't like someone needing to set variables.
I don't like ini's either.

if there has to be setup in tool that uses forms I think it has to be gui too.

but then again, I would add there also ability to do other settings too...

like bb address and version and...
and make it exe.
and post it on tucows.com or something similar. [Big Grin]

but, still.
main goal is to do a script for this bb exclusively.

about the xmlhttp... it will slow down progress of the devel of this version and I quess you don't want it to be released on winter.

anyway, it's pretty much in my head and the "release canditate" should be ready this week.

so, what is your schedule on tng?

if it's not in 3-6 months but sooner I'll sees my checker devel on the first canditate until I get some tng code from you to test.


ShawnAdministrator
(KiX Supporter)
2002-07-10 10:29 PM
Re: Kixforms - BBChecker II

I hear yeah bud. plan is to continue enhancing forms1 until your satisfied with BBChecker2, then I would like the opportunity to port over to TNG ... but like I said, I'm kinda following along with you, as you develop it further ...

Sleep and options settings ? Maybe as a headstart, here's a bastardized version of the optionbox from that PiXaso Paint script a while back ... with a few mods for setting a sleep value ... guess you could save state in the Registry with an optionbox strategy ?

code:
break on

$sleep = 20

$form = createobject("kixtart.form")
$form.width = 300
$form.height = 300

$setup = $form.commandbutton("Options",,,75,25)
$setup.center
$setup.onclick = "Options()"
$setup.default = 1

$form.center
$form.show
while $form.visible
$=execute($form.doevents)
loop

?"sleep=" $sleep

exit 1

function options()

dim $form,$delay,$ok,$cancel
dim $okayed $okeyed = 0
dim $canceled $canceled=0

; Changes global variable $sleep

$form = createobject("kixtart.form")
$form.caption = "Options"
$form.width = 250
$form.height = 150

$form.printxy(20,20,"Enter delay value:")

$delay = $form.textbox($sleep,20,40,100,20)

$ok = $form.commandbutton("OK",150,20,75,20)
$ok.onclick = "$$okayed=1"

$cancel = $form.commandbutton("Cancel",150,$Ok.Bottom+10,75,20)
$cancel.onclick = "$$canceled=1"
$cancel.default = 1

$form.center
$form.show
while $form.visible and not $okayed and not $canceled
$=execute($form.doevents)
loop
if $okayed
$sleep = val($delay.text)
endif
endfunction

Actually, if one obeys proper Kixtart SCOPING rules, you can actually have TWO forms named $FORM ... a GLOBAL one, and a local one ... the UDF $FORM gets created and properly destroyed and recreated with each invocation ... but when doing this, have to insure that ALL $CONTROLS are dimmed LOCALLY to UDF ... else, no worky ...


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 11:27 PM
Re: Kixforms - BBChecker II

I have to re-read your post...
but, the dimming, it's nothing but easy.
it can be hard for someone to understand what my script is doing, but that's normal [Big Grin]


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 11:30 PM
Re: Kixforms - BBChecker II

yeah...
that looks ok.
but it feels strange for me to create options section with only one setting.

maybe something but it still seems awfull...
like I don't even understand wait times of 60 seconds or under 5...

and then can be dynamic wait time.
if last time it had change, update sooner. if not keep longer update time.

[ 10 July 2002, 23:31: Message edited by: Lonkero ]


ShawnAdministrator
(KiX Supporter)
2002-07-11 04:53 AM
Re: Kixforms - BBChecker II

okee-dokee Jooel, OnGotFocus and OnLostFocus is implemented ... was testing using this script:

code:
Break On

$Form = CreateObject("Kixtart.Form")

$Form.Caption = "Kixforms..."
$Form.Width = 300
$Form.Height = 200

$Form.OnGotFocus = '$$Form.Caption = "GOT FOCUS"'
$Form.OnLostFocus = '$$Form.Caption = "LOST FOCUS"'

$Exit = $Form.CommandButton("Exit",,,100,25)
$Exit.OnClick = "Quit()"

$Exit.Center

$Form.Show(1)

While $Form.Visible
$=Execute($Form.DoEvents)
Loop

Exit 1

As one shifts the keyboard focus from window-to-window, watch the Kixforms titlebar for focus change information ...

Kixforms available here:
Kixforms Build 19


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 05:37 AM
Re: Kixforms - BBChecker II

so your owe list has changed.
some entries as taken away.
one need to add:
showState


Bryce
(KiX Supporter)
2002-07-11 08:52 AM
Re: Kixforms - BBChecker II

A quick note about the $obj = createobject("microsoft.xmlhttp")

It comes with IE5.

code:
$Obj = createobject("microsoft.xmlhttp")

if @Error <> 0
exit(@error)
endif

$obj.open("GET", "http://www.yahoo.com", -1)
$obj.send
while $obj.readystate <> 4 sleep(0.2) loop

? $obj.responsetext

Bryce


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 08:55 AM
Re: Kixforms - BBChecker II

so, does it work better with files than ie instance...

have to look. if it does, may skip the winhttp-part, or add support for both...

like install and if ie ver 5.0 or higher do not use winhttp...

I quess I have to test it now.

thanks bryce.


LonkeroAdministrator
(KiX Master Guru)
2002-07-12 12:15 AM
Re: Kixforms - BBChecker II

this is wonderfull.
trying to something what can't do.
the lines:
$ie=readvalue("HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command","")
$=execute('$_Object.on_click="run '+"'"+substr($ie,2,len($ie)-2)+' "$_Target"'+"'"+'"')

produce a error:


mmm...
not going to give up.

if I leave some quotes of, the ie opens 2 windows.

[ 11 July 2002, 12:15: Message edited by: Lonkero ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 01:43 PM
Re: Kixforms - BBChecker II

shawn, could you check the new one.

I can't get the ie to open just one window.
it opens two of them with the same address!

also, the popup style has changed a little. [Big Grin]

continuing...


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 03:59 PM
Re: Kixforms - BBChecker II

shawn, can we get the window state info with build 19?

ShawnAdministrator
(KiX Supporter)
2002-07-11 04:20 PM
Re: Kixforms - BBChecker II

Jooel,

yip - will be adding $Form.WindowState to Forms later tonight ... was going to call it ShowState, but like you, changed my mind because WindowState is more VB .NET like ...

-Shawn

[ 11 July 2002, 16:21: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 04:28 PM
Re: Kixforms - BBChecker II

other thing...
how should the setfocus work?
or should it work at all?

trying my slider later with show, but could not get it to show with setfocus.


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 07:45 PM
Re: Kixforms - BBChecker II

I don't know why but, for labels the onclick happens twice on click. but for buttons only seems to happen once.
that was the problem with my udf, did use onclick when it needed onmouseup.

thinking of applying the form now for setting the loop time but not much more can be done...

maybe also sendprivatemessage button...


ShawnAdministrator
(KiX Supporter)
2002-07-11 07:51 PM
Re: Kixforms - BBChecker II

well, I would "save some space" on your options form ... maybe for things like:

1) Enable/disable the auto-show/hide feature. Some folk might like the form to be always on top.

2) Turn "the beep" on/off

3) Maybe change the font - maybe add a splash of color down-the-road.

I'm just reaching here - I know - but different strokes for different folks.

[ 11 July 2002, 19:51: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 07:54 PM
Re: Kixforms - BBChecker II

shawnie...

if you would have any version from todays builds you would know that there is no autominimize.

the beep one... sounds good.


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 08:52 PM
Re: Kixforms - BBChecker II

shawnie, that does not somehow function properly.

check it. (same place)

cheers,


Kdyer
(KiX Supporter)
2002-07-11 09:16 PM
Re: Kixforms - BBChecker II

Lonkero,

Grabbed the new version..

Found the other part of my issue..
Installed IIS on my XP System.. Noticed it installs a WINTTP.DLL (version 5.1.2600.1039) is installed via the IIS install and WINHTTP5.DLL (version 5.0.2613.0) is from the SDK which you had referenced.. BBChecker II now works proper (position is correct).

It works great now!!

Kent

[ 11 July 2002, 21:19: Message edited by: kdyer ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 09:23 PM
Re: Kixforms - BBChecker II

kent good to hear [Roll Eyes]

just don't use it too much as I want to be the fastest one to reply on board [Wink]


Kdyer
(KiX Supporter)
2002-07-11 09:24 PM
Re: Kixforms - BBChecker II

Yeah, it just let me know your responded..

Kent


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 09:29 PM
Re: Kixforms - BBChecker II

so let's try again. perhaps there is inner bug!

do, you have any wishlist to add for new features?
perhaps autopost/reply? [Big Grin]


Kdyer
(KiX Supporter)
2002-07-11 09:30 PM
Re: Kixforms - BBChecker II

Yeah.. One thing that I would like to see would be if IE is already running say at http://kixtart.org, it would go to that window rather than spawning a new instance of IE.

Kent


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 09:35 PM
Re: Kixforms - BBChecker II

that's actually something I've been thinking of.
just not sure...
with the code inside that show topic-button in historylist it might be done...
but not with the label link...
as it does not use ie. it uses explorer [Razz]

pingpong,


MCA
(KiX Supporter)
2002-07-11 11:26 PM
Re: Kixforms - BBChecker II

nearly it becomes the topic with most reactions.
only Golf Tournament contains at the moment more, but with this speed it will bypass this value
very soon.
greetings.


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 11:34 PM
Re: Kixforms - BBChecker II

well, this has only 125 posts (when counted with the related setfocus topic)...
if I recall correctly the golf had something like twice that much...


LonkeroAdministrator
(KiX Master Guru)
2002-07-11 11:56 PM
Re: Kixforms - BBChecker II

shawn, don't see you here so suppose no help today. going to work in 5 hours so will be going to sleep...
if I can.

I made a timelimit for myself before and I would still want to keep that.
we will see that before next monday.

good evening to you. for me in finland, it's early morning.

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-12 12:12 AM
Re: Kixforms - BBChecker II

Jooel, sorry, I'm here - just getting home and settled in ... did you get your OptionBox running ?

ShawnAdministrator
(KiX Supporter)
2002-07-12 02:24 AM
Re: Kixforms - BBChecker II

ok

Download:


Kixforms Build 20

New property:

$n = $Form.WindowState

where $n equals modes as defined for the Show(Mode) method, ie:

1 = NORMAL
2 = MINIMIZED
3 = MAXIMIZED

heres some code:

code:
Break On

$Form = CreateObject("Kixtart.Form")

$Form.Caption = "Kixforms..."

$Form.MaxButton=1
$Form.MinButton=1

$Exit.Center
$Form.Show

While $Form.Visible
Sleep(0.5)
$=Execute($Form.DoEvents(1))
?"WindowState=" $Form.WindowState
Loop

Exit 1

Should be good ...

[ 12 July 2002, 02:24: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-12 10:00 AM
Re: Kixforms - BBChecker II

I'll try it when get to work.
why is my miscellaneous button loosing it's text when pressed?


LonkeroAdministrator
(KiX Master Guru)
2002-07-12 01:54 PM
Re: Kixforms - BBChecker II

window state code not implemented yet.
the option to disable beep has been added.

also changed the readme.html to reflect the current requirements list.
Readme.html

found out also that can't release before next kix-update.

ok, continuing...


LonkeroAdministrator
(KiX Master Guru)
2002-07-12 02:49 PM
Re: Kixforms - BBChecker II

kent, do the links work correct (your privatemessage related question)?

LonkeroAdministrator
(KiX Master Guru)
2002-07-12 04:44 PM
Re: Kixforms - BBChecker II

new build.
saved last one as stable.

new feature, get's users profile.

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-12 05:07 PM
Re: Kixforms - BBChecker II

it had a little "and" buggie. fixed.

LonkeroAdministrator
(KiX Master Guru)
2002-07-12 07:03 PM
Re: Kixforms - BBChecker II

shawn, seems that it has only 0,1,2...
sadly.

trying with the focus things, but would be ok if full screen application comes over it, it would minimize or just for the time of slide.

now, when this is not applied, if fullscreen app is activated, no info at all comes to your knowledge. not even with setfocus.

will be looking...


LonkeroAdministrator
(KiX Master Guru)
2002-07-12 09:14 PM
Re: Kixforms - BBChecker II

newist build shows recent posts too.
same www.gwspikval.com/jooel/scripts/bbchecker and under beta II

shawn, have you cookies disabled?
you don't show up in logged on users list.

cheers,


LonkeroAdministrator
(KiX Master Guru)
2002-07-13 12:27 AM
Re: Kixforms - BBChecker II

I don't know about you guys but when I changed my display properties had problems with the layout...

could be also my versio mixup but. will be looking. implemented allready is the "don't show own posts" option.

cheers,


ShawnAdministrator
(KiX Supporter)
2002-07-13 12:32 AM
Re: Kixforms - BBChecker II

Did you change your display properties while BBChecker was running ? - Without stopping and restarting the script ?

LonkeroAdministrator
(KiX Master Guru)
2002-07-13 12:35 AM
Re: Kixforms - BBChecker II

nope.

I will test this again.

I changed when I got from work as I use there external monitor which has little bit bigger display area (laptop only 14" [Frown] )


LonkeroAdministrator
(KiX Master Guru)
2002-07-13 12:49 AM
Re: Kixforms - BBChecker II

I was thinking of replacing the winhttp.dll with that xmlhttp-object.
just because it doubles the packet size.


ShawnAdministrator
(KiX Supporter)
2002-07-13 12:54 AM
Re: Kixforms - BBChecker II

Jooel:

1) Are you aware of any firewall issues with WinHTTP ? I get intermittent results with WinHTTP at work.

2) Should we start another thread because this one is kinda growing long-in-the-tooth ? [Wink]


LonkeroAdministrator
(KiX Master Guru)
2002-07-13 12:58 AM
Re: Kixforms - BBChecker II

shawn, I was thinking of that too.

I know I will never get to post count of golf III but uttleast I got longest single thread.

about firewalls, I'm now behind my own sweet linux firewall and at work behind pix.
I have had no problems.

it does not even hang if I disconnect my machine from the net.


ShawnAdministrator
(KiX Supporter)
2002-07-13 01:36 AM
Re: Kixforms - BBChecker II

k - well, i'll give the honor of starting the next thread ... speaking of honors and going first, did we all agree that there was going to be another KixGOLF this weekend (like tomorrow?)

[ 13 July 2002, 01:37: Message edited by: Shawn ]


LonkeroAdministrator
(KiX Master Guru)
2002-07-13 01:40 AM
Re: Kixforms - BBChecker II

I surely do think we did.

someone had complaints about weekend but when promised to increase the length, everyone seemed happy...

btw, why women allways need to talk hours on the phone. even at this time, 02:38!
and every time I tried to code some, she asked: "are you paying attension what I'm saying, Joel"


Kdyer
(KiX Supporter)
2002-07-13 03:39 AM
Re: Kixforms - BBChecker II

I know this thread is a little long. [Smile]

I have posted Shawn's Kixforms Zip file on my site - http://kentldyer.com/KIX/

Thanks,

Kent


LonkeroAdministrator
(KiX Master Guru)
2002-07-13 03:06 PM
Re: Kixforms - BBChecker II

bryce, just for further usage, the correct way of putting the xmlhttp to get some data instead of:
code:
$Obj = createobject("microsoft.xmlhttp")
if @Error <> 0 exit(@error) endif
$obj.open("GET", "http://www.yahoo.com", not 1)$obj.send
? $obj.responsetext

cheers,