Posting to Powershell Studio Forum Denied????

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.
Locked
mwilliamsocc
Posts: 2
Last visit: Thu Jul 07, 2022 7:51 am

Posting to Powershell Studio Forum Denied????

Post by mwilliamsocc »

Greetings - I am a valid customer - just renewed my license via my company, installed powershell studio 2022 just fine, my account shows a valid support agreement but when I go to post in the powershell studio forum it tells me that I cant because I dont have a valid license.. HUH???

I am mwilliams@theocc.com

Please advise…
User avatar
Alexander Riedel
Posts: 8042
Last visit: Mon Aug 15, 2022 11:28 am
Answers: 12
Been upvoted: 25 times

Re: Posting to Powershell Studio Forum Denied????

Post by Alexander Riedel »

I do see something odd on your account. The customer role is missing. I am leaving it this way so our web folks have a chance to examine what happened when they get in this morning.
In the meantime, if you need help with something, please post here, I'll see it anywhere :D
Alexander Riedel
SAPIEN Technologies, Inc.
mwilliamsocc
Posts: 2
Last visit: Thu Jul 07, 2022 7:51 am

Re: Posting to Powershell Studio Forum Denied????

Post by mwilliamsocc »

Sure…I was simply looking for the best way to import a single column of items from a text file (no CSV involved) into a datagridview - I will stick whatever the proper method is to do this into the onload event of the main form so hat the text is loaded from the get go.. I see some things on the web but none of them really fit what I am trying to do…
User avatar
Alexander Riedel
Posts: 8042
Last visit: Mon Aug 15, 2022 11:28 am
Answers: 12
Been upvoted: 25 times

Re: Posting to Powershell Studio Forum Denied????

Post by Alexander Riedel »

[Topic moved by moderator]
I moved your question here to this forum, you are most likely to get an answer here.
Alexander Riedel
SAPIEN Technologies, Inc.
jvierra
Posts: 15252
Last visit: Fri Aug 12, 2022 7:12 pm
Answers: 24
Has voted: 4 times
Been upvoted: 22 times

Re: Posting to Powershell Studio Forum Denied????

Post by jvierra »

Where are the items. They have to be stored somewhere. Even a single column of items in a file can be loaded as a CSV by just giving a "-header" to the Import-Csv command.
jvierra
Posts: 15252
Last visit: Fri Aug 12, 2022 7:12 pm
Answers: 24
Has voted: 4 times
Been upvoted: 22 times

Re: Posting to Powershell Studio Forum Denied????

Post by jvierra »

Here is a simple example:
  1. $FormEvent_Load={
  2.     $csv = Import-Csv d:\scripts\StateCity.csv
  3.     $datagridview1.DataSource = [System.Collections.ArrayList]$csv
  4. }
Locked