Solved

Default Names Generated by VB - Can they be Altered

Posted on 2002-03-28
2
147 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

830 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