Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 8 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Doesn't do anything. It is a nonsense construct. YOu only need this: $displayinfo.Text=1
e.
What us will doo is add extra blank lines which can make the display unusable.
The code posted has the same bad lines repeated over and over again. Why? Look closely at the code. It does the same test repeatedly. Only the last one will work.
I am trying to help you understand how to simplify the code. The way you have written it causes it to not work as you may want it to.
Think carefully about the steps you need too preform. Try to see how each one can conflict with another. Filter logic can be tricky and is not purely additive.
I recommend starting with one of the many good books or tutorials available for PowerShell.
I really do appreciate all the help you provide to the numerous of people who use this site
Have you ever thought about making your own tutorial or maybe a How To blog? I know Sapien provides some good tutorials but I think they're all geared towards people who already have a good understanding of scripting in general. Again, it's all appreciated.
I'm still working on this application. I will work on it for the next week before I post back to this forum.
Just keep working at it and keep reading the blogs. At some point a light will goon and much will become clear.
Don't try too hard. Work in little pieces. Over working wears out your brains ability to catch onto new ideas. Do what is easy and fun and progress naturally.
There. My blog for the day. Good luck and have fun.
localpct wrote:I really do appreciate all the help you provide to the numerous of people who use this site
Have you ever thought about making your own tutorial or maybe a How To blog? I know Sapien provides some good tutorials but I think they're all geared towards people who already have a good understanding of scripting in general. Again, it's all appreciated.
I'm still working on this application. I will work on it for the next week before I post back to this forum.
This topic is 8 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.