snake
(Fresh Scripter)
2005-08-22 03:29 PM
problem with KiXforms Designer

hi

first i will say my script ist working onto my pc
on this pc is KiXforms Designer isntalled !

now i will run the script on another pc

there they show a syntax error on line 35

Code:
 



Break On

CLS

?"program start"



$tempdict = "c:\"
$dict = ""


$System = CreateObject("Kixtart.System")


;KD START

$Form = $System.Form()
$Form.BackColor = 212,208,200 ; <- line 35
$Form.FontSize = 8,25
$Form.Height = 247
$Form.Left = 88
$Form.Text = "system"
$Form.Top = 24
$Form.Width = 267
; $Form.Visible -> to show the box
$Form.Visible = ""
$snummer = $Form.Controls.TextBox()
$snummer.FontSize = 8,25
$snummer.Height = 20
$snummer.Left = 135
$snummer.Text = ""
$snummer.Top = 60
$snummer.Width = 100
$user = $Form.Controls.TextBox()
$user.FontSize = 8,25
$user.Height = 20
$user.Left = 135
$user.Text = ""
$user.Top = 90
$user.Width = 100
$pw = $Form.Controls.TextBox()
$pw.FontSize = 8,25
$pw.Height = 20
$pw.Left = 135
$pw.PasswordChar = "True"
$pw.Text = ""
$pw.Top = 120
$pw.Width = 100
$Lable1 = $Form.Controls.Label()
$Lable1.BackColor = 212,208,200
$Lable1.FontSize = 8,25
$Lable1.Height = 21
$Lable1.Left = 15
$Lable1.Text = "Systemseriennummer"
$Lable1.Top = 60
$Lable1.Width = 118
$Label2 = $Form.Controls.Label()
$Label2.BackColor = 212,208,200
$Label2.FontSize = 8,25
$Label2.Height = 23
$Label2.Left = 15
$Label2.Text = "Benutzername"
$Label2.Top = 90
$Label2.Width = 100
$Label3 = $Form.Controls.Label()
$Label3.BackColor = 212,208,200
$Label3.FontSize = 8,25
$Label3.Height = 23
$Label3.Left = 15
$Label3.Text = "Passwort"
$Label3.Top = 120
$Label3.Width = 100
$Label4 = $Form.Controls.Label()
$Label4.BackColor = 212,208,200
$Label4.FontSize = 8,25
$Label4.Height = 27
$Label4.Left = 15
$Label4.Text = "Bitte geben sie da aufgeforderten Daten ein "
$Label4.Top = 15
$Label4.Width = 229
$Button1 = $Form.Controls.Button()
$Button1.FontSize = 8,25
$Button1.Height = 30
$Button1.Left = 135
$Button1.Text = "OK"
$Button1.Top = 150
$Button1.Width = 101
$Button1.OnClick = "onbuttonclick ()"

;KD END




now my question

whats the proplem ? can i only use the script where the KiXforms Designer installed ?

ok ok its a bad english ;-)

greeting snake Code:




Les
(KiX Master)
2005-08-22 03:31 PM
Re: problem with KiXforms Designer

Did you register the DLL on the other system?

snake
(Fresh Scripter)
2005-08-22 03:36 PM
Re: problem with KiXforms Designer

on my pc its installed

but the other pc is blank ....

is this the file kixforms.dll ?
in the folder C:\winnz\system32\ ?


Mart
(KiX Supporter)
2005-08-22 03:40 PM
Re: problem with KiXforms Designer

The kixforms dll should be registered on all pc's where you want to run a form. Not the desinger but just the dll. Downloadable form kixforms.org and should be regged ussing regsvr32.

Quote:


is this the file kixforms.dll ?
in the folder C:\winnz\system32\ ?





Yes.
Just register it using:

Code:

regsvr32 <path to the dll>\kixforms.dll



snake
(Fresh Scripter)
2005-08-22 03:47 PM
Re: problem with KiXforms Designer

yes thats this file -> kixforms.dll

hmm regged is not good ... is it not enough to copy it in the sys32 folder ?

can anyone show me the reg key ? then i can reg it bevore i start the forms, an after the script is run i can delete it

------edit------

ok sorry im to slow :-) or u to fast :-)

thanks i will try it

any over again vor my bad englisch


Mart
(KiX Supporter)
2005-08-22 03:50 PM
Re: problem with KiXforms Designer

Quote:

