Re: Visual Basic for Autorun?

From: Bob O`Bob (filterbob_at_yahoogroups.com)
Date: 06/02/04


Date: Wed, 02 Jun 2004 15:06:59 -0700

Matthew wrote:
>
> We have been offering an autorun application using VB4 for some time, but
> are now starting to get more complaints from Win2000 users who do not have
> admin rights. On these machines when the CD is inserted an "error accessing
> the registry" occurs, and the software quits. We're not sure whether this
> error is coming from Windows trying to register the DLL, or the DLL trying
> to register itself? Does anyone know of a possible workaround, or for any
> other way to use VB for autorun applications without the DLL trying to
> access the registry?

Yep. VB 3.0

I can supply source, and an exe file in case you don't have VB3.
   <http://obob.com/vb/autorun.zip>
(VBRUN300.zip is in the same directory if you need it)

Mind you, I'd be cautious about any exe downloaded from anyone, so I'd
recommend you use VB3 to compile your own, I just include an exe for
completeness.

I'm pretty sure it's also possible to do registry-less apps in 16-bit VB4,
and also I've been told -but never tested- that 32-bit VB4 can too IF you
put all the support files in the same directory with the app.

        Bob



Relevant Pages

  • Re: Visual Basic for Autorun?
    ... > autorun). ... The only dependence the EXE has is to vb40032.dll, ... > and does not try in any way to access the users registry or hard drive. ...
    (microsoft.public.vb.general.discussion)
  • Re: Visual Basic for Autorun?
    ... > autorun). ... The only dependence the EXE has is to vb40032.dll, ... > and does not try in any way to access the users registry or hard drive. ...
    (microsoft.public.vb.general.discussion)
  • Re: SEHException at app startup
    ... > Who entered this in the registry in the first place? ... > should never contain your exe. ... AppVerifier is not installed on this computer. ... >>> Droopy. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Mobile Service & Auto Start
    ... The RegRestoreFile API is only supported by the object store-based registry. ... have never needed to write an app like this and I just figured ... So I have an exe that I start 5 min after I push a button. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: What program is used to write events to the event log??????
    ... I believe that the event logging functionality is implemented as ... > issue....whenever there is an exe being started it normally writes this ... a few days ago I posted a question about wether these policies could ... > search function it can only be found in the registry at the three above ...
    (microsoft.public.windowsxp.security_admin)