Results 1 to 3 of 3

Thread: [Resolved] Making a Launcher App (Win98 and up)

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2004
    Location
    Azores Islands, Portugal
    Posts
    4

    Exclamation [Resolved] Making a Launcher App (Win98 and up)

    Ok, I have my Setup application all set, and my app in itself all set. Now I want to create an Autorun launcher application where I pop up a little window with the buttons: Run, Install/Uninstall and Exit. You know, to give a more personal touch to the application in itself. Also, this app will be on a CD since this will be for resell.

    Now, I've already resolved the app detection issue where I check to see if the app is installed or not (this will dictate the status of the "Run" button). HOWEVER, I now have another issue. For me to run this launcher, I need to register the msvbvm60.dll on the machine (this being a bare-bones Win98SE machine). Now, seeing that this app will be distributed to clientes who barely know how to turn on a computer, let alone run regsvr32, I need to find a way to register msvbvm60.dll on the client's machine, then run the launcher.

    I've tried running a BAT file but, since I have lost most of my BAT writing abilities over the years, I don't seem to be able to close the annoying DOS window that pops up.

    What I'm looking for is a way to register the dll automatically then run the launcher, and if possible, not have that disgusting DOS window pop up.

    Does anyone here know how to do this?

    Thanks in advance.
    Last edited by luso2kx; May 15th, 2004 at 10:55 AM.
    viaoceanica.com - Clicas? Clicas? Ou Não Clicas?

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    If your program is going to be run from CD and you are suppling
    the run-time files needed, you should only need to have the run-
    time files in the app.path of the CD. When a dependancy file is
    needed and not registered, Windows looks in the app.path first.
    Then in the Winnt, System32, etc.

    To use a bat file write something like this...
    Code:
    regsvr32.exe filename/path
    exit
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2004
    Location
    Azores Islands, Portugal
    Posts
    4
    Ok, I did that, I even put the DLL in the same folder as the app, and wrote the BAT like this

    regsvr32.exe msvbvm60.dll
    Autorun.exe
    exit

    First it says "File Not Found" on the first line (even though msvbvm60.dll is in the same folder as Autorun.bat is) then the DOS window does not close automatically.

    So now what?
    viaoceanica.com - Clicas? Clicas? Ou Não Clicas?

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