ShawnAdministrator
(KiX Supporter)
2005-10-01 09:37 PM
Kixforms.Net (Alpha) Development Build

Welcome to the inaugural release of KiXforms.NET. Kixforms.NET contains a wealth of resources designed to help you build powerful scripts based on Microsoft's .NET Framework technology.

The KiXforms.NET (Alpha) development build can be found here:

KiXforms.NET (Alpha) Development Build

Jooel Nieminen (our very own Lonkero) co-developed some of the classes in KiXforms.NET. The Math library and most of the File object and Streamers were developed by Jooel. From what I understand, Jooel is currently developing more goodies - to be found in a future release.

Please download Kixforms Designer .NET. Its purpose is to help teach and design forms using KiXforms.NET. As an Alpha it is still under development. KiXforms Designer was written by Dale G. (benny69) - an Information Technology Specialist from Lincoln, Ne. The latest package and information on Kixforms Designer can be found here:

Kixforms Designer .NET


pvds
(Hey THIS is FUN)
2005-10-02 08:48 PM
Re: Kixforms.Net (Alpha) Development Build

Wow

This is very very very nice

Peter


Mart
(KiX Supporter)
2005-10-03 12:00 PM
Re: Kixforms.Net (Alpha) Development Build

Shawn,

Like said very very very nice
Three minor suggestions/questions,

-1 How about an option in the menu bar to set the kix executable file locations (maybe in tools menu some kind of options or preferences option or something)?
-2 Don’t know if its easy to build or not but is it possible to add functionality to remove a control by clicking on it and just hitting the delete key on the keyboard?
-3 Is there a chance to get line numbering in the code view?

Got some kind of error once when clicking on the new project button and pressing cancel when asked to save the current project. Can’t seem to reproduce it now anymore, hmmmm.......weird maybe something fubared on my comp don’t know. Will let you know if it comes up again.

Kixforms.net


LonkeroAdministrator
(KiX Master Guru)
2005-10-03 12:20 PM
Re: Kixforms.Net (Alpha) Development Build

so that nobody misunderstands (like I did in the beginning), marts suggestions are not about KiXforms .net but about Kixforms Designer functionality.

Mart
(KiX Supporter)
2005-10-03 12:45 PM
Re: Kixforms.Net (Alpha) Development Build

Yep.
Sorry, failed to mention this. The comments/suggestions are indeed about the designer.

BTW: Not just to shawn but also to you lonk for co-developing this.


LonkeroAdministrator
(KiX Master Guru)
2005-10-03 12:53 PM
Re: Kixforms.Net (Alpha) Development Build

well, thanks to shawn for letting me.

now, "kixtart binary" (the com dll) package is finally history and the functionality is pretty much in the kixforms.net package now.
this way, everyone can enjoy the functionality, given that they have kf.net

ah sweet thing is that KF .net (aka 3) and KF2 can co-exist in same system.

so you can keep on using the standard while developing new stuff for the future.


Radimus
(KiX Supporter)
2005-10-03 02:48 PM
Re: Kixforms.Net (Alpha) Development Build

are you saying that KF.net will work without Kix on a system? or that it includes it

Mart
(KiX Supporter)
2005-10-03 02:52 PM
Re: Kixforms.Net (Alpha) Development Build

