Results 1 to 8 of 8

Thread: Problem with VB6

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    382

    Problem with VB6

    yesterday i have made a project Autologin in Forum........

    i m using

    Operating system :- XP sp2
    Internet Explorer :- IE 6.0
    and visual basic 6.0

    i had made a .exe file of project and send to my friend

    and when my friend run exe file it is not working but when i m tried in my pc it is working well.......

    my friend cpu configration

    Operating System :- Vista
    Internet Explorer :- IE 7

    ==========

    How to make Vb 6.0 Compatible to all Version of operating systems.......

    == ?

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

    Re: Problem with VB6

    I moved your thread to here where we talk about problems associated with distributing applications.

    In order for your friend to use your program you will most likely need to create an installation package.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    382

    Re: Problem with VB6

    ok

    Thanks for moving Thread

    Installation package what is that ?

    how to use....any idea......

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Problem with VB6

    A fairly comprehensive overview can be read at Best practices for deploying Visual Basic 6.0 applications. You won't go through all of those steps or require all of the tools described for simple hobby applications, but it gives an idea of what the process is all about.

    VB6 ships with a Package and Deployment Wizard which is probably fine for most simple applications. Because the PDW is frozen in time (1998) it has not had improvements as issues have come up and Windows has changed, so sometimes you have to apply some wisdom that only comes with experience (and reading several MS KB articles produced over the years). But for simple things it works ok.

    The VB6 documentation covers basic use of the PDW.


    The issue is that most VB6 programs can't be deployed just by compiling the EXE and copying it to another system. They might need external DLLs and OCXs that are not included in Windows. Old versions of Windows might lack recent enough versions of the VB6 runtime components that fixed many bugs over the years. The programs might need a folder structure built to hold the EXE, data files, etc. They might need INI files and registry keys set up, or data files put in place. Start Menu shortcuts might be needed.

    The list can go on and on.

    A deployment package bundles these requirements together. The package is taken to new computers and processed by installation software. This software might be the Windows Installer service if you package as an MSI file, or it might involve a setup EXE that makes API calls to the older installation API. Some packagers like the PDW produce a setup bootstrap (setup.exe), an install script (setup.lst), and one or more source archives (proj.cab) that hold the information to be deployed.

  5. #5
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Problem with VB6

    Quote Originally Posted by CatchItBaby
    and when my friend run exe file it is not working but when i m tried in my pc it is working well.......
    You would expect your program to work correctly on your computer since you would have all the files associated with the working of it! Make sure you include all the files needed in the setup package (.dll, .ocx, other setups, etc) so other people are able to run the program on their computer without problems.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    382

    Re: Problem with VB6

    I have tried with Package and Deployment Wizard after creating package i m trying to install in my computer but it givving me error that

    File not found ..."c:\windows\system32\mshtml.tlp"

    What to do.........

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    382

    Re: Problem with VB6

    and i m tried this software too......

    http://www.advancedinstaller.com/use...fessional.html


    it install the application but when i m seen the c:\programefile\mysoftwarename

    it show the whole project in that folder.......

    and i don't want to show the souce code...........

    Plzz help me as soon as possible..........

    thanks

  8. #8
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Problem with VB6

    You can download "mshtml.tlp" and add it to your project's setup! With the the software you posted about in post #7 make a duplicate of the whole project folder then delete the source code from the duplicate folder and place it in software you mention above.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

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