KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

XP issue

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
nz556
KiXforms Novice
KiXforms Novice


Joined: 12 Aug 2004
Posts: 3

PostPosted: Thu Aug 12, 2004 2:23 am    Post subject: XP issue Reply with quote

Hi There

First time caller - I think.

Been using kixforms scripts fine on W2000 but have a minor hassle on XP.

I can't seem to get kixforms.dll recognised as being registered. XP says its registered when i initiate a regsvr32 kixforms.dll. The correct keys are showing in hkey_classes_root.

When I run my script it complains about the dll not being available.

Kixforms Version 2.3.0 RC2 Build 44

wkix32.exe: version 4.22.0.0

Any ideas would be much appreciated.

Thanks
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Thu Aug 12, 2004 2:49 am    Post subject: Reply with quote

Whats doing the complaining ? Windows XP or some portion of the script ? Whats the text of the error message ?
Back to top
View user's profile Send private message
nz556
KiXforms Novice
KiXforms Novice


Joined: 12 Aug 2004
Posts: 3

PostPosted: Thu Aug 12, 2004 7:04 am    Post subject: Reply with quote

I normally test for kixforms.dll existence. However, I commented out this section so the script got to the last line in this piece of code:

Function DrawForms()
;### DrawForms() ###
$Form = CreateObject("Kixtart.Form")
$Form.Caption = "GHS Login Script"
$Form.Width = 500
$Form.Height = 400
If $DebugFlag=$True
$Form.Left=50
$Form.Top=50
Else
$Form.Center
EndIf

;### Logo ###
$Logo=$Form.PictureBox
$Logo.Left=5
$Logo.Top=5
$Logo.Width=483
$Logo.Height=50
$Logo.Picture=$ImgLocation + "\SchoolTitle.bmp"

;### Info Frame ###
$InfoFrame = $Form.Frame("Information",5,55,240,140)

No other kixform material appears before this. If the dll is not registered then I'm assuming this causes the error report: 'expected expression'.
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Aug 12, 2004 7:24 am    Post subject: Reply with quote

You should check the @error macro right after
$Form = CreateObject("Kixtart.Form")
and send it through fnComError() posted in the udf Library over at Kixtart.org forums

There seems nothing wrong with your code btw. (except maybe that you use 2 deprecated objects/properties Wink )

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
nz556
KiXforms Novice
KiXforms Novice


Joined: 12 Aug 2004
Posts: 3

PostPosted: Thu Aug 12, 2004 10:00 pm    Post subject: Found the solution Reply with quote

Thank you for taking the time to think about my problem.

My system is based in a hostile school environment and PC's are screwed down very tight. It turned out that the issue was a permissions one. I'd register the kixforms.dll but hadn't spotted the permissions were not correct for regular users. hence, the dll could not be read by them ...

Sorry to have taken up your valuable time.

BTW, I have really enjoyed working with kixforms. Opened my eyes to lots of possibilities. As to the deprecated functions I'm using, I'll tidy that up once things are working 110%. This is the first release of this script so I'm expecting a few niggles.

Have a nice day.
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Thu Aug 12, 2004 10:06 pm    Post subject: Reply with quote

hmm...
so, users can't use com at all?
or why users can't read object?

not really sure what you are talking in here.
like, just opening outlook uses objects, and if you have not precisely done something about kixforms.dll, can't say what could stop users from "reading" it.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Fri Aug 13, 2004 6:22 am    Post subject: Re: Found the solution Reply with quote

nz556 wrote:
As to the deprecated functions I'm using, I'll tidy that up once things are working 110%. This is the first release of this script so I'm expecting a few niggles.


I'd recommend to replace all occurances of .Frame with .GroupBox as soon as you open it in an editor the next time. It will save you from some more niggles you won't know where they come from on first sight Wink
It is of course 100% safe to do this as they are compatible in Syntax anyway.

And by that time replacing .Caption with .Text oesn't hurt also...

Good luck with your kixforms experience

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group