Do not post any licensing information in this forum.
I have windows form with combobox and listbox.
I want that once item selected in the combobox, the items in the listbox will change accordingly
tried million of options but nothing is working.
can someone please help?
I have no idea what you are trying to accomplish as you question is very vague:
Here are many examples of how to use a combobox. Perhaps I twill help. https://www.google.com/?gws_rd=ssl#neww ... n+combobox
#TODO: Place custom script here
[string]$DisplayMember_CB_LDST = ["LDST-TGB-BES01", "LDST-TGB-BES02"],
[string]$DisplayMember_CB_MAST = ["MAST-TGA-BES01", "MAST-TGA-BES02"]
if ($combobox1.SelectedIndex -eq "Staging")
if ($combobox2.SelectedIndex -eq "UK")
Load-ListBox -ListBox $listBox1 -Items $DisplayMember_CB_LDST
if ($combobox1.Items -eq "Staging")
if ($combobox2.Items -eq "Latam")
$checkedlistbox1.SelectedIndex = $DisplayMember_CB_MAST
this is my code.. im a beginner in PS so I guess im missing something
I am sorry but a forum is not the right place to teach PowerShell. Search for books and sites teaching PowerSHell.
Here is one place to start: https://mva.microsoft.com/en-us/trainin ... 2304984382
Who is online
Users browsing this forum: No registered users and 2 guests