Results 1 to 3 of 3

Thread: Help!!! File Type Installation in VB

  1. #1
    Guest

    Cool

    I created a VB6 program that could open a file with a custom file extension (******.msw). Windows recognizes the msw only when I manually set it up in the file options--file types. This would be hassled for me to do if I am distributing the program to many users. How can I make this setup automated when the users install the program? Is there a way to do in VB code or need to configure in the Package and Deployment Wizard??? Thanks!

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    There are registry changes that can be made to do this, unfortunately the P&D wizard doesn't give this option.

    You can either
    1) add this feature to the P&D wizard as the vb project comes with vb6 and lets you modify and recompile it (MSDN has the details)

    2) Use a different program!

    I use Inno, it's free, it has more options for registry, icons, uninstall etc. The compression's better and it compiles to single executable. (also looks better to the user) You have to write a script for it to work but there are examples and once you have a template it's easy.

    I sometimes use the P&D wizard just to see what files are needed and need registering, then use INNO to distribute.

    You can get it here http://www.jordanr.dhs.org/
    Paul Dwyer
    Network Engineer
    Aussie In Tokyo

    Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    My application automatically ask you for associations when you start it the first time. It opens the options window showing the current associations. You can check any registry value for the validation for the association. The advantage is that you can change the associations from your program whenever you want.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

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