Click here to Skip to main content
16,005,080 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: newbie needs help with creating database application Pin
Mycroft Holmes17-Sep-13 13:09
professionalMycroft Holmes17-Sep-13 13:09 
GeneralRe: newbie needs help with creating database application Pin
GuyThiebaut18-Sep-13 2:49
professionalGuyThiebaut18-Sep-13 2:49 
Questionexecuting linux commands remotely using ssh and storing command output locally using vb script Pin
superselector15-Sep-13 22:53
superselector15-Sep-13 22:53 
AnswerRe: executing linux commands remotely using ssh and storing command output locally using vb script Pin
Eddy Vluggen16-Sep-13 7:08
professionalEddy Vluggen16-Sep-13 7:08 
GeneralRe: executing linux commands remotely using ssh and storing command output locally using vb script Pin
superselector18-Sep-13 22:39
superselector18-Sep-13 22:39 
GeneralRe: executing linux commands remotely using ssh and storing command output locally using vb script Pin
superselector19-Sep-13 21:39
superselector19-Sep-13 21:39 
QuestionRetrieving Custom Attributes on Enumeration Members Pin
Dominick Marciano13-Sep-13 18:01
professionalDominick Marciano13-Sep-13 18:01 
AnswerRe: Retrieving Custom Attributes on Enumeration Members Pin
Eddy Vluggen15-Sep-13 2:18
professionalEddy Vluggen15-Sep-13 2:18 
I've taken your class and put it in a console-application; below is the code that fetches the member, and then the attributes of said member.
VB
Sub Main()
        Dim someCondition As ConditionType = ConditionType.Fair
        Dim mi As MemberInfo = GetType(ConditionType).GetMember(someCondition.ToString()).FirstOrDefault()
        Dim attribute As OutputDescriptionAttribute = mi.GetCustomAttributes(GetType(OutputDescriptionAttribute)).FirstOrDefault()
        Console.WriteLine(attribute.NewDescription)
        Console.ReadLine()
    End Sub
You might want to put this into a nice little helper-method. Generics and method extensions would help in keeping above code readable.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

QuestionVideo overlay and Full Screen Vb 6 Pin
Member 1027147112-Sep-13 23:14
Member 1027147112-Sep-13 23:14 
AnswerRe: Video overlay and Full Screen Vb 6 Pin
Eddy Vluggen15-Sep-13 2:27
professionalEddy Vluggen15-Sep-13 2:27 
QuestionTextbox keeps losing focus Pin
CJotaO12-Sep-13 3:32
CJotaO12-Sep-13 3:32 
AnswerRe: Textbox keeps losing focus Pin
Dave Kreskowiak12-Sep-13 4:11
mveDave Kreskowiak12-Sep-13 4:11 
AnswerRe: Textbox keeps losing focus Pin
TnTinMn12-Sep-13 4:34
TnTinMn12-Sep-13 4:34 
GeneralRe: Textbox keeps losing focus Pin
CJotaO12-Sep-13 8:19
CJotaO12-Sep-13 8:19 
GeneralRe: Textbox keeps losing focus Pin
TnTinMn12-Sep-13 17:14
TnTinMn12-Sep-13 17:14 
GeneralRe: Textbox keeps losing focus Pin
CJotaO12-Sep-13 21:37
CJotaO12-Sep-13 21:37 
QuestionRetreive Data from sql server along with headers or column name Pin
ashu200112-Sep-13 1:24
ashu200112-Sep-13 1:24 
AnswerRe: Retreive Data from sql server along with headers or column name Pin
Dave Kreskowiak12-Sep-13 4:03
mveDave Kreskowiak12-Sep-13 4:03 
QuestionUsing Func(Of TResult) Delegate Pin
Dominick Marciano6-Sep-13 19:14
professionalDominick Marciano6-Sep-13 19:14 
AnswerRe: Using Func(Of TResult) Delegate Pin
TnTinMn7-Sep-13 3:39
TnTinMn7-Sep-13 3:39 
GeneralRe: Using Func(Of TResult) Delegate Pin
Dominick Marciano8-Sep-13 3:28
professionalDominick Marciano8-Sep-13 3:28 
GeneralRe: Using Func(Of TResult) Delegate Pin
TnTinMn9-Sep-13 15:57
TnTinMn9-Sep-13 15:57 
QuestionDisable/enable ctrl+alt+del buttons and autorun. Pin
Otekpo Emmanuel5-Sep-13 14:13
Otekpo Emmanuel5-Sep-13 14:13 
AnswerRe: Disable/enable ctrl+alt+del buttons and autorun. Pin
Dave Kreskowiak5-Sep-13 18:25
mveDave Kreskowiak5-Sep-13 18:25 
GeneralHello Pin
Otekpo Emmanuel6-Sep-13 7:38
Otekpo Emmanuel6-Sep-13 7:38 

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.