I have a grid layout embbebed when compiled, in runtime after compile the
program, I need to change something, I can extract the file to get the
properties, but can I edit and replace the file at runtime and update the
resource in the compiled file?

thanks aM

Re: is possible to edit/replace an embbebed resource file after compile a file? by 100

100
Tue Nov 11 08:42:52 CST 2003

Hi andre,
Since all managed resources are kept in the *.text* section of PE/COFF file,
which is readonly you cannot change the file inside the image of the
assembly on the disk. So what you should do is to keep the grid layout in
separate file (not embeded), which file you can change whenever you want.

HTH
B\rgds
100

"andre" <andremoraes@hotmail.com> wrote in message
news:%23cInRw%23pDHA.1324@TK2MSFTNGP09.phx.gbl...
> I have a grid layout embbebed when compiled, in runtime after compile the
> program, I need to change something, I can extract the file to get the
> properties, but can I edit and replace the file at runtime and update the
> resource in the compiled file?
>
> thanks aM
>
>



Re: is possible to edit/replace an embbebed resource file after compile a file? by 100

100
Tue Nov 11 08:47:17 CST 2003

Hi JohnSun,
Unfortunately Windows Forms doesn't have the support of Doc/View
architecture that MFC has. You have to implemented by yourself or
use some 3th party framework if there is any.

B\rgds
100

"andre" <andremoraes@hotmail.com> wrote in message
news:%23cInRw%23pDHA.1324@TK2MSFTNGP09.phx.gbl...
> I have a grid layout embbebed when compiled, in runtime after compile the
> program, I need to change something, I can extract the file to get the
> properties, but can I edit and replace the file at runtime and update the
> resource in the compiled file?
>
> thanks aM
>
>



Re: is possible to edit/replace an embbebed resource file after compile a file? by 100

100
Tue Nov 11 09:46:45 CST 2003

Oops! Sorry ;-(

"100" <100@100.com> wrote in message
news:uUUnJHGqDHA.2188@TK2MSFTNGP11.phx.gbl...
> Hi JohnSun,
> Unfortunately Windows Forms doesn't have the support of Doc/View
> architecture that MFC has. You have to implemented by yourself or
> use some 3th party framework if there is any.
>
> B\rgds
> 100
>
> "andre" <andremoraes@hotmail.com> wrote in message
> news:%23cInRw%23pDHA.1324@TK2MSFTNGP09.phx.gbl...
> > I have a grid layout embbebed when compiled, in runtime after compile
the
> > program, I need to change something, I can extract the file to get the
> > properties, but can I edit and replace the file at runtime and update
the
> > resource in the compiled file?
> >
> > thanks aM
> >
> >
>
>