#19716 - 2002-04-10 02:44 PM
kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
Can anybody tell me a quick way of registering the kixgui dll on all of my stations ive tried using RUN %WINDIR%\SYSTEM32\REGSVR32.EXE [THEN THE PATH TO THE FILE] but to no avail... steve
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
#19717 - 2002-04-10 02:55 PM
Re: kixgui registering the dll
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
Here's the code I use to register KixGUI. I have included and install for the VB5 runtime just in case my Win 9x users don't have it installed yet:
code:
$root=createobject("KiXGUI.Desktop") if len($root)=0 if @inwin = "1" shell "%COMSPEC% /c Regsvr32 /s %WINDIR%\KiXGUI.dll" else shell "%COMSPEC% /c %WINDIR%\System\Regsvr32 /s %WINDIR%\KiXGUI.dll" endif $root=createobject("KixGUI.Desktop") if len($root)=0 $GUI=ReadValue("HKEY_CURRENT_USER\Relizon","GUI") if $GUI<>0 $Selection=MessageBox("This logon script supports a graphical user interface, however you do not have the needed files."+@CRLF+@CRLF+"Click YES to install the files, NO to choose to NEVER run the files, CANCEL to install the files later.","Relizon Logon Script",3,30) SetConsole("Show") cls ? if $Selection = 6 $msvbvm50=@SCRIPTDIR+"\msvbvm50.exe" ? "Installing the needed files...please wait" shell "$msvbvm50 /s" ?? "Files installed...thank you" ? ?? "Graphical Logon will be seen during your next logon." ? sleep 2 endif if $Selection = 7 if KEYEXIST("HKEY_CURRENT_USER\Relizon")=0 ADDKEY("HKEY_CURRENT_USER\Relizon") endif WriteValue("HKEY_CURRENT_USER\Relizon","GUI","0","REG_SZ") endif endif endif endif
|
|
Top
|
|
|
|
#19719 - 2002-04-10 05:09 PM
Re: kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
oh oh Get this problem now that im trying to register KIXGUI "LoadLibrary("Kixgui.dll") failed get last error returns 0x00000485" HHHEEELLLPPP!! Steve.
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
#19721 - 2002-04-10 05:34 PM
Re: kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
Well, The machine has the same specs as another (software and hardware) also I have office 2000 installed... I works on one but not another.
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
#19722 - 2002-04-10 05:38 PM
Re: kixgui registering the dll
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
I just checked on a Win 95 machine without the VB5 runtime installed and got the following message:
quote: RegSvr32 LoadLibrary("C:Windows\kixgui.dll") failed. GetLastError returns 0x00000485
I'd say try installing the VB5 Runtime and see what you get.
|
|
Top
|
|
|
|
#19723 - 2002-04-10 05:45 PM
Re: kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
Ok Chris, Could you tell me how to install the VB runtime files and where to get them from... Steve
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
#19725 - 2002-04-10 06:19 PM
Re: kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
Ive tried installing the VB6 files and rebooting but im still gettin the same error, its really odd because it registered straight away on the test machine and my forms work fine...
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
#19726 - 2002-04-10 06:25 PM
Re: kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
Thats strange im getting the same error when I type a bogus dll name in like kg.dll after regsvr32, so typing in from prompt 'regsvr32 kg.dll" returns the same error code as before...
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
#19727 - 2002-04-10 06:28 PM
Re: kixgui registering the dll
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
This is from Microsoft's Explanation of Regsvr32 Usage and Error Messages (Q249873), which can be found here: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q249873
quote: LoadLibrary(" Dllname ") failed. GetlastError returns 0x00000485
From Winerror.h, 0x00000485 = 1157 (ERROR_DLL_NOT_FOUND), which means "One of the library files needed to run this application cannot be found." For example, typing regsvr32 missing.dll returns this error message if the Missing.dll file is not found.
I'm not sure what dll is missing. Try the VB5 runtime and see if that makes a difference.
|
|
Top
|
|
|
|
#19728 - 2002-04-10 06:34 PM
Re: kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
Now that is very wierd, I typed in the command EXACTLY as the file is written IE KixGUI and it has registered the file!!!!! Thanks for all your help chris..
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
#19729 - 2002-04-10 06:42 PM
Re: kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
Now its working on the machine that I didnt install the VB runtime files but isnt where I did..AARRRGGGHHHH
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
#19730 - 2002-04-10 09:35 PM
Re: kixgui registering the dll
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
Guys, Try this one instead, it may works : CD "%windir%" If @error=0 shell "%COMSPEC% /c Regsvr32 /s KiXGUI.dll" endif
I got some strange things with regsvr32 on 9x system without the complete path.
Steve, can you be a little more explicit about your last post ? Tia
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
#19731 - 2002-04-11 02:32 PM
Re: kixgui registering the dll
|
Stephen Wintle
Seasoned Scripter
Registered: 2001-04-10
Posts: 444
Loc: England
|
Ignore my last post the ramblings of a mad man. Ive got the clients updating, funny the VB5 runtime files work but not VB6.
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|