Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

form problems

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 09-26-2007   #1 (permalink)
Guest


 

form problems

Hello everybody
i have a problem : when i want to execute a script that is supposed to show
a dotnet window form, the PS seems to freeze instead of showing the wanted
form.

do you know why i get this problem ?
do you know how to resolve it ?

bye
Nico



My System SpecsSystem Spec
Old 09-26-2007   #2 (permalink)
Oisin Grehan
Guest


 

Re: form problems

On Sep 26, 1:41 pm, <Nicopil@xxxxxx> wrote:
Quote:

> Hello everybody
> i have a problem : when i want to execute a script that is supposed to show
> a dotnet window form, the PS seems to freeze instead of showing the wanted
> form.
>
> do you know why i get this problem ?
> do you know how to resolve it ?
>
> bye
> Nico
Not supported officially in v1.0

Start at the top:
http://groups.google.com/group/micro...dfc345ac6ded66

- Oisin

My System SpecsSystem Spec
Old 09-26-2007   #3 (permalink)
Marco Shaw
Guest


 

Re: form problems

Nicopil@xxxxxx wrote:
Quote:

> Hello everybody
> i have a problem : when i want to execute a script that is supposed to show
> a dotnet window form, the PS seems to freeze instead of showing the wanted
> form.
>
> do you know why i get this problem ?
> do you know how to resolve it ?
>
> bye
> Nico
>
>
This has to do with how threading works with PowerShell. See also:
http://www.manning-sandbox.com/threa...18102&tstart=0

There's a workaround provided. I've not gotten it to work, but was
trying to get something working with WPF.

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

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec
Old 09-26-2007   #4 (permalink)
Brandon Shell
Guest


 

Re: form problems

PowerTabSetup.ps1 is till easier IMO

"Oisin Grehan" <oising@xxxxxx> wrote in message
news:1190829842.671077.73950@xxxxxx
Quote:

> On Sep 26, 1:41 pm, <Nicopil@xxxxxx> wrote:
Quote:

>> Hello everybody
>> i have a problem : when i want to execute a script that is supposed to
>> show
>> a dotnet window form, the PS seems to freeze instead of showing the
>> wanted
>> form.
>>
>> do you know why i get this problem ?
>> do you know how to resolve it ?
>>
>> bye
>> Nico
>
> Not supported officially in v1.0
>
> Start at the top:
> http://groups.google.com/group/micro...dfc345ac6ded66
>
> - Oisin
>
My System SpecsSystem Spec
Old 09-26-2007   #5 (permalink)
Brandon Shell
Guest


 

Re: form problems

mis-click.. disregard

"Brandon Shell" <tshell.mask@xxxxxx> wrote in message
news:O3cc%23iGAIHA.4984@xxxxxx
Quote:

> PowerTabSetup.ps1 is till easier IMO
>
> "Oisin Grehan" <oising@xxxxxx> wrote in message
> news:1190829842.671077.73950@xxxxxx
Quote:

>> On Sep 26, 1:41 pm, <Nicopil@xxxxxx> wrote:
Quote:

>>> Hello everybody
>>> i have a problem : when i want to execute a script that is supposed to
>>> show
>>> a dotnet window form, the PS seems to freeze instead of showing the
>>> wanted
>>> form.
>>>
>>> do you know why i get this problem ?
>>> do you know how to resolve it ?
>>>
>>> bye
>>> Nico
>>
>> Not supported officially in v1.0
>>
>> Start at the top:
>> http://groups.google.com/group/micro...dfc345ac6ded66
>>
>> - Oisin
>>
>
My System SpecsSystem Spec
Old 09-26-2007   #6 (permalink)
Oisin Grehan
Guest


 

Re: form problems

On Sep 26, 2:06 pm, Marco Shaw <marco.shaw@_NO_SPAM_gmail.com> wrote:
Quote:

> Nicopil@xxxxxx wrote:
Quote:

> > Hello everybody
> > i have a problem : when i want to execute a script that is supposed to show
> > a dotnet window form, the PS seems to freeze instead of showing the wanted
> > form.
>
Quote:

> > do you know why i get this problem ?
> > do you know how to resolve it ?
>
Quote:

> > bye
> > Nico
>
> This has to do with how threading works with PowerShell. See also:http://www.manning-sandbox.com/threa...18102&tstart=0
>
> There's a workaround provided. I've not gotten it to work, but was
> trying to get something working with WPF.
>
> --
> ----------------
> PowerGadgets MVPhttp://www.powergadgets.com/mvp
>
> Blog:http://marcoshaw.blogspot.com
Hmm, nice link Marco. Some juicy meat there to think about for future
Pscx tricks.

- Oisin

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using sendkeys in a web form LuisE VB Script 9 08-25-2008 10:59 AM
Form Problem Anatoli PowerShell 6 01-12-2008 01:51 PM
Updating Web Form $hay PowerShell 1 01-29-2007 06:41 AM
Sent of Upgrade form (What do i do now?) kiis102 Vista General 6 12-06-2006 07:49 PM


Update your Vista Drivers Update Your Drivers Now!!

Vistax64.com 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 2005-2008