First, you must create an object having MyControl type :
Dim obj as new MyControl
After that you can use :
Me.Controls.Add("MyControl",sName)
1. Include both icons in your project.
2. When you start an instance of your application you can get the path where the app is located. By testing this path you can set one icon or other depending of the result.
If doesn't matter the location, you can test if an instance of your application...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.