Results 1 to 3 of 3

Thread: AutoRun documentation? Regsvr32 documentation?

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    45
    I cannot find ANYTHING about AutoRun in my help files and yet I'm being asked questions about it on my practice tests.
    Please let me know if information about this feature is ANYWHERE to be found.

    Same problem with Regsvr32 switches.

    Also, concerning Regsvr32. One question I got about installing a .dll is what program would you use to install this on a computer. I said the setup.exe and the answer was Regsvr32. Why would you use this over the deployment offered by the packaging and deployment wiz?
    -Gregg
    -NoOBie At LaRg3

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    You use the RegSvr32 to register any COM component manually.
    It's true that the P&DW does this for you but I don't think that that was the question.

    To make your app run on start up you could either add a shortcut in the StartUp folder or edit this registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

    Best regards

  3. #3
    Member
    Join Date
    Aug 2000
    Location
    Chennai , India
    Posts
    44

    Post

    To know the Regsvr32 switches just run regsvr32.exe without any arguments and you'll get the list of switches.

    The packaging and deployment wiz is used to install entire programs.Eith Regsvr32 you can install induvidual ocx and dll files.

    About the AutoRun file:

    It is a .inf file (called AutoRun.inf) placed in the root directory of drives.It is automatically accessed and the information is carried out. Eg:

    Put this in afile called Autorun.inf and put it in the root of your Hard drive(eg. C or in the root dir of a CD.

    [autorun]
    open=autoexec.bat
    icon=myicon.ico
    shell\readme = &Read Autoautoexec.bat
    shell\readme\command ="notepad autoexec.bat"

    Now in my computer, the C: will have myicon.ico as it s icon insted of the default one.And when you open C: autoexec.bat will automatically run.And if you right-click on the C: icon you will find an option saving Read Autoexec.bat which on clicking will open notepad with autoexec.bat loaded.

    Note: all the files should be in the root dir otherwise you can specify it as:

    open=\windows\exit to dos.pif

    Hope this helped!

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