Solved

Default Names Generated by VB - Can they be Altered

Posted on 2002-03-28
2
149 Views
Last Modified: 2010-05-02
Hi,
I would like to alter the default names given to objects in VB. E.G. txt1 as opposed to Text1. Is it possible and if so how? Thanks,
diek
0
Comment
Question by:diek_nf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 77 total points
ID: 6902962
No you cannot, these are generated from the actual classname of the object and not by the IDE itself. I guess if you really wanted to make life difficult you could write a wrapper object that encapsulated all the properties of the standard objects and had a different classname but this seems to me to be much more effort than it would be worth.
0
 

Author Comment

by:diek_nf
ID: 6902991
tim,
nice to see you're still coming to my assistance. I just came back from a long out of work break. Not the answer that I wanted but a great explanation. I thought there might have been something in the registry. COuld you take a look at http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=visualbasic&qid=20278901?  Thank you and have a great day programming,
Diek
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question