Results 1 to 32 of 32

Thread: App made on 98, not running on Xp

  1. #1

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    App made on 98, not running on Xp

    hi all!!
    i recently made a small application in VB 6.0 n i m using Win 98.......it runs well on my computer but not on my friends' computer (all of them) who are using Xp.
    wot could be the cause??

    also last year i made mp3 encoder (my final year project) which runs absolutely well on my computer but on my friends computer it can work only without any options (extra options needed for encoding) plus when he click on the Encode command button, the app crashes.......but when he tried to set focus on this button n clicked entered, it worked!!!!! so can sombody tell me wot's the prob and wot's the solution to it??

    thnx

  2. #2
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: App made on 98, not running on Xp

    on xp on .exes there is a run under.. option that lets you run the program under old settings (Win98 for example) Try that at your friends house

  3. #3

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    yeah......i forgot 'bout it.........will try it n let u know soon....thnx!!

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    Read Installtion Problems

  5. #5

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    nice link randem!!
    but this is not really wot i asked.......i m not talking about install/setup .exe but the exe of my own project.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    Yes, and that is just what is discussed in the link. You just cannot copy your exe and expect it to work.
    Last edited by randem; Jul 20th, 2005 at 01:09 PM.

  7. #7

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    yeah i know that just by copying my exe on other machines, i can't expect them to work................but i faced the similar problem in the mp3 encoder even after i installed the libraries.

    but i think i should try the run time lib from your link........but i could not find older lib files for vb6............i m using vb without any SP......so can i download n use the one in your link (files after SP5)

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    I would suggest the Automatic OS Updater. Look in my signature for it.

  9. #9

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    hey randem!!

    can u plz tell me something about run-time libraries needed for successful running of vb application?

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    What are you using as an installer package?

  11. #11

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    indeed Inno setup but version 5..........i dont know if the new version is out or not!!

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    And did you use ********** to help create your script? These files would automatically be put into your script using this program. Look in my signature for that program also.

  13. #13

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    thats why i asked u if u can tell me something about run-time libraries..........probably i m getting errors coz i included some wrong files or may be no file at all.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    Well, without some background on what you are using and what you have done and what you want to do... No one can possibly give an intelligent response to help. Could you post your script.

  15. #15

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    i m just asking a vague idea about the lib needed..........or if u can show me an example coz i dont have the script right now n i think i can't post it before 2 weeks from now

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    Here are the files that are needed:

    Source: c:\server data\randem\develop\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: sharedfile
    Source: c:\server data\randem\develop\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: sharedfile
    Source: c:\server data\randem\develop\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: sharedfile
    Source: c:\server data\randem\develop\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: sharedfile
    Source: c:\server data\randem\develop\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: regtypelib
    Source: c:\server data\randem\develop\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: sharedfile

  17. #17

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    it seems that these files were not there if these are to be entered explicitely by the user..............is it true??
    Show Appreciation. Rate Posts.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    Files are Not where?

  19. #19

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    i mean not included in the script!!!! if these were to be included explicitly by the user during scripting then i think i didn't include them (coz i was using the inno for the first time) n so it could be the problem...........plz tell me if it's true so that i can go through the link provided by u in length n will download the updater n run-time libraries
    Show Appreciation. Rate Posts.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    Perhaps you are confused. If you would have used ********** to help create your script. The files would be in your script automatically. Since you just used Inno Setup, they are not. They are two seperate programs. Look at my signature.

    And how can you tell if you can't post the script for two weeks?

  21. #21

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    coz i never heard of ********** at that time.........n so the run-time files were not present when i compiled the script............n if the problem is present due to absence of these files then it makes sense that i will have to download ********** n the updater from the link u gave.

    thnx randem.........but i will try to post it soon to you....maybe by tuesday if i can really
    Show Appreciation. Rate Posts.

  22. #22

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    ok..if i add vb run-time lib (i never knew i had them before n its an exe file) along with my project to make an installer just using inno n not **********..........will that help??
    Show Appreciation. Rate Posts.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    Maybe maybe not. You may not have all the files you need for a correct setup. I don't see why you want to do it the hard way that is prone to mistakes and error but...

  24. #24

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    ok......i will install the way u suggest but again there is another problem which is neither related to exe nor with the installation..................i tried to compile my source code on my friends computer (using Xp) but the same problem persists!!!! now wot could be the reason?? nothing to do with the inno setup or **********, no transfer of exe, just compiling n running the same project on another m/c which uses Xp n i m working on 98!!
    Show Appreciation. Rate Posts.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    If you send me your project I can take a look.

  26. #26

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    hi there randem!! sorry for so late reply.......been outta town n asked my friend to mail me our project.........he seemed to have an older version of my project.....it worked fine on my computer but not on my friend's....as i told u before..........but lately my friend told me (n i have checked it) that it is not even running properly on 98.........i think n m quite sure coz of the OCX.

    plz look at my project.........but plz dont get frustrated as it is the older version of my group's project n the flow of forms is quite messy.

    the expert mode uses the OCX (i have included it for u) which is causing error and the novice mode is the one that i tried to write on my own with the help of VBF n my other friends.

    plz help me!!!!!
    Attached Files Attached Files
    Show Appreciation. Rate Posts.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    OK, I have created a setup and installed it on 98. Now what do I need to do to get the error you had been getting and to test it.

  28. #28

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    see i m not just talking abt the installation problem now.........if u try to read my last thread, u will see that i was unable to run the compiled code on Xp n now that i had to format my system for some reason, i freahly installed the ocx control on 98 n the same error persisted on my computer even though there was no error before...........

    the problem is:
    the project will run when u will press F5 and the froms will be loaded.......click on the expert mode command button n it will take you to another form where you can check as many options as you want, select bitrate n frequency etc, select input wav file n output mp3 file n when u click the "Encode Now" buton, the application will crash..

    it seems that there is some error in the ocx.........this problem existed only on XP before (thats wot i thought everytime) cox it always worked well on my computer (on 98) and since i have formatted my system n freshly installed the ocx the same error started occurring on my system...............

    if u think i should post the same problem in VB section or in OCX section, kindly tell me!!
    thnx
    Show Appreciation. Rate Posts.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    I did the test that you stated in Expert mode and the program did not crash. I am running it on XP in the VB IDE and everything is fine. I installed it on 98 and it works fine. You may not have your pc upto date and this may be the problem with your system. Check my signature for the AutoOSUpdater and use Windows Update to update your Computer.

  30. #30

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    its ok...........do you regularly use this auto updater??
    plus i never got any problem on my system i.e. 98 but yes it never worked on xp.

    is there any possibilty to include it within the setup or installation exe??

    plz reply........u r giving me a hope to rectify this problem!!
    Show Appreciation. Rate Posts.

  31. #31

    Thread Starter
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: App made on 98, not running on Xp

    sorry i didn't see the pm you posted me.........it worked fine this time..........i will mail it to my friend n ask him if its working properly

    BTW how did you do this?? can you explain it?? did you added the autoupdater in the installtion file?? plz reply
    Show Appreciation. Rate Posts.

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

    Re: App made on 98, not running on Xp

    Harsh Gupta,

    No, I did not add the AutoOSUpdater. I just used ********** to create the installation correctly, with the correct VB runtime files and other such files. It is amazing what can be done if you use the right tools. Never try digging a ditch with a spoon!

    Here is the Inno Setup Script and ********** Project files used.
    Attached Files Attached Files

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