Help Loading .exe from a button that is a embedded resource
Posted: Thu Mar 25, 2010 4:31 am
Can someone please help me with this little issue I am having... Please PM me if you have an option that will work for me...
I have an ICON bar, and I have multiple programs that are .exe files that I want to be loaded in that icon bar when i release the software, So that is all fine, it saves the file settings to a file (that have been added to the icon bar already) ... Thats all good, the problem I came to was when I bought the Key Manager from CNS I ran into the issue that either I have 5 different usernames and activation keys for each of my software including the icon bar or I figure out a way to import the .exe files into the resources of the icon bar, and have the key manager only run on the icon bar,... Which is what I am thinking is the best option... So now I run into the problem of how to get those .exe files not to show in the built folder of the icon bar and not be required to even be their... So to get around this, I added each .exe file to the resources, I added a code that merely only hides the icon if you have show files and folder's disabled. So my next option is for a button that will load in the icon bar that when clicked, will open the .exe file from the resources folder, and all the .exe files are loaded in the resources folder, so therefor, no icon or other .exe file should/will show when I build the program and go into the release folder... so basically, Obviously having the .exe files that I want to load from the icon bar be Button's with the pictures of the icons is a better option anyway, incase they'd end up removing one of the icon's from the bar and not be able to put it back if it was just an icon that points to the .exe from the resources folder. That would force them to reload the software completely, So I think adding the button's that will launch the embedded resource is a better option... Please help me!!?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
"What I need here to load FILE.exe file from the references"
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
"The next .exe file" ( but i am thinking these 2 codes are going to be the same just point to different .exe's...)
~Thank you guys for your help. And CNS is definitely the best place for help!
I have an ICON bar, and I have multiple programs that are .exe files that I want to be loaded in that icon bar when i release the software, So that is all fine, it saves the file settings to a file (that have been added to the icon bar already) ... Thats all good, the problem I came to was when I bought the Key Manager from CNS I ran into the issue that either I have 5 different usernames and activation keys for each of my software including the icon bar or I figure out a way to import the .exe files into the resources of the icon bar, and have the key manager only run on the icon bar,... Which is what I am thinking is the best option... So now I run into the problem of how to get those .exe files not to show in the built folder of the icon bar and not be required to even be their... So to get around this, I added each .exe file to the resources, I added a code that merely only hides the icon if you have show files and folder's disabled. So my next option is for a button that will load in the icon bar that when clicked, will open the .exe file from the resources folder, and all the .exe files are loaded in the resources folder, so therefor, no icon or other .exe file should/will show when I build the program and go into the release folder... so basically, Obviously having the .exe files that I want to load from the icon bar be Button's with the pictures of the icons is a better option anyway, incase they'd end up removing one of the icon's from the bar and not be able to put it back if it was just an icon that points to the .exe from the resources folder. That would force them to reload the software completely, So I think adding the button's that will launch the embedded resource is a better option... Please help me!!?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
"What I need here to load FILE.exe file from the references"
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
"The next .exe file" ( but i am thinking these 2 codes are going to be the same just point to different .exe's...)
~Thank you guys for your help. And CNS is definitely the best place for help!