![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
King of Portal
|
How do I modify my compiled exe's Version info?
This might be a silly question as there may be some easy way to do this, but how do I add the information to my exe such as company name and copyright as well as description and all those other goodies. Any ideas?
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#2 |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,034
Rep Power: 5
![]() |
If you initially made no allowances for this in the code, there's not a whole lot you can do. However, if you're referring to a Windows program (which I feel is likely since you mentioned .EXE), then you can modify the resources with a resource editor (there are ones that can modify the resources appended to a .EXE or .DLL image). This way, if you have, say, string tables, you can update them without needing to recompile. However, if you've got the source, why not just recompile? Stuff like version info might be best if it were hardcoded, specifically to prevent this sort of tampering (you can use symbolic constants or compile-time expressions in your source).
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
#3 |
|
King of Portal
|
Yes that's actually what I meant lectricpharaoh I have the source code I just don't know how to go about compiling it with said information in the code or from the options available to me in VB.NET. Could you perhaps suggest somewhere that an example of the code is available or how I would add this to my own code? Thx, I tried looking for it at the MSDN library but all I found was a class that could retrieve the information, not actually set it for my app.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#4 |
|
PFO Founder
![]() ![]() |
If you right click on the project name over in the Solution Explorer, and go down in the menu to Properties, and click on that. That will bring up a bunch of config thing and go to the tab about publishing and there is an option to set the version number. If you still can't find it I could take some screen shots of what I mean.
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#5 |
|
King of Portal
|
Hmm... well I right clicked the project in the Solution Explorer and then selected Properties, but there doesn't appear to be a publishing tab of any sort, would you please help me out with those screen big_k105 I'd appreciate it.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#6 |
|
King of Portal
|
Actually I figured it out after tinkering about with the Solution Explorer, turns out that if you double click on a file called AssemblyInfo.vb that contains the parameters there so you can modify them. Thanks for the help though big_k105 it pointed me in the right direction ^_^
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Call to undefined function mysql_connect() | billpull | PHP | 11 | Jul 13th, 2006 2:45 PM |