Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 9th, 2008, 12:03 PM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to lescox
Default Writing a VB/Access app for Vista as Standard User

:(
I am looking for reference material related to an overview of what has to be done to an existing VB6 / MS Access app to allow it to run on a Windows Vista machine with UAC on and a standard user logged in.

The application uses ADO / MDAC 2.8.

It looks like the registry lookups that ADO needs to do are one of the causes for the program to be elevated to Admin mode by the UAC.

Is there a book available? Does anyone have experience with this?

I am dreading hearing that I have to rewrite it in VB.Net.

Please help!!



Les Cox
LRX Systems, Inc.
 
Old March 9th, 2008, 05:05 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Well.. I can tell you about our experience.. we have several system in vb 6/5 connection to access databases, and the only way to make them work in vista was giving the program admin permision to run.. not the user, but the programs...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old March 9th, 2008, 05:39 PM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to lescox
Default

Unfortunately, I need the program to run under Standard User. The program interfaces with QuickBooks through the QuickBooks API and the only way the interface works is if both QuickBooks and my program are running as Standard User.
If I turn off the UAC, the interface works fine because my program doesn't get elevated to administrator.

Does anyone else have any info on what the requirements are for a VB6 / Access program to run under standard user? I am starting to think that ADO OLEDB is the problem.



Les Cox
LRX Systems, Inc.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert a VB.Net app to a web app? furjaw VB.NET 3 September 24th, 2007 12:27 PM
VISTA NetSend Replacement in VB? Ron Howerton VB How-To 1 April 13th, 2007 01:46 AM
Trouble writing small app... ???API usage??? kaanuki Visual C++ 0 March 13th, 2006 07:53 AM
VB.Net + Web App. + Access Database SeemaChivate ADO.NET 6 July 7th, 2005 04:06 AM
Modifying User Access Permissions to Folders (VB) gakhar Pro VB 6 0 April 14th, 2004 01:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.