Results 1 to 27 of 27

Thread: Problem with a program writen by vb6

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    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

  2. #2

  3. #3

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with a program writen by vb6

    Look in the FAQ's in the Application Deployment forum for more help.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    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 ?

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with a program writen by vb6

    Impossible!!! But you can believe that if you want...

  7. #7
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    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.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  8. #8
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    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?

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    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

  10. #10
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with a program writen by vb6

    If it is a VB program you need more that that and that is that!!!

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    Re: Problem with a program writen by vb6

    That means there is no way to do that ?

  12. #12
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with a program writen by vb6

    Only with a lot of research, trial and error.

  13. #13
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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).

  14. #14

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    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

  15. #15
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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).

  16. #16

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    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 ??

  17. #17
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  18. #18

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    Re: Problem with a program writen by vb6

    Do you know what is best way to do mirror ?

  19. #19
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with a program writen by vb6

    You can use Partition Magic. But I really don't see the point.

  20. #20

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    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?
    Last edited by alqous; Feb 6th, 2007 at 06:09 PM.

  21. #21
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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...

  22. #22

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    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

  23. #23
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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.

  24. #24

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    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

  25. #25
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problem with a program writen by vb6

    Ok, then that is your option.

  26. #26

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    130

    Re: Problem with a program writen by vb6

    am afriad to lose my The HDD and Motherboard if i do it ...

  27. #27
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width