Click here to Skip to main content
15,898,373 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: please give code for generate report Pin
CKnig17-Dec-07 20:33
CKnig17-Dec-07 20:33 
GeneralCompile Error (Visual Basic 6) Someone help!!! Pin
anthoy17-Dec-07 18:06
anthoy17-Dec-07 18:06 
GeneralRe: Compile Error (Visual Basic 6) Someone help!!! Pin
Vimalsoft(Pty) Ltd17-Dec-07 20:28
professionalVimalsoft(Pty) Ltd17-Dec-07 20:28 
GeneralRe: Compile Error (Visual Basic 6) Someone help!!! Pin
anthoy17-Dec-07 20:47
anthoy17-Dec-07 20:47 
GeneralRe: Compile Error (Visual Basic 6) Someone help!!! Pin
CPallini18-Dec-07 0:11
mveCPallini18-Dec-07 0:11 
Questionhow to display database data in datagridview Pin
dspandian17-Dec-07 17:39
dspandian17-Dec-07 17:39 
AnswerRe: how to display database data in datagridview Pin
Vimalsoft(Pty) Ltd17-Dec-07 20:38
professionalVimalsoft(Pty) Ltd17-Dec-07 20:38 
QuestionHow can i add system colors with corresponding colorname in combo box using Vb.net Pin
Deepthy.P.M17-Dec-07 17:28
Deepthy.P.M17-Dec-07 17:28 
I am using vb.net.I want to add system colors with color name in combo box.I can add system color name in combo box .The code is given below
****************
Private Sub btGet_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btGet.Click
Dim color As Color
Dim i As Integer
For Each color In System.ComponentModel.TypeDescriptor.GetConverter(GetType(Color)).GetStandardValues()
i += 1
ComboBox1.Items.Add(color.ToKnownColor)
Next
Label1.Text = "Total Color Count: " & i

ComboBox1.SelectedIndex = 0

Me.BackColor = color.FromKnownColor(ComboBox1.SelectedItem)

End Sub

Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Try
Me.BackColor = Color.FromKnownColor(ComboBox1.SelectedItem)
Catch ex As Exception
Application.Exit()
End Try
End Sub
****************

I want to add color also.How can i do this .If anyone know the code pls help me. Frown | :(
QuestionHow to Add Text in textbox into datagrid? Pin
Eunice (VB junior)17-Dec-07 16:48
Eunice (VB junior)17-Dec-07 16:48 
AnswerRe: How to Add Text in textbox into datagrid? Pin
Vimalsoft(Pty) Ltd17-Dec-07 20:14
professionalVimalsoft(Pty) Ltd17-Dec-07 20:14 
GeneralRe: How to Add Text in textbox into datagrid? Pin
Eunice (VB junior)17-Dec-07 21:03
Eunice (VB junior)17-Dec-07 21:03 
GeneralUBS or Parallel Port Pin
meki_211817-Dec-07 14:38
meki_211817-Dec-07 14:38 
GeneralRe: UBS or Parallel Port Pin
Christian Graus17-Dec-07 15:16
protectorChristian Graus17-Dec-07 15:16 
GeneralRe: UBS or Parallel Port Pin
meki_211817-Dec-07 15:51
meki_211817-Dec-07 15:51 
GeneralRe: USB or Parallel Port Pin
Luc Pattyn17-Dec-07 15:42
sitebuilderLuc Pattyn17-Dec-07 15:42 
GeneralRe: USB or Parallel Port Pin
meki_211817-Dec-07 15:58
meki_211817-Dec-07 15:58 
GeneralRe: USB or Parallel Port Pin
CKnig17-Dec-07 22:53
CKnig17-Dec-07 22:53 
GeneralRe: USB or Parallel Port Pin
Luc Pattyn17-Dec-07 23:55
sitebuilderLuc Pattyn17-Dec-07 23:55 
GeneralRe: USB or Parallel Port Pin
meki_211825-Dec-07 5:55
meki_211825-Dec-07 5:55 
GeneralRe: USB or Parallel Port Pin
Luc Pattyn26-Dec-07 8:28
sitebuilderLuc Pattyn26-Dec-07 8:28 
GeneralRe: USB or Parallel Port Pin
meki_211827-Dec-07 19:22
meki_211827-Dec-07 19:22 
GeneralRe: USB or Parallel Port Pin
Luc Pattyn28-Dec-07 2:39
sitebuilderLuc Pattyn28-Dec-07 2:39 
GeneralRe: USB or Parallel Port Pin
meki_211828-Dec-07 7:05
meki_211828-Dec-07 7:05 
GeneralRe: USB or Parallel Port Pin
Luc Pattyn28-Dec-07 7:31
sitebuilderLuc Pattyn28-Dec-07 7:31 
GeneralRe: USB or Parallel Port Pin
meki_21183-Jan-08 17:18
meki_21183-Jan-08 17:18 

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.