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: