|
|
|||||||
Here is the logonscript sample I promised. It makes use of a logo, so you'll have to download it from here: http://www.geocities.com/gk_zone/kix_logonsample.html |
||||||||
|
|
|||||||
eh? code:doesn't exactly this make your console to show up?Break On Cls {edit} btw, your main page: http://www.geocities.com/gk_zone/ looks nice [ 25. October 2002, 22:48: Message edited by: Lonkero ] |
||||||||
|
|
|||||||
Isn't it, though? I left the comment in from when I was writing it. I'd suggest to others to change it to "Show" when they edit the script for their own use. {edit} Oh, yeah. Remove the "CLS" if you are using WKix32 like Jooel is. [ 25. October 2002, 23:05: Message edited by: Chris S. ] |
||||||||
|
|
|||||||
Sweet.. Thanks, Kent |
||||||||
|
|
|||||||
Hi Chris, Pleased to see that your script is also a good example of how to use Hungarian Notation Rod. |
||||||||
|
|
|||||||
Thanks for the sample Chris. Looks |
||||||||
|
|
|||||||
Rod, if you want to see Hungarian Notation take a look at this. http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=13;t=000355 |
||||||||
|
|
|||||||
This is cool.! I am going to 'borrow' this and re-write my script to fit.! If you take alook at this... code:I can't get the $lblFuncStatus.Text line to work.$lblStatus.Text = "Mapping Network Drives..." Any ideas ??! W [ 05. November 2002, 13:27: Message edited by: Wizard ] |
||||||||
|
|
|||||||
Wiz, I'm not sure that you can use a "$something.Value" in quotes. You might want to populate another string before like... code:Also, you are using parens () when you should be using brackets [].$sMapping=$sNetMappin[$prgFuncStatus.Value] Sorry I didn't catch your question earlier, but you did an edit on your previous post instead of posting a new question. |
||||||||
|
|
|||||||
Chris: Your a star. The 'populate another string' suggestion worked great I am so used to programming in loads of different languages (see tag) i get confused as to which construct to use.!! My earlier post was just a 'Thank you' for the demo script, I thought I would monify it rather than post a new message. Thanks again.! W |
||||||||
|
|
|||||||
Chris, from your example script, you have an error check to see if the DLL is installed correctly. Just as a sanity check, there should be no reason why we can't register the DLL and recall the login script, if the error checking fails. ... code:Am I right ?!$frmRoot = CreateObject("Kixtart.Form") W |
||||||||
|
|
|||||||
Well, you might get stuck in an endless loop if your user doesn't have sufficient rights to register DLLs (e.g. at least Power User rights) so I might prefer doing it like this... code:The @INWIN section is in there since RegSvr32 is in not necessarily in the %PATH% on Win 9x machines.$frmRoot = CreateObject("Kixtart.Form") |
||||||||
|
|
|||||||
Just as an FYI (and I haven't been able to verify this 100%) but I think one might be able to get away with registering the Kixforms DLL ONLY ONCE on a per machine basis. Kixforms.DLL is totally standalone and has no other COM dependencies ... the TypeLib for Kixforms is embedded in the DLL itself. Not sure if anyone can verify this assertion or not, but what it means is that once Kixforms is registered, all one has to do to upgrade the component is to copy over the original. No regsvr32 required. So, this (may) mean that for this particular case - it might be wise to host Kixforms.DLL in a domainuser read/writeable folder on the wkstn. I can't remember off the top of my head just how protected and locked-down system32 is |
||||||||
|
|
|||||||
Can confirm this : I registered it once (can't even remember when this was .. build 3 or something) and since ever then I use Send to -> System32 (Especially created shortcut for Kixforms ) |
||||||||
|
|
|||||||
Hmm. Hadn't tried that. I'll test it this morning, since I have a brand-new build of KiXforms to try out. |
||||||||
|
|
|||||||
Ditto. Just copied over the DLL and it works. That will make maintaining the current build of KiXforms easier. Thanks for the tip, Shawn. |
||||||||
|
|
|||||||
Shawn / anybody, does kixforms register always the same way? I found the following changes after registering the dll in the c:\lpf dir: code:Do you guys got the same settings???REGEDIT4 If so, a script could be built to remotely copy the dll and change the registry after you (an admin or a helpdesk user with local client admin rights) are notified by the user... Will this work... |
||||||||
|
|
|||||||
Chris, great example how a graphical login could work. I rewrote our login script to use functions and it looks great (including progressbar & icons) !! |
||||||||
|
|
|||||||
Can anyone verify my previous post in this topic??? |
||||||||
|
|
|||||||
MightyR1, All I hereby confirm that all the registry keys listed in the above posting are the same on my Windows 2000 Pro machine I am running 2.1.1.35 of KixForms. That begin the case then, MightyR1 is right in saying that we could dump the reg keys out through a login script. Good call M. W |
||||||||
|
|
|||||||
Wizard, Pushing the entries through login will not work on Wnt and above since the entries must be in HKLM where a normal user doesn't have rights... Solution:
|
||||||||
|
|
|||||||
That is correct, but as with all mistakes I was asuming that everyone had my setup, where all ours users are a member of the LOCAL admin for each W2K PC Or rather the Domain Users group is a member of the Local Admin group. But, yes you are right it would fail. W |
||||||||
|
|
|||||||
My users will not even get 'Power User' status over here. |
||||||||
|
|
|||||||
its only to make our lives easier.! I do run an application logger on the workstations once a month, and various other home-written spyware.!! W |
||||||||
|
|
|||||||
This Sample Is not available. Is it still around? Somewhere? |
||||||||
|
|
|||||||
It may be, I do not know where though as I haven't seen Chris around as much lately. In any case, since it was written in 2002, I would imagine it is probably outdated anyways. If there is something you are trying to accomplish with kixforms, you would have better luck creating a new thread. It's not used as much as it was in it's hay day, but I still use it for small applications and it still works great. So if you need a small sample of something let me know. |
||||||||
|
|
|||||||
I still lurk. I subscribed to the RSS feed, so I still see the posts. Yeah, since Geocities has gone the way of the dodo this is pretty much gone. I don't have the source anymore. |