(Visual studio) combobox that open file location when clicking button.

Aug 27 2021 6:07 PM

i have combobox with 2 options, "bom, bam"

And i have a button.

I need to make that every another option will open another location (or file) on my computer.

for example, when i select the bom option, i will click the button, and the folder C:\Users\Ronit\Desktop\remote will open

and when i select the "bam" option, the folder C:\Users\Ronit\Desktop\DDD

will opened.

please help, and sorry if i have a bad english


Answers (1)