|
-
Jun 15th, 2002, 09:05 AM
#1
Thread Starter
PowerPoster
Updates?
How do I make updates for my program. Say for an example - My SimpleUtility has say 5 forms and 1 module. I distribute this utility.
Now I make some changes in say form2 thats it. I want to distribute this "new" (or updated) thing to my previous customers. What I
do currently is make a new exe and send the entire thing to my customers. Which I think is not professional. I just want to send a
small updated file which would do the corresponding changes in the main file. (Like we have it for our messengers.)
I hope someone has done this and can guide me. I think this is very important thing for we developers to know. Kindly help me.
-
Jun 15th, 2002, 09:33 AM
#2
-
Jun 16th, 2002, 02:16 AM
#3
Thread Starter
PowerPoster
First of thanks for the reply.
But even the exe is of huge size whereas the form which I have changed is just 9 kb whereas the exe is 210 kb. Thats what id od not like the new update shd be lesser than the original exe.
-
Jun 16th, 2002, 02:38 AM
#4
Hyperactive Member
i dont think there is a way to change the exe, just because vb is such a screwy language, adding 1 form in vb is simple, but the compiler actually does a whole bunch more work that you dont need to do, like draw the form, add the properties, refernce that there is a new form, im not that expierence in vb, but im while to bet there isnt a way to do it because if you change 1 line of text, its gonna change the entire file, just because of the way the compiler well, "compiles" it
sorry bro, but unless anyone argues with me, thats probly that
-
Jun 16th, 2002, 03:03 AM
#5
PowerPoster
210kb isn't a bad size. Microsoft would love to give out Updates that small
-
Jun 16th, 2002, 12:27 PM
#6
Thread Starter
PowerPoster
Guys,
I just gave you an example for that thing.
What i meant was say the main installable file is of 4.5 Mb then the update file is just 300- 400 kb and not the size of the main exe which may be around 800kb . There might be some technique how it is to be done.
-
Jun 16th, 2002, 04:49 PM
#7
-
Jun 16th, 2002, 05:04 PM
#8
Member
The main reason why messangers (or any other commercial app) can be updated with a small file is because a bulk of their code is held in numerous DLLs. The main EXE is usually tiny and does very little (eg. MSM is only 700 or so bytes). Another reason could because of all the bloat that VB come with
If you really wanted to make your EXE really small then you would probably have to take this approach. I can't imagine it would be not be too difficult, just build build all you code in seperate DLLs and use LoadLibrary (or whatever you do in these situations).
When u build your forms, just load in the DLLs and pass all the events over to them.
Just an idea
I ain't the best coder,
I ain't the worst coder
Messanger Handle : FBz
-
Jun 16th, 2002, 06:17 PM
#9
-
Jun 17th, 2002, 04:33 AM
#10
Thread Starter
PowerPoster
Well if that is the case, I just hope you guys are not misleading me. pls. do not mind my saying this, its just that I am not completely satisfied.
But Thanks a lot for taking out to reply.
-
Jun 17th, 2002, 04:37 AM
#11
Need-a-life Member
-
Jun 17th, 2002, 07:05 AM
#12
Thread Starter
PowerPoster
C
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|