|
-
Jan 29th, 2005, 08:09 AM
#1
Thread Starter
New Member
Urgent and very important information in vb6.0
hello,
i am working on vb6.0. first i added two integers in vb6.0. And i made setup file of that code and i tested the setupfile which is working fine. Now i made this setup in a remote system. Now i want to upgrade the code, so that it adds two decimal numbers, and this i have to send only the code package that was upgraded, not the setupfile. And the installed exe file has to be updated automatically so that it will be working fine for decimal numbers also.
Example: For windows when we update using service packs, there is no need for us to setup the whole windows, the package automatically fits into windows.
So how can i do the above upgrading of my code, i mean how should i design the code(package) so that it automatically upgrades from integers to decimal numbers. if possible plz send me some code related to it(for understanding);
So,hope you understood the query. Any doubts please mail me. Thanks in advance.
yours,
siva.
Last edited by siva.almighty; Jan 30th, 2005 at 02:48 AM.
Reason: To get optimal solution
-
Jan 29th, 2005, 08:16 AM
#2
Re: Urgent and very important information in vb6.0
yes you should be able just to update the exe file
but if any of the ocx controls or dlls on your machine have been updated since you did the setupfile that wa used, the user may get an error
rgds pete
-
Jan 29th, 2005, 03:06 PM
#3
Re: Urgent and very important information in vb6.0
rather than having a setup program to sync the files on the system with the files that are needed, you are assuming that the files that are needed are the files that are present on the system.
I have updated only the exe for my program, when I copied it from one machine to the other. I changed the name, and guess what? the shortcut changed, and it was no longer in the start menu.
Simple, yes, but fool-proof, no. If you are sure the system is correct, you don't need the installer, but if there is a chance that something might have changed, then consider it insurance.
-
Feb 1st, 2005, 02:24 PM
#4
Re: Urgent and very important information in vb6.0
 Originally Posted by dglienna
rather than having a setup program to sync the files on the system with the files that are needed, you are assuming that the files that are needed are the files that are present on the system.
I have updated only the exe for my program, when I copied it from one machine to the other. I changed the name, and guess what? the shortcut changed, and it was no longer in the start menu.
Simple, yes, but fool-proof, no. If you are sure the system is correct, you don't need the installer, but if there is a chance that something might have changed, then consider it insurance.
I disagree. ALWAYS use an installer. What if you app has 10 dlls, 3 exe's and 4 report files? Would you copy them all manually? Messing around at home, maybe, but in a company it's just wrong.
Anyways, I am assuming you are looking for code, like windows update, so you can update your application remotely, component by component, etc?
Just like Norton Anti Virus downloads updates too.
Anyways, take a peek at my LiveUpdate code. The link is in my sig.
This will do exactly as windows update does...well almost 
If you have any questions then give me a shout.
Woka
-
Feb 1st, 2005, 03:45 PM
#5
Re: Urgent and very important information in vb6.0
I don't think that I said not to do it.
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
|