Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 123»»»

compatibility problem Win7 Expand / Collapse
Author
Message
Posted Wednesday, May 23, 2012 12:28 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: 2 days ago @ 3:33 PM
Points: 60, Visits: 232
Hello,

I have problem to run ms access application (.adp) under Win7
with MS office 2007.(or access runtime 2007)
Database is placed on SQL2000 server.

When I want to open some form, the same error message appier.
(see attachment)

Thank you.




  Post Attachments 
accessrt.jpg (49 views, 54.09 KB)
Post #1304710
Posted Wednesday, May 23, 2012 6:19 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 7:50 AM
Points: 1,234, Visits: 1,273
Can you set a breakpoint in your OnLoad event and step through to see what line is causing problems?
Post #1304880
Posted Wednesday, May 23, 2012 11:33 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: 2 days ago @ 3:33 PM
Points: 60, Visits: 232
Yes I have set up breakpoint, but I could not get to this point , always the first was mentioned error message. I dont have this problem with WinXP, everything works fine. I was testing the setting with SQL server2000, If the connection is okay, I got successfull response.

When I create completely new form, and set event procedure, then everything works fine.But I have a lot forms where is set event procedure.I dont use macro.
Post #1305530
Posted Thursday, May 24, 2012 4:17 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Today @ 3:12 PM
Points: 170, Visits: 629
Exactly what do you have in the expression for the OnLoad event on the form? The error message you are getting indicates that it can't find anything in the VBA project that matches what you have in the property for the OnLoad event. This could be coming from a missing reference in your VBA project. Also, have you tested it with a later version of SQL Server? The OLE-DB driver for SQL Server in Win-7 is quite different from what you have in Win-XP.

Wendell
Colorful Colorado
You can't see the view if you don't climb the mountain!
Post #1305670
Posted Thursday, May 24, 2012 5:11 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: 2 days ago @ 3:33 PM
Points: 60, Visits: 232
It doesn' t matter what is in expression, because this error appier always, I want to open a form.

1. If I delete OnLoad event in origin form then the form is opened without error message.
2. If I add OnLoad event to origin form for example: Msgbox "hallo" ...I got error message.
3. If I create completely new form it works fine.

No I didnt tested it with later version of sql server. Do you think that problem is in version sql?

btw...SQL2000 db server is installed on system W2003 server.
Post #1305713
Posted Thursday, May 24, 2012 5:26 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, December 11, 2014 5:52 AM
Points: 130, Visits: 806
Which version of Windows 7 do you have? Have you tried to run a debug on your code? What kind of controls do you use on that form? Have you checked the REFERENCES in the VBA IDE?
Post #1305724
Posted Thursday, May 24, 2012 5:31 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Today @ 3:12 PM
Points: 170, Visits: 629
So what exactly do you want to happen with the OnLoad event on the form? Apparently it is working just fine on Win-XP, but not on Win-7. The OnLoad event must either contain the name of a macro, a VBA procedure, or an expression (which is rarely used ).

Wendell
Colorful Colorado
You can't see the view if you don't climb the mountain!
Post #1305728
Posted Thursday, May 24, 2012 5:35 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: 2 days ago @ 3:33 PM
Points: 60, Visits: 232
Which version of Windows 7 do you have? Windows7 enterprise service pack 1
Have you tried to run a debug on your code? yes
What kind of controls do you use on that form? e.g. open form, close form etc...general controls
Have you checked the REFERENCES in the VBA IDE? no ...what do you think ?
Post #1305729
Posted Thursday, May 24, 2012 5:40 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: 2 days ago @ 3:33 PM
Points: 60, Visits: 232
This is general problem, I have more access db(.adp) , and every show this error when I want open form....
Post #1305732
Posted Thursday, May 24, 2012 6:13 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 7:50 AM
Points: 1,234, Visits: 1,273
Are you switching/upgrading from an earlier version of MS Access? I have a vague memory that Access tightened down some security constraints (that could be undone in Settings) to warn if code was going to run.

Rob
Post #1305758
« Prev Topic | Next Topic »

Add to briefcase 123»»»

Permissions Expand / Collapse