Click here to Skip to main content
16,020,519 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionString obfuscation and function names Pin
Atara22-Aug-10 23:21
Atara22-Aug-10 23:21 
AnswerRe: String obfuscation and function names Pin
Eduard Keilholz22-Aug-10 23:39
Eduard Keilholz22-Aug-10 23:39 
GeneralRe: String obfuscation and function names Pin
Atara22-Aug-10 23:43
Atara22-Aug-10 23:43 
GeneralRe: String obfuscation and function names Pin
Dave Kreskowiak23-Aug-10 3:35
mveDave Kreskowiak23-Aug-10 3:35 
GeneralRe: String obfuscation and function names Pin
Atara23-Aug-10 3:40
Atara23-Aug-10 3:40 
AnswerRe: String obfuscation and function names Pin
Former employee23-Aug-10 23:17
Former employee23-Aug-10 23:17 
GeneralRe: String obfuscation and function names Pin
Atara23-Aug-10 23:42
Atara23-Aug-10 23:42 
GeneralRe: String obfuscation and function names Pin
Mike Marynowski24-Aug-10 19:55
professionalMike Marynowski24-Aug-10 19:55 
There actually is a way if you are using .NET 3.5 or higher, using expression trees. You would create a helper method called GetPropertyName(Expression propEx), and call it like:

this.myCtrlCmbFontName.DisplayMember = GetPropertyName(() => this.mcpGetName);

(sorry, C# syntax, I'm not too familiar with VB, but I think you get the idea).

The GetPropertyName method would traverse the expression tree and find the appropriate property name being accessed by the provided expression. You will have to do some Googling from here to figure out the rest, but if you have any specific questions once you get going, feel free to ask.
GeneralRe: String obfuscation and function names Pin
Atara24-Aug-10 20:01
Atara24-Aug-10 20:01 
GeneralRe: String obfuscation and function names Pin
Mike Marynowski24-Aug-10 20:05
professionalMike Marynowski24-Aug-10 20:05 
AnswerRe: String obfuscation and function names Pin
LogicNP21-Sep-11 1:12
LogicNP21-Sep-11 1:12 
QuestionNullReferenceException on Me.Invoke Pin
Dominick Marciano22-Aug-10 14:09
professionalDominick Marciano22-Aug-10 14:09 
AnswerRe: NullReferenceException on Me.Invoke Pin
Dominick Marciano22-Aug-10 15:19
professionalDominick Marciano22-Aug-10 15:19 
QuestionConversion of BIFF7 to BIFF8 files Pin
Dominick Marciano22-Aug-10 10:58
professionalDominick Marciano22-Aug-10 10:58 
AnswerRe: Conversion of BIFF7 to BIFF8 files Pin
Luc Pattyn22-Aug-10 11:23
sitebuilderLuc Pattyn22-Aug-10 11:23 
GeneralRe: Conversion of BIFF7 to BIFF8 files Pin
Dominick Marciano22-Aug-10 12:31
professionalDominick Marciano22-Aug-10 12:31 
QuestionRe: Conversion of BIFF7 to BIFF8 files Pin
timslhsu14-Jan-11 20:43
timslhsu14-Jan-11 20:43 
QuestionHow do I get a custom context menu to show up??? Pin
thebiostyle22-Aug-10 9:26
thebiostyle22-Aug-10 9:26 
AnswerRe: How do I get a custom context menu to show up??? Pin
Luc Pattyn22-Aug-10 11:31
sitebuilderLuc Pattyn22-Aug-10 11:31 
AnswerRe: How do I get a custom context menu to show up??? Pin
Tom Foswick24-Aug-10 22:25
Tom Foswick24-Aug-10 22:25 
GeneralRe: How do I get a custom context menu to show up??? Pin
thebiostyle25-Aug-10 9:41
thebiostyle25-Aug-10 9:41 
GeneralRe: How do I get a custom context menu to show up??? [modified] Pin
Tom Foswick25-Aug-10 9:56
Tom Foswick25-Aug-10 9:56 
GeneralRe: How do I get a custom context menu to show up??? Pin
thebiostyle28-Aug-10 13:33
thebiostyle28-Aug-10 13:33 
GeneralRe: How do I get a custom context menu to show up??? Pin
Tom Foswick30-Aug-10 5:51
Tom Foswick30-Aug-10 5:51 
GeneralRe: How do I get a custom context menu to show up??? Pin
thebiostyle30-Aug-10 13:36
thebiostyle30-Aug-10 13:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.