Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista Tutorial - GUI interface - use powershell framework windows or vbscript HTA ?

Reply
 
Old 08-13-2007   #1 (permalink)
IT Staff
Guest


 
 

GUI interface - use powershell framework windows or vbscript HTA ?

Say i want to create GUI interface eg windows forms, etc.

Should i use powershell to make use of .net framework windows forms or
should i learn something on vbscript HTA ?



My System SpecsSystem Spec
Old 08-13-2007   #2 (permalink)
RichS
Guest


 
 

RE: GUI interface - use powershell framework windows or vbscript HTA ?

PowerShell and Windows forms should give you the richest options but it will
probably be more complicated than an HTA. Are you learning both from scratch?
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"IT Staff" wrote:

> Say i want to create GUI interface eg windows forms, etc.
>
> Should i use powershell to make use of .net framework windows forms or
> should i learn something on vbscript HTA ?
>
>
>

My System SpecsSystem Spec
Old 08-13-2007   #3 (permalink)
IT Staff
Guest


 
 

Re: GUI interface - use powershell framework windows or vbscript HTA ?

Actually i was reading latest technet articles and the Scripting Guys still
talks about HTA. So i post this question whether to learn HTA, or just go
ahead with powershell using the framework class ..

With powershell rich environment, will we administrative scripters becomes
"developers" unknowingly ?




"RichS" <RichS@discussions.microsoft.com> wrote in message
news:1C926E4F-7484-42A3-9AA6-2B14A48378A8@microsoft.com...
> PowerShell and Windows forms should give you the richest options but it
> will
> probably be more complicated than an HTA. Are you learning both from
> scratch?
> --
> Richard Siddaway
> Please note that all scripts are supplied "as is" and with no warranty
> Blog: http://richardsiddaway.spaces.live.com/
> PowerShell User Group: http://www.get-psuguk.org.uk
>
>
> "IT Staff" wrote:
>
>> Say i want to create GUI interface eg windows forms, etc.
>>
>> Should i use powershell to make use of .net framework windows forms or
>> should i learn something on vbscript HTA ?
>>
>>
>>



My System SpecsSystem Spec
Old 08-13-2007   #4 (permalink)
Vinicius Canto [MVP]
Guest


 
 

Re: GUI interface - use powershell framework windows or vbscript HTA ?

In article <ue1HC5g3HHA.3916@TK2MSFTNGP02.phx.gbl>, jkklim@hotmail.com
says...
> With powershell rich environment, will we administrative scripters becomes
> "developers" unknowingly ?
>


I think that's not a bad idea... =). But the truth is that Powershell
enables IT pros to write scripts more quickly than
WSH/VBScript/WMI/ADSI. The learning curve is smoother.

However, to create GUIs today I prefer HTAs. But it's only my opinion...

[]s,


--
Vinicius Canto
MVP Windows Server - Admin Frameworks
Brazil

Blog about Scripting/Powershell: http://viniciuscanto.blogspot.com
My System SpecsSystem Spec
Old 08-14-2007   #5 (permalink)
RichS
Guest


 
 

Re: GUI interface - use powershell framework windows or vbscript H

VBScript is still used more than PowerShell I would think - PowerShell has
only been available for less than 1 year. if you think about the time it
took for VBScript to become accepted by admins as a standard tool Powershell
is well ahead to that curve.

I would base your decision on your position regarding the 2 languages.
PowerShell will definitely be getting new versions - I doubt that VBScript
will get much in the way of enhancements - if any
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"IT Staff" wrote:

> Actually i was reading latest technet articles and the Scripting Guys still
> talks about HTA. So i post this question whether to learn HTA, or just go
> ahead with powershell using the framework class ..
>
> With powershell rich environment, will we administrative scripters becomes
> "developers" unknowingly ?
>
>
>
>
> "RichS" <RichS@discussions.microsoft.com> wrote in message
> news:1C926E4F-7484-42A3-9AA6-2B14A48378A8@microsoft.com...
> > PowerShell and Windows forms should give you the richest options but it
> > will
> > probably be more complicated than an HTA. Are you learning both from
> > scratch?
> > --
> > Richard Siddaway
> > Please note that all scripts are supplied "as is" and with no warranty
> > Blog: http://richardsiddaway.spaces.live.com/
> > PowerShell User Group: http://www.get-psuguk.org.uk
> >
> >
> > "IT Staff" wrote:
> >
> >> Say i want to create GUI interface eg windows forms, etc.
> >>
> >> Should i use powershell to make use of .net framework windows forms or
> >> should i learn something on vbscript HTA ?
> >>
> >>
> >>

>
>
>

My System SpecsSystem Spec
Old 08-14-2007   #6 (permalink)
Brandon Shell
Guest


 
 