Think he's saying that the current KF dll can coexist with the new KF.NET dll. So the current KF scripts can continue to run when developing new KF.NET scripts.
It will still need kix (the developer screamed for wkix here cause I don't have it on my comp for now).


Les
(KiX Master)
2005-10-03 02:53 PM
Re: Kixforms.Net (Alpha) Development Build

Mart,
Obviously you must have missed the credits.
Quote:

KiXforms Designer was written by Dale G. (benny69) - an Information Technology Specialist from Lincoln, Ne.




Mart
(KiX Supporter)
2005-10-03 02:55 PM
Re: Kixforms.Net (Alpha) Development Build

Yeah, I know but maybe Shawn can have a chat with him about some suggetsions.

LonkeroAdministrator
(KiX Master Guru)
2005-10-03 03:02 PM
Re: Kixforms.Net (Alpha) Development Build

"fixed" my wording.

ShawnAdministrator
(KiX Supporter)
2005-10-03 03:29 PM
Re: Kixforms.Net (Alpha) Development Build

KiXforms.NET uses a completely different namespace than Kixforms (Kixforms.System versus Kixtart.System) ... I have been running both on my system for quite some time - have seen no impacts using both at same time.

Dale G (benny69) wrote Kixforms Designer. He wrote it in Kixtart using KiXforms.NET and packaged the whole thing with iTripoli AdminScript Editor. Dale has setup a thread on Kixforms.Org to do with KiXforms Designer changes. Maybe you could post into that forum. He does have an ID at korg as well.

By the way - I worked closely with Stevie B. (the developer of AdminScript Editor) during the past few months. It was just a coincidence that Steve was also working on the next generation of ASE. Together we worked-out a few issues around "script-sense" (intellisense) to do with COM objects and KF.NET specifically. I developed almost all of my test scripts using ASE. At the end of day, AdminScript Editor has amazing support for KF.NET - it has the look and feel of Microsoft's Visual Studio Integrated Development environment!

Not sure about when the next version of AdminScript editor will be released. But definitely worth a look.

-Shawn


Radimus
(KiX Supporter)
2005-10-03 03:47 PM
Re: Kixforms.Net (Alpha) Development Build

I think it rules...

pvds
(Hey THIS is FUN)
2005-10-03 06:33 PM
Re: Kixforms.Net (Alpha) Development Build

Hi,

I feld like a litle boy with a new toy today have been playing (not working).

It RULSE


ShawnAdministrator
(KiX Supporter)
2005-10-03 06:52 PM
Re: Kixforms.Net (Alpha) Development Build

Has anybody tried loading the "Hidden Settings.kfd" into Kixforms Designer .NET - Its located in your My Documents - under "Kixforms Designer" ... its a hoot when you really look at what the form is saying (its doing).

ShawnAdministrator
(KiX Supporter)
2005-10-03 07:07 PM
Re: Kixforms.Net (Alpha) Development Build

Here's a fun little script that was written early on in the development of kf.net - when I was testing-out the graphics ... it was meant to be an "Introduction to Kixforms.Net" script ... not sure how it will play-out on everyones machines (horse-power etc), but give a try...

Code:

Break On

$System = CreateObject("Kixforms.System")

; Options

$BURST = 0 ; 0 = staggered 1 = batch
$TITLE = "Introducing KiXforms.NET"
$TEXT = "KiXforms.NET"

$Form = $System.Form()
$Form.ClientWidth = 500
$Form.ClientHeight = 250
$Form.StartPosition = $System.FormStartPosition_CenterScreen
$Form.FormBorderStyle = $System.FormBorderStyle_FixedDialog
$Form.MaximizeBox = 0
$Form.Font = $System.Font("Helvetica", 36, $System.FontStyle_Bold)
$Form.Text = $TITLE

$PictureBox = $System.PictureBox()
$PictureBox.Dock = $System.DockStyle_Fill
$= $Form.Controls.Add($PictureBox)

$Bitmap = $System.Bitmap.FromSize($PictureBox.Size)

$Graphics = $System.Graphics.FromImage($Bitmap)
$Graphics.Clear($System.Color.Black)

$Brush = $System.SolidBrush($System.Color.Black)
$TextBrush = $System.SolidBrush($System.Color.White)

$PictureBox.Image = $Bitmap

$d = $PictureBox.ClientSize
$numrockets = 8;
$num = 16;

Global $xcoord[$numrockets*$num-1];
Global $ycoord[$numrockets*$num-1];
Global $xspeed[$numrockets*$num-1];
Global $yspeed[$numrockets*$num-1];
Global $count[$numrockets-1];
Global $exploding[$numrockets-1];

For $i = 0 to $numrockets - 1
$count[$i] = 60 + iif($BURST=0,$i * 16, 0)
$exploding[$i] = 1
Next

For $i = 0 to $numrockets * $num - 1
$xcoord[$i] = Cint($System.Math.Random()*$d.width)*8
$ycoord[$i] = $d.height*8
$xspeed[$i] = 0;
$yspeed[$i] = 0;
Next

$Timer = $System.Timer
$Timer.Interval = 1000/24
$Timer.Tick = "TimerTick()"

$Form.Show
$Timer.Start

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

Exit 0

Function TimerTick()

$Graphics.Clear($System.Color.Black)

For $i = 0 to $numrockets - 1

If $exploding[$i] = 0 And $yspeed[$i*$num] > 0
$exploding[$i]=1;
For $j = 0 to $num - 1
$index= $i * $num + $j;
$yspeed[$index] = Cint(($System.Math.Random()*28.0)-15);
$xspeed[$index] = Cint(($System.Math.Random()*31.0)-16);
If $xspeed[$index] >= 0
$xspeed[$index] = $xspeed[$index] + 1
EndIf
Next
EndIf

For $j = 0 to $num - 1
$index = $i * $num + $j;
If $exploding[$i] = 1
Select
Case ($i mod 3) = 0
$color = $System.Color.FromRgb(192,$count[$i]+32,$count[$i]+127)
Case ($i mod 3) = 1
$color = $System.Color.FromRgb($count[$i]+32,192,$count[$i]+127);
Case ($i mod 3) = 2
$color = $System.Color.FromRgb(192, 192, $count[$i]+32);
Case 1
EndSelect
Else
$color = $System.Color.White
EndIf
$br = $System.SolidBrush($color)
$Graphics.FillRectangle($br,$xcoord[$index]/8, $ycoord[$index]/8,3,3);
$xcoord[$index] = $xcoord[$index] + $xspeed[$index];
$ycoord[$index] = $ycoord[$index] + $yspeed[$index];
$yspeed[$index] = $yspeed[$index] + 1;
Next

$count[$i] = $count[$i] - 1;

If $count[$i] = 0
$count[$i] = 128;
$exploding[$i] = 0;
$x=Cint($System.Math.Random()*$d.width)*8/*<<3*/;
$y=$d.height*8
$yspd=Cint(($System.Math.Random()*28)-58);
$xspd=Cint(($System.Math.Random()*15.0)-8);
If $xspd >= 0
$xspd = $xspd + 1;
EndIf
For $j = 0 to $num - 1
$index = $i * $num + $j;
$xcoord[$index] = $x;
$ycoord[$index] = $y;
$xspeed[$index] = $xspd;
$yspeed[$index] = $yspd;
Next
EndIf

Next

$Graphics.DrawString($TEXT, $Form.Font, $TextBrush, 90,90)

$PictureBox.Invalidate()

EndFunction



Mart
(KiX Supporter)
2005-10-03 07:08 PM
Re: Kixforms.Net (Alpha) Development Build

Just did.
It just gives a blank form when run from the designer
The tab pages don't work when saved and run outside the designer

The part I cloud see got some funny stuff


Mart
(KiX Supporter)
2005-10-03 07:10 PM
Re: Kixforms.Net (Alpha) Development Build

Cool fireworks

NTDOCAdministrator
(KiX Master)
2005-10-03 09:51 PM
Re: Kixforms.Net (Alpha) Development Build

Shawn,

Thanks much as usual for all the time and effort put into this cool KiXtart utility.

Since you're on the cutting/bleeding edge with this, take a peek at this article for the upcoming Vista.

Developer Best Practices and Guidelines for Applications in a Least Privileged Environment
http://msdn.microsoft.com/windowsvista/default.aspx?pull=/library/en-us/dnlong/html/AccProtVista.asp
 


ShawnAdministrator
(KiX Supporter)
2005-10-03 10:38 PM
Re: Kixforms.Net (Alpha) Development Build

Thanks Doc. I can only hope that using Windows Vista is easier than that document was to read ;0)

