Click here to Skip to main content
15,893,381 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Passing data between forms Pin
apferreira1-Jul-03 7:31
apferreira1-Jul-03 7:31 
GeneralRe: Passing data between forms Pin
Andrew Bromfield1-Jul-03 9:04
Andrew Bromfield1-Jul-03 9:04 
GeneralRe: Passing data between forms Pin
Andrew Bromfield2-Jul-03 4:48
Andrew Bromfield2-Jul-03 4:48 
GeneralRe: Passing data between forms Pin
apferreira3-Jul-03 3:55
apferreira3-Jul-03 3:55 
GeneralRe: Passing data between forms Pin
Andrew Bromfield3-Jul-03 4:10
Andrew Bromfield3-Jul-03 4:10 
GeneralEnums and Attributes Pin
rohancragg27-Jun-03 5:41
rohancragg27-Jun-03 5:41 
GeneralRe: Enums and Attributes Pin
dynamic27-Jun-03 6:55
dynamic27-Jun-03 6:55 
GeneralRe: Enums and Attributes Pin
Matt Casto27-Jun-03 7:11
Matt Casto27-Jun-03 7:11 
The following function should work for you ...

Imports System.ComponentModel<br />
Imports System.Reflection<br />
<br />
Private Function GetContentTypeValue(ByVal value As Colours) As String<br />
     Dim fi As FieldInfo = value.GetType.GetField(value.ToString)<br />
     Dim attributes As DescriptionAttribute() = CType(fi.GetCustomAttributes(GetType(DescriptionAttribute), False), DescriptionAttribute())<br />
     If attributes.Length > 0 Then<br />
          Return attributes(0).Value<br />
     Else<br />
          Return String.Empty<br />
     End If<br />
End Function

Generalvb script an open/close cd-rom Pin
ti-guru26-Jun-03 22:23
sussti-guru26-Jun-03 22:23 
GeneralRe: vb script an open/close cd-rom Pin
Anonymous27-Jun-03 9:31
Anonymous27-Jun-03 9:31 
GeneralVBA &amp; Excel &amp; HTML Pin
laurarana26-Jun-03 21:16
laurarana26-Jun-03 21:16 
Generalhelp with command line arguments Pin
DJ Unreal26-Jun-03 8:48
DJ Unreal26-Jun-03 8:48 
GeneralBest way to end a form Pin
yuniit26-Jun-03 8:29
yuniit26-Jun-03 8:29 
GeneralRe: Best way to end a form Pin
Dave Kreskowiak27-Jun-03 8:52
mveDave Kreskowiak27-Jun-03 8:52 
GeneralUndo, Cut, Copy, Paste Pin
JohnExalt25-Jun-03 20:27
JohnExalt25-Jun-03 20:27 
GeneralCutCopyMode = false Pin
akbcb25-Jun-03 10:45
akbcb25-Jun-03 10:45 
GeneralPulling the users login name into VB.net Pin
code_gopher25-Jun-03 4:30
code_gopher25-Jun-03 4:30 
GeneralRe: Pulling the users login name into VB.net Pin
dynamic25-Jun-03 7:26
dynamic25-Jun-03 7:26 
GeneralRe: Pulling the users login name into VB.net Pin
code_gopher25-Jun-03 7:51
code_gopher25-Jun-03 7:51 
GeneralMonthCalendar auto-firing Pin
User 814725-Jun-03 3:55
User 814725-Jun-03 3:55 
Generalglobal data Pin
Anonymous25-Jun-03 3:09
Anonymous25-Jun-03 3:09 
Generalactivex exe asynchronous Pin
r i s h a b h s25-Jun-03 1:47
r i s h a b h s25-Jun-03 1:47 
GeneralRe: activex exe asynchronous Pin
JohnExalt25-Jun-03 20:29
JohnExalt25-Jun-03 20:29 
Generalactivex exe asynchronous calling Pin
r i s h a b h s25-Jun-03 1:46
r i s h a b h s25-Jun-03 1:46 
Generalproblem with VB.NET and XML web services Pin
AirGuitarist24-Jun-03 18:41
AirGuitarist24-Jun-03 18:41 

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.