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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dim App

Status
Not open for further replies.

pmcdaniel

Programmer
Feb 9, 2007
127
US
I just started editing an application and noticed someone dimming App as a variable. What kind of problems can this have since App. is a reserved word?
 


Hi,

What application are you coding in?

Is this causing problems?

I am not aware of any object, property of method called App.

Various constants all begin with an application specific notation like vbLf or msoAlertButtonYesNo.

Often, the application is referred to as an app, but I do not believe that this is a reserve word.


Skip,

[glasses] [red][/red]
[tongue]
 
App" is a VB global object which contains information about your application, such as the title or version or application path you have given it.

It shouldn't cause any probelms, as long as with in the scope the variable which it is used the VB App object is then used with the full identifier as in VB.App.Path.
 
It's actually used to dim an existing structure. Pretty ugly if you ask me but apparently it's not causing any problems. None that I've noticed anyway, but it appears I'll have to use it which I'm not comfortable with at all.

Thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top