Is there a way to add a new menu item to the right-click menu of a specific exe file? I know how to add a menu for all exe's, but if its possible, I'd like to add one for just the one program.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
But it would apply on all exes!!!
Actually I tried looking in windows.. i couldn't find any exe having any different item.... so i doubt about this possibility....
Yeah, I figured as much. Perhaps someone can think of a way to accomplish what I am looking for then...
At work we have an client/server app that has the ability to run off of several different servers based on command-line args. What the boss wants is an app that presents a list of the servers, and let the user pick from the list which server to run off of. That is simple enough, but he also doesn't want to have the user have to pick from the list every time. So basically, the last server you pick is the default choice next time around. So I am trying to think of a way to be able to double-click on the program and have it run the default choice, but also have a menu option that brings up the server list. (Which seems like an impossibility)
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
If you can prove it and have a demo available, please... I would love to see it. I don't have that much time to "study" that.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
I guess he means adding options to the context menu of the file. So you can add, for example, "Open plain" (just made up) which will load your app with the "/p" command so your app knows it does not need to load any saved configuration.... that's just an example.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Originally posted by rjlohan Fill me in on a few details here - this seems like something I have code to do, but no doubt I'm missing something...
Are you trying to make a menu option for the .exe that appears before the .exe is run, to start it with some server option? Or after it starts up?
I'm guessing the first, but I'm a little unclear...
Yeah, the first one. Just like any old icon on the desktop, but for this particular one, an extra menu that allows the GUI to show up rather than just running with the default option.
McBrain - I'll mess with that tomorrow and I'll let you know if I make any headway. Thanks.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Originally posted by Mc Brain I guess he means adding options to the context menu of the file. So you can add, for example, "Open plain" (just made up) which will load your app with the "/p" command so your app knows it does not need to load any saved configuration.... that's just an example.
Spot on.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Maybe you could use shortcuts with either dynamic comandlines in them or just a shortcut for each commandline. Another thought would be to make a new file type and associate it with your app so that the user actually accesses one of these files and it fires your app by association. Just some thoughts I had.
Originally posted by Edneeis Maybe you could use shortcuts with either dynamic comandlines in them or just a shortcut for each commandline. Another thought would be to make a new file type and associate it with your app so that the user actually accesses one of these files and it fires your app by association. Just some thoughts I had.
I've implemented both of them, already .... but I like the Context menu the most. So, I would like to have it implemented that way as well.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Yeah, I'm keeping the shortcuts with different command lines approach in the back of my mind as a last resort. As it stands, every user has a shortcut for each server, and we're adding them at about one a week, so the idea is to cut it down to one if possible, but I guess two isn't so bad.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
I agree the context menu is the ideal solution but couldn't you just give the context menu to your custom file type since all the files can have it. I admit it its a bit ugly but it might not be THAT bad.
Hmm...so many choices. Thank god the words "technological research" appear in my job description. I may need to take a whole tuesday deciding on the best course of action.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Yup, its sort of a cheesy way, but I found in the code that the name of the files(s) were passed in at some point. And if the filename doesn't match the file I am looking for, I simply didn't add the menu. I forget where in the code it does this off hand, but its commented pretty well.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Can you post an example? I'm too tired to download and think about sth that's for work... I'm off duty until Thursday, so I don't think I would think "that hard" until then about it.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.