Re: GUI interface - use powershell framework windows or vbscript HTA ?

Just a word on GUI and Powershell.

A good GUI almost always requires threading so keep that in mind as you
design your script. If your going down the .NET route, I would suggest
getting familiar with runspaces.

If you don't mind me asking... what kind of GUI are you going for?

"IT Staff" <jkklim@hotmail.com> wrote in message
news:eF$DZIW3HHA.2064@TK2MSFTNGP03.phx.gbl...
> Say i want to create GUI interface eg windows forms, etc.
>
> Should i use powershell to make use of .net framework windows forms or
> should i learn something on vbscript HTA ?
>


My System SpecsSystem Spec
Old 08-14-2007   #7 (permalink)
IT Staff
Guest


 
 

Re: GUI interface - use powershell framework windows or vbscript HTA ?

Actually i m not a gui scripter, recently been reading articles and thus
raise this question.

My definition of GUI to work with normal scripts, would probably be just a
simple message box , or a scene where powershell pips its results to a .net
dropdownlist, listview etc Just for cosmetic purpose.

Or maybe a GUI looks will be the powershell pipe in results to a .net
message box with my face/name as advertisment :-)

I m trying to find out which is the easiest to do, via .net class or HTA.



"Brandon Shell" <tshell.mask@mk.gmail.com> wrote in message
news:O%23wJ$wm3HHA.4880@TK2MSFTNGP03.phx.gbl...
> Just a word on GUI and Powershell.
>
> A good GUI almost always requires threading so keep that in mind as you
> design your script. If your going down the .NET route, I would suggest
> getting familiar with runspaces.
>
> If you don't mind me asking... what kind of GUI are you going for?
>
> "IT Staff" <jkklim@hotmail.com> wrote in message
> news:eF$DZIW3HHA.2064@TK2MSFTNGP03.phx.gbl...
>> Say i want to create GUI interface eg windows forms, etc.
>>
>> Should i use powershell to make use of .net framework windows forms or
>> should i learn something on vbscript HTA ?
>>

>



My System SpecsSystem Spec
Old 08-14-2007   #8 (permalink)
Brandon Shell
Guest


 
 

Re: GUI interface - use powershell framework windows or vbscript HTA ?

This is just my opinion, but I would recommend .NET. I think the learning
curve will be a little steeper, but it fits better with the whole Powershell
experience.

"IT Staff" <jkklim@hotmail.com> wrote in message
news:uT%23T40t3HHA.2752@TK2MSFTNGP06.phx.gbl...
> Actually i m not a gui scripter, recently been reading articles and thus
> raise this question.
>
> My definition of GUI to work with normal scripts, would probably be just a
> simple message box , or a scene where powershell pips its results to a
> .net dropdownlist, listview etc Just for cosmetic purpose.
>
> Or maybe a GUI looks will be the powershell pipe in results to a .net
> message box with my face/name as advertisment :-)
>
> I m trying to find out which is the easiest to do, via .net class or HTA.
>
>
>
> "Brandon Shell" <tshell.mask@mk.gmail.com> wrote in message
> news:O%23wJ$wm3HHA.4880@TK2MSFTNGP03.phx.gbl...
>> Just a word on GUI and Powershell.
>>
>> A good GUI almost always requires threading so keep that in mind as you
>> design your script. If your going down the .NET route, I would suggest
>> getting familiar with runspaces.
>>
>> If you don't mind me asking... what kind of GUI are you going for?
>>
>> "IT Staff" <jkklim@hotmail.com> wrote in message
>> news:eF$DZIW3HHA.2064@TK2MSFTNGP03.phx.gbl...
>>> Say i want to create GUI interface eg windows forms, etc.
>>>
>>> Should i use powershell to make use of .net framework windows forms or
>>> should i learn something on vbscript HTA ?
>>>

>>

>
>


My System SpecsSystem Spec
Old 08-15-2007   #9 (permalink)
Marco Shaw
Guest


 
 

Re: GUI interface - use powershell framework windows or vbscriptH

RichS wrote:
> VBScript is still used more than PowerShell I would think - PowerShell has
> only been available for less than 1 year. if you think about the time it
> took for VBScript to become accepted by admins as a standard tool Powershell
> is well ahead to that curve.
>
> I would base your decision on your position regarding the 2 languages.
> PowerShell will definitely be getting new versions - I doubt that VBScript
> will get much in the way of enhancements - if any


You sure about that?! ;-)

http://www.leadfollowmove.com/archiv...pt-57-released

Marco

--
----------------
PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Nothing - VBScript / Powershell PowerShell
User interface library/framework for console app? .NET General
Wrapping PowerShell Scripts In A GUI Interface PowerShell
Books on Powershell with .net framework PowerShell
Windows Installer automation interface problems in PowerShell? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46