Results 1 to 4 of 4

Thread: Datagrid with adodc can't run on Windows 7

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2011
    Posts
    1

    Datagrid with adodc can't run on Windows 7

    Hi,

    i've the problem as in the title.

    I've an application in old VB6. I've to run on a new pc with Windows 7 Prof.

    All the program run correctly, but when i click to open form with datagrid connected to adodc, the program stops and give me error of permission ?

    Can you suggest me any solutions ? Don't say me to change vb6, please. I can't now.

    Eric.

  2. #2
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: Datagrid with adodc can't run on Windows 7

    One issue may be backward compatibility. Look at this link:

    http://support.microsoft.com/kb/2517589

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Datagrid with adodc can't run on Windows 7

    That's not a lot of detail to go by... no database, no code, no error message...
    I bet it's because the Access database (I'm guessing) is in the same folder as the app. Which means it's in the Program Files folder... which Win7 locks down. but that's just pure conjecture.
    For all I know the problem is the eels in your hover craft. Have you tried removing them? See if that helps.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Datagrid with adodc can't run on Windows 7

    The Win7 SP2 ADO compatability break is an important issue, but I think techgnome wins the porkchop this time around.

    I agree that the problem description is too vague though. The exact error message and number as well as the line the program fails on (if any, sometimes with bound controls the exception isn't raised directly in your logic) might help a lot.

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