Page 1 of 2 12>
Topic Options
#90156 - 2002-12-02 11:15 PM my new project...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Here is a screenshot...

 -

and here is the file

http://wheelerfam.com/Documents/Inquisitor.kix

[ 10. December 2002, 21:55: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#90157 - 2002-12-02 11:17 PM Re: my new project...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
put in code tags
_________________________
!

download KiXnet

Top
#90158 - 2002-12-02 11:17 PM Re: my new project...
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You'll need to post code in [CODE] tags if it contains '<' and/or '>' signs.
_________________________
There are two types of vessels, submarines and targets.

Top
#90159 - 2002-12-02 11:19 PM Re: my new project...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Try using &lt for < and &gt for >.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#90160 - 2002-12-02 11:21 PM Re: my new project...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hahaa!

boys, was he saying it has < or > ?

it's enough that it has something dot onclick
_________________________
!

download KiXnet

Top
#90161 - 2002-12-02 11:26 PM Re: my new project...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
sometimes you have to break the html code by interspersing [b] and [/b] ubb tags.

You might try PostPrep also.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#90162 - 2002-12-02 11:27 PM Re: my new project...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
rad?
_________________________
!

download KiXnet

Top
#90163 - 2002-12-02 11:41 PM Re: my new project...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
like you most notice, html code is not translated in code tags

so, if you want a empty line in code, use normal space on the empty line.
_________________________
!

download KiXnet

Top
#90164 - 2002-12-02 11:51 PM Re: my new project...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
also, a code shortening suggestion (cuts at least half out of the size)

you have:
code:
$lblOffice = $fraSelect.Label
$lblOffice.CAPTION = "Office OU:"
$lblOffice.HEIGHT = $txtOffice.HEIGHT
$lblOffice.WIDTH = 75
$lblOffice.LEFT = $txtOffice.LEFT - $lblOffice.WIDTH
$lblOffice.TOP = $txtOffice.TOP

which is just the same but slower to execute than:
code:
$lblOffice = $fraSelect.Label("Office OU:",$txtOffice.LEFT-$lblOffice.WIDTH,$txtOffice.TOP,75,txtOffice.HEIGHT)



[ 02. December 2002, 23:54: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#90165 - 2002-12-02 11:57 PM Re: my new project...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
ok.. it is posted...

basically, it is an idea I had (after reviewing Doc's Helpdesk app. and ripping a Kixform script for the shell form. [Smile] (thanks Shawn)

I think the only external call (so far) is to WMIQuery, but the idea is for it to parse a hardcoded list of computer OUs, put those computers into a combobox, choose the computer out of that box, and it will WMIQuery the appropriate info in real time for that PC (if it is on line)

It also has a few buttons on the bottom to start SMS remote control to that machine, open that machine's C: Drive, etc...

It is still in progress, I'm adding a button to kill specific tasks on the remote PC, and perhaps, open the remote registry.

I'd like to be able to open the user account properties, from a previous request of mine.

Ideas/Suggestions???
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#90166 - 2002-12-02 11:59 PM Re: my new project...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
see above [Wink]
_________________________
!

download KiXnet

Top
#90167 - 2002-12-03 07:23 PM Re: my new project...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
still the html-codes in there.
why you add them?
_________________________
!

download KiXnet

Top
#90168 - 2002-12-03 07:42 PM Re: my new project...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I didn't add them, they volunteered...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#90169 - 2002-12-03 07:49 PM Re: my new project...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
huh...
and you just couldn't say no, yes?
_________________________
!

download KiXnet

Top
#90170 - 2002-12-03 09:09 PM Re: my new project...
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Hmmm.. quite cool idea there Rad.

I'll have to put this on my list of things to "steal and modify" when I've got time [Big Grin]

Top
#90171 - 2002-12-09 03:02 PM Re: my new project...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
updated the code and picture above.

To Do list:
  • spawn remote process when uninstall button is pressed
  • parse uninstall command for typical silent switches, add them if necessary
  • Figure out how to remove a mapped drive
  • brainstorm for new item in remaining space
  • change Restart PC to add popup box for restart/shutdown options
  • Add popup box to select driveletter and path for new mapped drive
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#90172 - 2002-12-09 03:32 PM Re: my new project...
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear Radimus,

Indeed very cool. Very useful for people who are really familiar with KiXtart.
In not only shows a lot of useful information, but it was a presented in
a nice format. It gives also the user some capabilities without the
need to learn KiXtart.

Thanks & greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#90173 - 2002-12-09 03:34 PM Re: my new project...
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
[Eek!]

Very nice - just trying to adapt it here for non-ldap usage ....

Top
#90174 - 2002-12-09 07:01 PM Re: my new project...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I have the rcmd uninstall section working now.

code:
 Function Uninstall
$tools="\\a06\logon\tools"
$command=$uninstallkey[$txtApp.ListIndex]

$command = $Form.InputBox("Verify Uninstall Command","Uninstall Command",$command)
if not $command = ''
$tempcmd=''
for $loop=1 to len($command)
$char=substr($command,$loop,1)
if $char='"'
$tempcmd=$tempcmd + '"' + '"'
endif
$tempcmd=$tempcmd + $char
next
$command = $tempcmd
use "\\$name\ipc$$"
$targetSystemRoot = readvalue("\\$name\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\","SystemRoot")
shell '%comspec% /c $tools\xnet list $target | find /i "rcmdsvc" > nul'
if @error = 0
shell '%comspec% /c $tools\xnet stop \\$name\rcmdsvc > nul'
shell '%comspec% /c $tools\xnet remove \\$name\rcmdsvc /y > nul'
endif
copy "$tools\rcmd*.exe" "\\$name\admin$$\system32"
if @error <> 0 exit(@error) endif
shell '%comspec% /c $tools\xnet install \\$name\rcmdsvc /b:$targetsystemroot\system32\rcmdsvc.exe /n:"Remote Command Service" /u:localsystem /i:y /s:auto > nul'
shell '%comspec% /c $tools\xnet start \\$name\rcmdsvc > nul'
shell '%comspec% /c $tools\rcmd.exe \\$name "$command"'
shell '%comspec% /c $tools\xnet stop \\$name\rcmdsvc > nul'
shell '%comspec% /c $tools\xnet remove \\$name\rcmdsvc /y > nul'
del "$destdir\rcmdsvc.exe"
use "$target\ipc$$" /delete
endif
endfunction

_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#90175 - 2002-12-09 07:10 PM Re: my new project...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Opinions??

The uninstall command usually doesn't have the silent option in the command line.

should It provide a method for:
manually editing the line to type them in.
scanning the command and suggest the command line option for that executable.
automatically adding the switch based upon best guess, and allow manual editing

Uninst.exe or Uninst16.exe wants: -y -a
msiexec.exe wants: /q
and some others wants /s or /q
some have no option...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 1003 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.073 seconds in which 0.027 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