NTDOCAdministrator
(KiX Master)
2005-10-04 09:55 PM
Re: Kixforms.Net (Alpha) Development Build

Well all I can say is HOLY MOLY Benny has way too much free time. That is an amazing amount of work on the KiXform.NET Designer.

Good looking GUI and just overall amazing. Wish one of my forms was half as good as this looks.

Benny must be from Europe, Americans can't have that much free time away from the significant other without the words SPLIT/DIVORCE coming into play.

GREAT WORK Benny on KiXforms.NET Designer, my hats off to you.


Chris S.
(MM club member)
2005-10-04 10:02 PM
Re: Kixforms.Net (Alpha) Development Build

Hmm. How would that Split look in KiX...

Code:

$aMarriage = "Benny","Wife"
$Benny = Split(Join($aMarriage,"~Ring~"),"~HalfOfEverything~")



LonkeroAdministrator
(KiX Master Guru)
2005-10-04 10:15 PM
Re: Kixforms.Net (Alpha) Development Build

hmm...
half of everything...

afaik, everything that's the man's is split.
and everything that's the woman's, is hers.

if that is same as half of everything, k.


Chris S.
(MM club member)
2005-10-04 10:23 PM
Re: Kixforms.Net (Alpha) Development Build

Ja, you're right. I left some stuff out...