yes thats this file -> kixforms.dll

hmm regged is not good ... is it not enough to copy it in the sys32 folder ?

can anyone show me the reg key ? then i can reg it bevore i start the forms, an after the script is run i can delete it




Nope, just copy is not enough. Must be registered.
If you are running AD and GPO you can use the startupscript to register the dll. just adding the registry key does not do it.
Imho there is no need to delete it after the script is done. Just let it sit on the system so it can be used for a next script.


Mart
(KiX Supporter)
2005-08-22 03:52 PM
Re: problem with KiXforms Designer

Quote:


any over again vor my bad englisch





Don't worry. We've seen worse.
Good luck and please let us know if you are making any progres.


snake
(Fresh Scripter)
2005-08-22 03:54 PM
Re: problem with KiXforms Designer

nono i want to use it for a invetory on a customer system (much customer systems :-))

and i dont want to set the key fix when we deliver the systems

------edit------

it works .. i can reg ist with

regsvr32 D:\kixforms.dll /s

and after the script runs im unreg it with

regsvr32 D:\kixforms.dll /s /u

big thanks


Mart
(KiX Supporter)
2005-08-22 04:08 PM
Re: problem with KiXforms Designer

Ah... ok. Then after using it just unregister it like this:

Code:

regsvr32 kixforms.dll /u



And delete the dll.


snake
(Fresh Scripter)
2005-08-22 04:30 PM
Re: problem with KiXforms Designer

i use a disk .. my path ist

regsvr32 A:\kixforms.dll /s
and
regsvr32 A:\kixforms.dll /s /u

then i dont must delete any file

i can show u the whole script when i finish


Mart
(KiX Supporter)
2005-08-22 04:45 PM
Re: problem with KiXforms Designer

Does not matter if you use run or shell.

Shel: the script waits until shell is done.
Run: external thingy is called and script does not wait for it to finish.


snake
(Fresh Scripter)
2005-08-22 04:58 PM
Re: problem with KiXforms Designer

ahh ok thanks for the info

if so i use for safety reasons shell

du you have icq ?


Mart
(KiX Supporter)
2005-08-22 05:01 PM
Re: problem with KiXforms Designer

Nope. No ICQ for me, no MSN also. Nothing that even looks like it.
Why?


snake
(Fresh Scripter)
2005-08-22 05:03 PM
Re: problem with KiXforms Designer

no irc ? nothing ? lol why ?

hm only a question its fatser to talk


Mart
(KiX Supporter)
2005-08-22 05:07 PM
Re: problem with KiXforms Designer

Absolutely nothing like MSN, ICQ, IRC.
Personally I really don’t like these kinds of chat applications I think they are responsible for the larges pile of shit traveling over the internet since mankind so I don’t use any of them.

[edit]
Quote:


i can show u the whole script when i finish





Sure you can. This forum is actually for kix and not kixforms but what the hell.
Kixforms has it's own site at kixforms.net
[/edit]


LonkeroAdministrator
(KiX Master Guru)
2005-08-22 05:21 PM
Re: problem with KiXforms Designer

mart, largest pile?
haven't you ever watched any political programs aired over the wire?


snake
(Fresh Scripter)
2005-08-22 05:31 PM
Re: problem with KiXforms Designer

hm ok you are right this applications are allredy responsible but its an nice tool to become fast informations

Mart
(KiX Supporter)
2005-08-22 07:32 PM
Re: problem with KiXforms Designer

LOL, no but I'm feeling sorry for you if you have
Seen some on TV and you are right it is bigger pile of shit.


Mart
(KiX Supporter)
2005-08-22 07:35 PM
Re: problem with KiXforms Designer

Quote:

hm ok you are right this applications are allredy responsible but its an nice tool to become fast informations




Maybe it is but if I see any user on our network that succeeded to get one of these apps running on his machine I'll kick his or her sorry ass


Bryce
(KiX Supporter)
2005-08-22 07:52 PM
Re: problem with KiXforms Designer

guess we wont be seeing mart in some of the kixtart msn chats that spring up from time to time.....

NTDOCAdministrator
(KiX Master)
2005-08-22 09:22 PM
Re: problem with KiXforms Designer

Once Bill Gates hears of this he might revoke the XP license and auto-uninstall it on his system.

Mart
(KiX Supporter)
2005-08-22 10:11 PM
Re: problem with KiXforms Designer

Hush.... not to loud maybe he's listening