home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,750 of 10,840   
   Dee Earley to Raoul Watson   
   Re: Vista issues   
   11 May 09 09:39:45   
   
   From: dee.earley@icode.co.uk   
      
   Raoul Watson wrote:   
   > The more I deal with VISTA the more compatibility issues with VB apps   
   > become apparent.   
   >   
   > Recently, one of my app was giving strange results.   
   >   
   > The main app writes registry values (HKLM) and it has an installer   
   > (InstallShield Express)   
   >   
   > The main app calls an external EXE program.   
   >   
   > Here are the issues.   
   >   
   > The main app (installed properly with InstallShield and shows up in the   
   > Add remove program), does not write into HKLM. All writes into HKLM   
   > instead is rerouted by Vista to the Virtual Store registry!!! (Go figure)   
      
   That's normal, Only (elevated) admins have write access to HKLM.   
   This has been the case for at least 10 years now   
      
   > While the external app being called, does write properly to the HKLM.   
      
   Then it is running elevated.   
   It will have asked for permission to elevate before running.   
      
   > Obviously, the two program will give different results.   
   >   
   > In addition, running any external EXE would give the Vista warning   
   > screen "An application from an unknown publisher tries to run.. blah   
   > blah" and to either Allow or Cancel.   
   >   
   > What an overly protective operating system!   
      
   Yes, users insist on running as full admins then complain when soem   
   malware they run exploits the full system access so MS added this for   
   their protection.   
   Further to this, developers ignored the rules about user/machine   
   specific locations so UAC forces the issue.   
      
   If you insist on writing to HKLM, you need to add the vista elevation   
   manifest so your app prompts to elevate on startup.   
   This will also be inherited by the external app.   
      
   Oh, and none of this is VB specific.   
      
   --   
   Dee Earley (dee.earley@icode.co.uk)   
   i-Catcher Development Team   
      
   iCode Systems   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca