Hey guys! First post here.
I'm new to VB.Net programming, so I decided to make a small app that runs another app with arguments.
I think the best way to do it was selecting one option from a dropdown menu and using this option as an argument to run the app.
The clean part I did:
Public Class LanguageSelectDialog Private Sub LanguageSelectDialog_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub ExitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitButton.Click Me.Close() End Sub Private Sub RunButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RunButton.Click Process.Start("Blank App.exe", "") End Sub End Class
Since I'm just trying out, I've made an blank app just for testing purposes. What I need to do in order to pass the selected option as argument? I'm using VisualStudio 2010.
Other 2 things that I didn't figured out:
- how can I make a form unresizable?
- how can I make the dropdown menu not editable?
Sorry if I'm asking too much for first post, but I'm in a thirst of learning! =)
Edited by RenanLazarotto: n/a