Search found 4 matches

by downtoo2015
Thu Feb 18, 2016 11:57 pm
Forum: PowerShell GUIs
Topic: String Value form NumericUpDown Powershell
Replies: 7
Views: 5000

Re: String Value form NumericUpDown Powershell

Thanks a lot, I will look at that.
by downtoo2015
Thu Feb 18, 2016 6:42 am
Forum: PowerShell GUIs
Topic: String Value form NumericUpDown Powershell
Replies: 7
Views: 5000

Re: String Value form NumericUpDown Powershell

I don't know if I should start another topic, but it's the same script. OK, so I added a process to check if the port is already used. I give the choice to stop the other website and continue the creation of the website OR the possibility to choose an other port. It's OK for the first part, but for ...
by downtoo2015
Thu Feb 18, 2016 2:14 am
Forum: PowerShell GUIs
Topic: String Value form NumericUpDown Powershell
Replies: 7
Views: 5000

Re: String Value form NumericUpDown Powershell

Thanks for the help.
I correct those lines by:

if (($Window.showdialog()) –eq 'OK')
{
Return $Port_TCP.Value
}

And it works!
Now, I have to improve it by checking if the port is already used. I'll be back If I need some help.
Thanks again.
by downtoo2015
Wed Feb 17, 2016 3:06 am
Forum: PowerShell GUIs
Topic: String Value form NumericUpDown Powershell
Replies: 7
Views: 5000

String Value form NumericUpDown Powershell

Hi everyone, I'm creating a Powershell script about IIS. My purpose is to get a NumericUpDown form to select a port, then it's creating an app pool and a website with the port selected previously. It's working but it returns "OK" instead the value of the port, and I don't know to get the v...