-
Problem with a program writen by vb6
I have an old program which was written by VB6 ... and it's work on windows NT workstation ... now i got a copy from the program and put it on a pc that has windows XP sp2 ... when i try to open the prog. it's gave me that some file.dll dosent registered ...
so i went to cmd and try to register it ... but it doesnt work and gave me the following error :
The filename.dll was loaded but cannot be registered because the DllRegisterServer point no exict ... i log off from win and enter again as administartor for the pc but still have the same problem ... this program it's soo important .... i hope that anyone could help me ...
Regards
-
Re: Problem with a program writen by vb6
You need to have a Setup for your application so you can install it on different computers. VB6 apps are not stand alone - they require runtime support files.
-
Re: Problem with a program writen by vb6
-
Re: Problem with a program writen by vb6
Look in the FAQ's in the Application Deployment forum for more help.
-
Re: Problem with a program writen by vb6
Thanx for ur help ... but there is no setup file for the program ... i just need to register the dll .... Is there any way to do that ?
-
Re: Problem with a program writen by vb6
Impossible!!! But you can believe that if you want...
-
Re: Problem with a program writen by vb6
Tell us which DLL are you talking about? And if this program is important then yous hould be having a setup somewhere.
-
Re: Problem with a program writen by vb6
Quote:
Originally Posted by alqous
Thanx for ur help ... but there is no setup file for the program ... i just need to register the dll .... Is there any way to do that ?
Do you mean you don't have a setup or do you mean you don't think it needs one?
-
Re: Problem with a program writen by vb6
The story is the program installed on an old machine and old OS also teh program that i talked about it it's old and i dont have the setup file for at .. i wanna to take it or recover it to a new cd ... now the about the dll that i need to registred for example : vb40032.dll
-
Re: Problem with a program writen by vb6
If it is a VB program you need more that that and that is that!!!
-
Re: Problem with a program writen by vb6
That means there is no way to do that ?
-
Re: Problem with a program writen by vb6
Only with a lot of research, trial and error.
-
Re: Problem with a program writen by vb6
Yep.. it's certainly not an easy or reliable task - especially as it is a VB4 program (vb40032.dll is for VB4 32-bit).
Depending on how complex the program is, the best option is probably to re-write it - especially as only VB6 or later will work on Windows Vista (and presumably only VB.Net will work on the next version of Windows).
-
Re: Problem with a program writen by vb6
ok .. what about if i make a mirror for the whole harddisk .. so i can recover all thing including the OS on another harddisk .. i think it will work .. so what's your opinon
-
Re: Problem with a program writen by vb6
If you mean to just get the problem files, I don't see the point.. you may as well get them directly from the other computer.
If you mean to copy the files so that you can run Windows from it (so that the program works), then that's a recipe for disaster I'm afraid.. while you will get the files, you will not have the correct drivers installed, so you are likely to get system errors (and hence, blue-screen crashes).
-
Re: Problem with a program writen by vb6
you said i'll have a sys error .. when i made the mirror for all thing including the OS whis is Win NT ... i think when i wanna to recover it on the other HDD i just need to install the drive for all card that i have it on the new pc ... or it's will not work ??
-
Re: Problem with a program writen by vb6
Quote:
Originally Posted by alqous
i think when i wanna to recover it on the other HDD i just need to install the drive for all card that i have it on the new pc ... or it's will not work ??
It could....it could not. Try it and see.
-
Re: Problem with a program writen by vb6
Do you know what is best way to do mirror ?
-
Re: Problem with a program writen by vb6
You can use Partition Magic. But I really don't see the point.
-
Re: Problem with a program writen by vb6
you wanna to see the point .. ok .. as i know if i make a mirror for all the HDD then i can use this mirror on the other HHD so i can run all the program on it ... cuz the mirror is kind of back up ... am i wrong?
-
Re: Problem with a program writen by vb6
If you are running XP... a mirror of NT 4.0 isn't going to help one bit...
-
Re: Problem with a program writen by vb6
why i need an xp ... when i make a mirror somebody told me that i can run the mirror from the boot so i can let the nt work
-
Re: Problem with a program writen by vb6
Ok, then that you can do. You can create a dual boot system, but that seems extreme just for one program...
Why not just run Depends on the exe and see what dependencies it has. That will at least get you started in the direction to create an installation package for this app.
It's not all that hard if it is a simple app that doesn't install registry entries upon installation for it to run.
-
Re: Problem with a program writen by vb6
no it's not a simple prog. it's a large one .. it's a french pro. for concrete
-
Re: Problem with a program writen by vb6
Ok, then that is your option.
-
Re: Problem with a program writen by vb6
am afriad to lose my The HDD and Motherboard if i do it ...
-
Re: Problem with a program writen by vb6
It will work as long as you are on the same machine as it started out on. If you are using a different machine the hardware that NT is expecting will not be present and you will need to make some modifications.