473,796 Members | 2,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing resources in .NET executable

PLS
In the native world, there are a number of utilities that allow one to
edit resources in an executable.

I have a situation where I want an executable to contain a semi-static
table. I want to be able to give selected people in the field
instructions for changing this table. They will then distribute the
program with the updated table within their groups.

The people updating the table will not have Visual Studio. And if at all
possible I want to keep the program as a single file rather than having
the table as a separate file.

Is there a way in the .NET world?

Thanks,
++PLS
Jul 10 '07 #1
1 1169

"PLS" <no****@nowhere .comwrote in message
news:MP******** *************** *@msnews.micros oft.com...
In the native world, there are a number of utilities that allow one to
edit resources in an executable.

I have a situation where I want an executable to contain a semi-static
table. I want to be able to give selected people in the field
instructions for changing this table. They will then distribute the
program with the updated table within their groups.

The people updating the table will not have Visual Studio. And if at all
possible I want to keep the program as a single file rather than having
the table as a separate file.

Is there a way in the .NET world?
..NET executables are real Win32 PE files, so they can still contain the
old-style (native) resources. For example, that's the way to set your
application icon.
>
Thanks,
++PLS
Jul 13 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1865
by: sarmin kho | last post by:
Hi Pythoners, i remember that i saw posting about changing the icon of a python executable but i kind of lost where to find the posting... basically, this is my first time using the py2exe to create python executable... it came out with an executable file with an icon that i would like to change... any guide please... many thanks Pythoners...
0
1163
by: schoenfeld1 | last post by:
If I have an executable with a gigabytes of embedded resources, will the CLR loader try to load the resources into memory or does it only load the code segments? The reason I ask is because I am using a large icon (supports all formats) in many forms in 1 executable, and this seems to result in much code bloat - does this translate to memory bloat at runtime?
3
1349
by: Bonj | last post by:
H When creating an SDK program using VC++.NET 2002, it seems that the icon with the lowest ID seems to be the icon that the executable file gains when it is shown in Windows Explorer. Furthermore, you can edit the resource.h file, to change which icon has the lowest ID in order to determine this, but when you build the project, it always overwrites the resource.h file, even though it keeps the IDs that you've chosen if you've reassigned them...
1
2078
by: Anna | last post by:
Hello, I want to enumarate all resources from executable file. in that I Got a article where it enumarate all resources but I want more than that, As I want to enumarate also resources name
0
1652
by: Steave | last post by:
Hi, using Managed C++ (.Net 2.0), I want to embed some images within an executable using a .resX file, and upon an event (in this case a combo box changing), I want the picture box to update with a different one. I tried the following code: System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(formDebayer::typeid));
1
8918
by: sunil | last post by:
Hi, I want to change the default installation folder to my own path. I did it by changing the application folder's DefaultLocation property. The installation works fine as long the path that I give is complete path. If I give relative path, there is an error. The path is relative to the location of my solution folder. Just to be more clear, I have several projects in my solution. The setup project contains one executable as the primary...
2
1532
by: Thorsten Kiefer | last post by:
Hi, how do i bake resources into an executable ? One way would be to convert binary files into headerfiles like that : pic1.h: char *pic1 = {23,45,254,.....}; But is there another way ? Regards
2
2373
by: Dom | last post by:
I need to change the cursor when the mouse is hovering over certain cells in a DataViewGrid, as a visual aid for the user. But the cursor is not something found in the Cursors Class. I have a .ICO file. What is the most efficient way of doing this? Is a way to build the cursor resource right into the executable, so that it travels with the EXE? That seems to be the way other programs do it. For example, I have a resource viewer that...
0
809
by: =?Utf-8?B?TWFyY28gQ2FzdHJv?= | last post by:
Hi, I'm experimenting this trouble in a WPF development (2008 3.5). There is an executable file and an assembly. The assembly files carries some resources files. The executable loads the assembly but the resources are not loaded. What am I missing? Which code do I need to carry the reports? I wish to keep them in the assembly. Thanks, Marco Castro
0
9684
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10459
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10017
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.