viewtopic.php?f=12&t=12769
Can't reply to other topics here, but wanted to add that I had this identical issue. I gave up and did my debugging is ISE, where everything worked as expected. I'll follow the other post to see if a solution is forthcoming.
Search found 18 matches
- Fri Aug 10, 2018 5:57 am
- Forum: PowerShell Studio
- Topic: https://www.sapien.com/forums/viewtopic.php?f=12&t=12769
- Replies: 1
- Views: 1090
- Tue Feb 13, 2018 5:46 am
- Forum: PowerShell
- Topic: Select-Object -last 1?
- Replies: 4
- Views: 2891
Re: Select-Object -last 1?
This should work in most cases, it assumes the application name is the start of the string and contains no digits and the version is at the end of the string and contains only digits and periods. Create an object with the original name, the application name and the version, using this regex. https:/...
- Fri Dec 08, 2017 8:04 am
- Forum: PowerShell GUIs
- Topic: need func conver employeenumber to samaccountname
- Replies: 7
- Views: 2488
- Wed Jun 28, 2017 8:39 am
- Forum: PowerShell Studio
- Topic: OGV not working in V2 platform mode
- Replies: 2
- Views: 1569
Re: OGV not working in V2 platform mode
I'm not sure this is relevant, but I am VPN'd to a client this morning. Another oddity is that is a huge lag when I run these scripts today. I'm not sure why my network connection would be an issue, but just FYI.
- Wed Jun 28, 2017 8:27 am
- Forum: PowerShell Studio
- Topic: OGV not working in V2 platform mode
- Replies: 2
- Views: 1569
OGV not working in V2 platform mode
Product, version and build: PowerShell Studio 2017 v5.4.141 (*** Please do not write "latest" as a version, specify a version number ***) 32 or 64 bit version of product: 64 Operating system: Windows 7 32 or 64 bit OS: 64 PowerShell Version: 2/3 I have V3 installed, but I need to work with...
- Tue May 02, 2017 8:08 am
- Forum: PowerShell GUIs
- Topic: multiform
- Replies: 11
- Views: 5228
Re: multiform
I've found that the best way to simulate multiple forms is to use the tab control. It's a little more work, keeping the code grouped by tab, but you can switch from tab to tab for different functions without "closing" them.
- Thu Mar 09, 2017 6:54 am
- Forum: PowerShell GUIs
- Topic: External form, howto keep main form responsive?
- Replies: 6
- Views: 2409
Re: External form, howto keep main form responsive?
"By any normal means" Are there alternative possibilities? I've found that the Tab control is the best way to have multiple "windows" active at the same time. Since its all running in the same script, you can access all the info, hide and unhide tabs as they become active/releva...
- Wed Feb 15, 2017 8:02 am
- Forum: PowerShell GUIs
- Topic: How to separate out code?
- Replies: 12
- Views: 4969
Re: How to separate out code?
I think I have an idea of what you're trying to do. Take a look here to learn how to use regions.njcappa wrote: Let me ask it another way: the project I intend to make will require a tab control with a number of tabs.
http://info.sapien.com/index.php/how-to ... o/collapse
- Mon Jan 23, 2017 7:07 am
- Forum: PowerShell GUIs
- Topic: How to use Powershell Forms to create and fill printable doc
- Replies: 15
- Views: 9257
Re: How to use Powershell Forms to create and fill printable doc
For this type of project, I think I would generate an html report. This gives you the ability to do some formatting, place the output in a webbrowser control as a preview, then call the Print method to print the report. If you want to keep it, save as an html file.
- Tue Nov 22, 2016 6:11 am
- Forum: PowerShell
- Topic: Need help improving performance please ...
- Replies: 11
- Views: 8405
Re: Need help improving performance please ...
... My only worry is that using the Foreach-Object is a *lot* slower compared to the Where-Object. I suppose that's possible, but it doesn't make much sense. You can measure time on various operations to confirm the individual operation is the culprit. Just remember to start with a fresh session fo...