Re: Insert an Icon Into a FRX
- From: Stefan Berglund <sorry.no.koolaid@xxxxxx>
- Date: Sun, 18 Jun 2006 16:55:38 -0700
On Sun, 18 Jun 2006 22:32:59 GMT, "Larry Rebich" <lrebich@xxxxxxxxxxxxx>
wrote:
in <vwklg.7555$o4.4919@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Stefan:
A least one icon needs to be part of an frx so that the exe will have
something other than the standard, dull VB icon when the exe is shown in
Explorer. The compile size is 9,000 kb.
We have over 1,000 customers and each of them wants to call our product
using their own name and icon. Currently we have to compile 1,000 different
versions of the application under a different exe name and with a different
icon.
Plan is to keep a customer database which will contain the 'exe' name and
'icon' name. I would have one 'CustomIcon.frm/frx' and would stuff the icon
into it and could automate the creation of the 'starter' exe, creating 1,000
'starters' in one batch compile.
One of the considerations is that a non-technical person is doing the
compiles and sometimes doesn't get the exe/icon combinations correct - so
customer A will get the correct exe but it will get customer B's icon or
vice versa.
Any suggestions will be appreciated.
Larry
Hi Larry-
I just did a little more digging and here's what I'd do if this were my
problem. Actually this looks like a fun problem, but I'm a database guy
and I love huge problems. :-)
Create a separate resource file for every customer containing the icon
and whatever other customer specific info you include. This will
hopefully require only a one time effort for each customer.
Study your project's .vbp file to determine which elements are of
interest.
Create a database table that contains all customer specific build info
such as exe name and whatever else you include in your custom built exe.
Write a really simple VB program to manage the build. It will read from
the database, make the necessary changes to the project .vbp file such
as ResFile32, Title, ExeName32, etc., and then run/shell/conduct the
build of each customer's exe.
This also has the advantage of eliminating the operator error inherent
with involvement of ~non-technical personnel~. :-) Although I think
I'd be more inclined to just completely automate the entire process
(think scalability) and completely remove any possible chance for
operator error.
It would be a simple exercise, for instance, to then add uploading the
newly crafted exe to your download site and sending a notification email
to the customer with the appropriate download info.
This last suggestion assumes of course that you run your own server
where you could house a thousand copies of a 9000 KB app, but I'll leave
that exercise to you and your staff.
---
Stefan Berglund
.
- References:
- Insert an Icon Into a FRX
- From: Larry Rebich
- Re: Insert an Icon Into a FRX
- From: Stefan Berglund
- Re: Insert an Icon Into a FRX
- From: Larry Rebich
- Insert an Icon Into a FRX
- Prev by Date: Re: GOTOs to the People - Discussion please!
- Next by Date: Re: Insert an Icon Into a FRX
- Previous by thread: Re: Insert an Icon Into a FRX
- Next by thread: Re: Insert an Icon Into a FRX
- Index(es):
Relevant Pages
|