Search found 101 matches
- Fri Mar 08, 2019 6:47 am
- Forum: PowerShell
- Topic: ERROR: New-PSDrive : Multiple connections to a server or shared resource by the same user
- Replies: 5
- Views: 13820
ERROR: New-PSDrive : Multiple connections to a server or shared resource by the same user
I am copying one file from about 10 different servers with the below foreach code. I receive this error at some point during the copies, but I can't figure out why I'm getting it. I have googled and found this to be issues for others, but could not find any solution that would help. Any help would b...
- Tue Mar 05, 2019 12:55 pm
- Forum: PowerShell GUIs
- Topic: Progress Bar issues
- Replies: 3
- Views: 1354
Re: Progress Bar issues
Thank you! That helped big time
- Mon Mar 04, 2019 9:45 am
- Forum: PowerShell GUIs
- Topic: Progress Bar issues
- Replies: 3
- Views: 1354
Progress Bar issues
Hi, I have a marquee progressbar overlay I want to display on a form when someone clicks the button to download some files. I only want the progressbar to be visible and animate when this is going on but it only becomes visible and animated after the files are downloaded which defeats the purpose. L...
- Fri Feb 22, 2019 8:09 am
- Forum: PowerShell GUIs
- Topic: XML data to a label.text property
- Replies: 38
- Views: 9166
Re: XML data to a label.text property
That made me see the light. The problem was with me not assigning the $BindingURL.text to a variable after the user clicked the search button. Now I remember how to do it. thanks for the guidance.
- Thu Feb 21, 2019 11:35 am
- Forum: PowerShell GUIs
- Topic: XML data to a label.text property
- Replies: 38
- Views: 9166
Re: XML data to a label.text property
I don't know where that code is. What you are talking about is a text box Named BindingURL. I enter text in this box and I assumed that the variable is set then. Please correct me if I'm wrong.
- Thu Feb 21, 2019 10:48 am
- Forum: PowerShell GUIs
- Topic: XML data to a label.text property
- Replies: 38
- Views: 9166
Re: XML data to a label.text property
Please post the code that sets that variable? This variable ->>> $detailsLBL $buttonSEARCH_Click= { #TODO: Place custom script here [xml]$file = (Get-Content 'c:\test\programdata\Server Configuration.xml') $detailsLBL.Text = ($file.SelectSingleNode("//Instance[BindingHostName='$BindingURL']&qu...
- Thu Feb 21, 2019 9:50 am
- Forum: PowerShell GUIs
- Topic: XML data to a label.text property
- Replies: 38
- Views: 9166
Re: XML data to a label.text property
No that doesn't make any sense. What has a value of "TEXT"? detailsLBL - This is the label where I want the value of the XML code you wrote to show as the .NAME at the end of the XML line. What switches to NULL? detailsLBL switches to NULL instead of the .NAME above. What code have you ch...
- Thu Feb 21, 2019 9:32 am
- Forum: PowerShell GUIs
- Topic: XML data to a label.text property
- Replies: 38
- Views: 9166
Re: XML data to a label.text property
The problem is that it still shows up as NULL or blank. It starts off with a value of "TEXT" (I set that up for troubleshooting) after I click the button (the code you have already seen), it switches to NULL. So we probed that your code works, but I can not make the value of that specific ...
- Thu Feb 21, 2019 6:30 am
- Forum: PowerShell GUIs
- Topic: XML data to a label.text property
- Replies: 38
- Views: 9166
Re: XML data to a label.text property
The textbox is named BindingURL. I thought that was considered a variable when using it in code. My mistake. So since $BindingURL is NULL that makes sense. I think I am back in rookie status then
- Thu Feb 21, 2019 5:46 am
- Forum: PowerShell GUIs
- Topic: XML data to a label.text property
- Replies: 38
- Views: 9166
Re: XML data to a label.text property
My original question was how to get that output of just the Name from that Instance node into the $detailsLBL control text property. It still doesn't work. It still shows up as BLANK. $buttonSEARCH_Click= { #TODO: Place custom script here [xml]$file = (Get-Content 'c:\test\programdata\Server Config...