Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Am I in Access or VB??

Status
Not open for further replies.

elziko

Programmer
Nov 7, 2000
486
GB
I've made an ActiveX control which will be used in VB forms and in Access reports.

When used in VB there are commands that need to be processed but should not be processed if the control is used from Access.

How would I get the control to become aware of where it was seated so that it can make a decision on wether or not to run that portion of code?

Many thanks

elziko
 
Application.name

MichaelRed
redmsp@erols.com

There is never time to do it right but there is always time to do it over
 
Thanks, but I deiscovered a property that was devised for my problem! app.NonModalAllowed enabled me to stop loading/accessing froms that I couldnt do from access.

elziko
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top