Automating VB IDE ?
- From: DanS <t.h.i.s.n.t.h.a.t@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Jul 2006 10:04:13 -0500
Greetings,
The current project I am working on is a field flashing utility for some
small embedded device CPU modules using a 'C' based language.
Each firmware image has a unique serial number within the C code. I plan to
write a small VB program that will edit one line in the C source file,
shell to this 'C' like compiler and do a command-line compile to a flash
binary image. It will then open the VB .frm and set the S/N number there,
save it, and do a command line VB6 compile into an flash upgrade exe.
The problem I am facing is that currently....the binary flash image is
stored in a resource file along with a few other supporting files required.
The flash image is the only part of the .res file that changes, due to the
fact that each firmware image contains a unique S/N.
Is there any re-course to somehow automate the editing of the res file ?
Would it be possible to open the RES file in binary mode and replace the
existing flash image with the updated one as long as it is the same size ?
Thanks in advance,
DanS
.
- Follow-Ups:
- Re: Automating VB IDE ?
- From: expvb
- Re: Automating VB IDE ?
- Prev by Date: Re: How to get the machine id / Hard disk id
- Next by Date: Re: Searching for files in VB
- Previous by thread: Searching for files in VB
- Next by thread: Re: Automating VB IDE ?
- Index(es):
Relevant Pages
|