Re: Starange behavior in XP limited account



Thanks Paul and Bill. Maybe it's because it instantiates an instance of Word and PowerPoint and they had only previously been run on another admin account. For further troubleshooting I'll have to create a new virgin install of XP and clone it. I should be doing this anyway.

-Woodie

"Paul Clement" <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx> wrote in message news:sbog14t9ilrnpl3i7vae895itn9bmp73ft@xxxxxxxxxx
On Tue, 29 Apr 2008 23:37:05 -0400, "Woodie M" <woodie7@xxxxxxxxxxx> wrote:

¤ I have a VB6 app that just did something strange when I tested it under a
¤ limited user account in XP SP2. Upon running for the first time under this
¤ newly created limited account, as my app's splash screen was showing, a
¤ small window (not generated by my app) popped up with "Microsoft Platform
¤ SDK (R2) (3790.2075)" and a progress bar. It took about 30 seconds for this
¤ progress bar to reach the end, then it came up with an error (brain-fart - I
¤ didn't write it down). I clicked cancel and my app continued and ran fine.
¤ The unusual behavior does not repeat under the same user account, not even
¤ when I create another new one. Any ideas? It seems like something is
¤ updating itself but I can't imagine what. My app runs fine on 'virgin'
¤ Windows 98, XP, and Vista systems. It checks for the presence of Word and
¤ PowerPoint by trying to instantiate Word and PowerPoint objects, and uses
¤ Software Passport/Armadillo for copy protection.

I think Bill is on the right track. Your application is probably using a component (or component
with dependent components) that was not installed for the limited user account, so the first time
you attempt to load it (via your app) the Windows Installer will kick in and install any required
dependencies. Errors can occur if the account does not have sufficient permissions to install the
dependency or if the required files are not available.

Would be somewhat difficult to pinpoint without knowing what your application dependencies are, but
if you're launching any Office apps during your application startup then this could be an issue.


Paul
~~~~
Microsoft MVP (Visual Basic)

.



Relevant Pages

  • Re: vb6 kill file in Vista
    ... ¤ Hi I have developed an app in vb6 which I am trying to port over to Vista. ... The files that I am trying to delete are all located in this install ...
    (microsoft.public.vb.general.discussion)
  • Re: Error accessing MS Access database with Linked Tables on files
    ... of using UNC path. ... How can I check that my app is running under the local anonymous account? ... that I have set (unchecking the "Allow IIS to control passwords" checkbox). ... ¤ I have a ASP.Net application that uses a MS Access database. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: VB6 program that runs directly from a CD or memory stick
    ... My VB app has a reference to ADO2.5. ... Database, but I am thinking that this will have no effect on my apps ability ... > ¤ I am interested in writing a VB6 app that will run directly from a USB ... memory stick drive without having to do any type of install. ...
    (microsoft.public.vb.general.discussion)
  • Re: ldap connection problem
    ... Thanks again Paul. ... also tried using a domain user account to run the web ... > ¤ I tried implementing the primary token thing but it is of no avail. ...
    (microsoft.public.dotnet.general)
  • Re: Using MAPIControls with VB6
    ... As I said my app that uses MAPI controls through Outlook Express works quite ... If there is no more cost effective way of specifing a given account in the ... ¤ Hi, ...
    (microsoft.public.vb.general.discussion)