reading files

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 6 years and 4 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.
Locked
User avatar
mqh77777
Posts: 252
Last visit: Mon Feb 26, 2024 10:07 am
Has voted: 1 time

reading files

Post by mqh77777 »

We are using PowerShell Studio 5.4.145
OS: Windows 10 x64

Can PowerShell Studio read a .ini file and then display the contents of that .ini file in a drop down listbox? I've tried using get-content to read the file and piping that data into the listbox but nothing ever displays.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: reading files

Post by jvierra »

Yes. It can do it if you write code to read and display a file. You can also download an ini file manager and use that to read and manage ini files.
This topic is 6 years and 4 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.
Locked