Page 1 of 2 12>
Topic Options
#146120 - 2005-08-22 03:29 PM problem with KiXforms Designer
snake Offline
Fresh Scripter

Registered: 2005-08-22
Posts: 30
Loc: Germany
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:






Top
#146121 - 2005-08-22 03:31 PM Re: problem with KiXforms Designer
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Did you register the DLL on the other system?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#146122 - 2005-08-22 03:36 PM Re: problem with KiXforms Designer
snake Offline
Fresh Scripter

Registered: 2005-08-22
Posts: 30
Loc: Germany
on my pc its installed

but the other pc is blank ....

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


Edited by snake (2005-08-22 03:38 PM)

Top
#146123 - 2005-08-22 03:40 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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



Edited by Mart (2005-08-22 03:41 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#146124 - 2005-08-22 03:47 PM Re: problem with KiXforms Designer
snake Offline
Fresh Scripter

Registered: 2005-08-22
Posts: 30
Loc: Germany
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


Edited by snake (2005-08-22 03:49 PM)

Top
#146125 - 2005-08-22 03:50 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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

- Chuck Norris once sold ebay to ebay on ebay.

Top
#146126 - 2005-08-22 03:52 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#146127 - 2005-08-22 03:54 PM Re: problem with KiXforms Designer
snake Offline
Fresh Scripter

Registered: 2005-08-22
Posts: 30
Loc: Germany
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


Edited by snake (2005-08-22 04:09 PM)

Top
#146128 - 2005-08-22 04:08 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
Ah... ok. Then after using it just unregister it like this:

Code:

regsvr32 kixforms.dll /u



And delete the dll.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#146129 - 2005-08-22 04:30 PM Re: problem with KiXforms Designer
snake Offline
Fresh Scripter

Registered: 2005-08-22
Posts: 30
Loc: Germany
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


Edited by snake (2005-08-22 04:43 PM)

Top
#146130 - 2005-08-22 04:45 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#146131 - 2005-08-22 04:58 PM Re: problem with KiXforms Designer
snake Offline
Fresh Scripter

Registered: 2005-08-22
Posts: 30
Loc: Germany
ahh ok thanks for the info

if so i use for safety reasons shell

du you have icq ?

Top
#146132 - 2005-08-22 05:01 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
Nope. No ICQ for me, no MSN also. Nothing that even looks like it.
Why?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#146133 - 2005-08-22 05:03 PM Re: problem with KiXforms Designer
snake Offline
Fresh Scripter

Registered: 2005-08-22
Posts: 30
Loc: Germany
no irc ? nothing ? lol why ?

hm only a question its fatser to talk

Top
#146134 - 2005-08-22 05:07 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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]


Edited by Mart (2005-08-22 05:09 PM)

Top
#146135 - 2005-08-22 05:21 PM Re: problem with KiXforms Designer
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mart, largest pile?
haven't you ever watched any political programs aired over the wire?
_________________________
!

download KiXnet

Top
#146136 - 2005-08-22 05:31 PM Re: problem with KiXforms Designer
snake Offline
Fresh Scripter

Registered: 2005-08-22
Posts: 30
Loc: Germany
hm ok you are right this applications are allredy responsible but its an nice tool to become fast informations
Top
#146137 - 2005-08-22 07:32 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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

- Chuck Norris once sold ebay to ebay on ebay.

Top
#146138 - 2005-08-22 07:35 PM Re: problem with KiXforms Designer
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#146139 - 2005-08-22 07:52 PM Re: problem with KiXforms Designer
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
guess we wont be seeing mart in some of the kixtart msn chats that spring up from time to time.....
Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 557 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.083 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org