Code:

$aMarriage = "Benny","Wife"
$Benny = Split(Join($aMarriage,"~Ring~"),"~Dignity~")
$Benny = $Benny - $ChildSupport - $House - $Car - $LawyerFees - $Etc.



Edit - but I'm not bitter.


Mart
(KiX Supporter)
2005-10-05 10:01 AM
Re: Kixforms.Net (Alpha) Development Build

Quote:

hmm...
half of everything...

afaik, everything that's the man's is split.
and everything that's the woman's, is hers.

if that is same as half of everything, k.




ROFLMAO


Lee Wilmott
(Starting to like KiXtart)
2005-10-07 05:42 PM
Re: Kixforms.Net (Alpha) Development Build

It has to be said KiXforms Designer (and KiXforms of course) is absolutely brilliant!

I don't know how can we thank you guys enough for the time you have spent developing this!

Anyway, I have a couple of comments...

1. I used KiXforms Designer and added a ListView control. After adding this control I was unable to drag and resize it. I've closed and reopened KiXforms and I get the same problem!
2. I am unable to find a Progress Bar Control. Is it likely that such a control will be added in the future?

Many thanks guys,

Lee


ShawnAdministrator
(KiX Supporter)
2005-10-07 06:27 PM
Re: Kixforms.Net (Alpha) Development Build

Thanks Lee - your comments mean a lot. Dale G. wrote Kixforms Designer but I can answer your questions...

Q. I used KiXforms Designer and added a ListView control. After adding this control I was unable to drag and resize it. I've closed and reopened KiXforms and I get the same problem!

A. Need to right-click then select "move/resize..." context menuitem. This changes the listview into a "token". Then you can move/resize this "token" to whereever, then change it back to a listview when done. The reason we do this is because the mouse-moving characteristics of the list-view (and some other controls) doesn't like it when one tries to "design" and "use" a control at the same time.


Q. I am unable to find a Progress Bar Control. Is it likely that such a control will be added in the future?

A. Absolutely. Stay-tuned.

-Shawn


Benny69
(MM club member)
2005-10-08 04:35 PM
Re: Kixforms.Net (Alpha) Development Build

Thanks to everyone for your nice comments - Shawn is correct, you will also find i have tried to create a extensive help, the details you were asking about and many others can be foud under Help in the MainMenu, if there is something that i have not included please let me know. i do not check this board very often, so for a quicker response post your questions, bug finds, and requestes over at KiXforms.org - KiXforms Designer .NET Bug Fixes

Lee Wilmott
(Starting to like KiXtart)
2005-10-10 11:48 AM
Re: Kixforms.Net (Alpha) Development Build

Great Shawn - thanks for the reply!

I didn't notice the move/resize option - I assumed it would work in the same way as the other controls. But that's fine - thanks for that.

Anyway, I have another small issue (I hate to mention these because I think this app is "so" useful, and saying anything (even slightly) negative seems a little unfair!) Anyway, sometimes I really have trouble renaming some of the items that I create in the Menu Editor.

It would be nice to be able to right-click the items in the Menu Editor and be able to select "Rename, Promote or Demote". The Promotion and Demotion options could allow menu items to be pushed up (or down) occordingly.

Regards,

Lee


Rory Daniels
(Getting the hang of it)
2005-11-17 11:35 AM
Re: Kixforms.Net (Alpha) Development Build

Much to my discust our Websense "Protection" classes the kixforms.com website are Websense category "Freeware and Software Download" which is barred by OUR internal IT department. They are unwilling to remove this restriction Evil (Enter you own cuss here). Has anyone got this on a site somewhere else that I might be able to get at it?

Cheers

Rory


Gargoyle
(MM club member)
2005-11-17 02:06 PM
Re: Kixforms.Net (Alpha) Development Build

Ask your internal IT folks to set up a bypass for you. We use websense as well, and it is quite easy to allow. I to was questioned why I had so many hits to a "download" site, but once they saw what it was, no big deal.

The fact that I help administer the websense helped but....


ShawnAdministrator
(KiX Supporter)
2005-11-17 02:57 PM
Re: Kixforms.Net (Alpha) Development Build

Would using Kixforms.ORG or Kixforms.NET URL make any difference ?

NTDOCAdministrator
(KiX Master)
2005-11-17 07:08 PM
Re: Kixforms.Net (Alpha) Development Build

Well you could give this a try.

http://www.the-cloak.com/
 


Gargoyle
(MM club member)
2005-11-17 08:40 PM
Re: Kixforms.Net (Alpha) Development Build

Shame on you Doc.
At my site that would not work as it is blocked as well.


NTDOCAdministrator
(KiX Master)
2005-11-17 10:26 PM
Re: Kixforms.Net (Alpha) Development Build

rofl - I bet you if I was on your site I could still find a site to use. If users in China can manage to proxy past their government I think users in USA can easily find a method to bypass you to.

No shame for me. Shall I post a list of others for you?


Gargoyle
(MM club member)
2005-11-18 07:31 AM
Re: Kixforms.Net (Alpha) Development Build

Please do, we are always open to more information. It is hard to keep up with.

As for finding a site, I am sure it would not be that tough, unless of course I block every possible search engine, that might make it a tad bit harder. But only a tad.


masken
(MM club member)
2005-11-18 09:30 AM
Re: Kixforms.Net (Alpha) Development Build

lol, what an example of IT-departments gone bad. Makes you wonder how on earth decisions are made sometimes.

Richard H.Administrator
(KiX Supporter)
2005-11-18 09:50 AM
Re: Kixforms.Net (Alpha) Development Build

Quote:

lol, what an example of IT-departments gone bad. Makes you wonder how on earth decisions are made sometimes.




Well, to be fair Websense is a broad brush. You get a limited number of "categories" which are defined by the company which contain a large number of sites.

Disallowing (by default) access to all sites in any of the the "download" categories is a sane and sensible thing to do in a large corporation.

However if you convince your line manager that you need access to the sites for business reasons they should be able to get it approved and an exception made in line with your company's policies.

I've had some interesting requests - access to on-line wine ordering for corporate entertainment purchasing (blocked by the "tobacco and alcohol" group), access to the UK national lottery site so people could check their lottery tickets(blocked by "gambling") so but the best by far was a request from the staff in our Czech sites who routinely order their underwear online and were blocked by the "lingerie" group rule - now, who am I to deny the ladies their knickers?


NTDOCAdministrator
(KiX Master)
2005-11-18 10:26 AM
Re: Kixforms.Net (Alpha) Development Build

Sorry to hijack your thread Shawn. Keep up the great work on KF.NET

LonkeroAdministrator
(KiX Master Guru)
2005-11-18 07:07 PM
Re: Kixforms.Net (Alpha) Development Build

richie...
well, those are on the grey line.
someone might pass them and some deny, but disallowing admins from downloading is a little odd thingie...
and a admin that says that he can't change that, sounds as odd as well.


Rory Daniels
(Getting the hang of it)
2005-11-21 02:25 PM
Re: Kixforms.Net (Alpha) Development Build

Fed up with the polictics! Wireless card inserted into laptop and downloaded. With the expansion of braodband and wireless + more and more users given laptops, the extremism of IT departments is going to push users into bypassing the tools that are used to protect companies and users both! Some SANE thinking needs to go into policies that restrict to the point that PUSH the users to go round them. Admins beware the coporate machine banning things that are deamed wrong by people that do not understand what jobs we do and how we actualy do them. Most of us are sensible, considerate and know whats wrong! Some protection from the false sites that riderect you somewhere you realy don't want to be is appriciated but there has to be a balance in what is expected from staff.

Sorry this has turned into a rant but I think it had to be said.

Rory


NTDOCAdministrator
(KiX Master)
2006-01-26 08:24 PM
Re: Kixforms.Net (Alpha) Development Build

FYI - Shawn, not sure what .NET framework this requires but I'm assuming it's 1.1, with that in mind I just saw this article.

FIX: The Windows Forms ComboBox control may take longer to populate after you install the .NET Framework 1.0 Service Pack 3
http://support.microsoft.com/?kbid=899434&SD=tech
 


ShawnAdministrator
(KiX Supporter)
2006-01-26 09:09 PM
Re: Kixforms.Net (Alpha) Development Build

ja it does, thanks ... If its broke in .NET, its broke in KF.NET.

ghdfans2010
(Just in Town)
2010-07-08 09:27 AM
Re: Kixforms.Net (Alpha) Development Build

Good job! This is very very very nice.Thanx for your post! I've learnt so much from your post!