Click here to Skip to main content
15,908,013 members
Home / Discussions / Visual Basic
   

Visual Basic

 
RantRe: How to get a movie resolution (film file) Pin
Milad.Biroonvand7-Nov-09 21:45
Milad.Biroonvand7-Nov-09 21:45 
AnswerRe: How to get a movie resolution (film file) Pin
Christian Graus7-Nov-09 22:31
protectorChristian Graus7-Nov-09 22:31 
GeneralRe: How to get a movie resolution (film file) Pin
Milad.Biroonvand7-Nov-09 22:42
Milad.Biroonvand7-Nov-09 22:42 
GeneralRe: How to get a movie resolution (film file) Pin
Christian Graus8-Nov-09 8:58
protectorChristian Graus8-Nov-09 8:58 
QuestionArray Elements to different LABELS Pin
PAguilar097-Nov-09 19:54
PAguilar097-Nov-09 19:54 
AnswerRe: Array Elements to different LABELS Pin
dan!sh 7-Nov-09 20:59
professional dan!sh 7-Nov-09 20:59 
AnswerRe: Array Elements to different LABELS Pin
Christian Graus7-Nov-09 22:32
protectorChristian Graus7-Nov-09 22:32 
QuestionColorDialog Help! Pin
thebiostyle7-Nov-09 15:43
thebiostyle7-Nov-09 15:43 
I need the code to: choose a color, and get the "Hex" code for it, the 6 figure code used in css. So basically A ColorDialog and when they choose the color it prints out the 6 digit HTML hex code name of the color, for use in the css of web pages.

Please help me with coding that, this is what I have so far:

If TextBox1.Text = "" Then
          Button1.Text = "Choose Color"
          TextBox1.Text = ColorDialog1.Color.ToArgb
          TextBox1.BackColor = ColorDialog1.Color
      ElseIf TextBox2.Text = "" Then
          Button1.Text = "Choose Another"
          TextBox2.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox2.BackColor = ColorDialog1.Color
      ElseIf TextBox3.Text = "" Then
          TextBox3.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox3.BackColor = ColorDialog1.Color
      ElseIf TextBox4.Text = "" Then
          TextBox4.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox4.BackColor = ColorDialog1.Color
      ElseIf TextBox5.Text = "" Then
          TextBox5.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox5.BackColor = ColorDialog1.Color
      ElseIf TextBox6.Text = "" Then
          TextBox6.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox6.BackColor = ColorDialog1.Color
      ElseIf TextBox7.Text = "" Then
          TextBox7.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox7.BackColor = ColorDialog1.Color
      ElseIf TextBox8.Text = "" Then
          TextBox8.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox8.BackColor = ColorDialog1.Color
      ElseIf TextBox9.Text = "" Then
          TextBox9.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox9.BackColor = ColorDialog1.Color
      ElseIf TextBox10.Text = "" Then
          TextBox10.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox10.BackColor = ColorDialog1.Color
      Else
          TextBox1.Text = ""
          TextBox1.BackColor = Color.White
          TextBox2.Text = ""
          TextBox2.BackColor = Color.White
          TextBox3.Text = ""
          TextBox3.BackColor = Color.White
          TextBox4.Text = ""
          TextBox4.BackColor = Color.White
          TextBox5.Text = ""
          TextBox5.BackColor = Color.White
          TextBox6.Text = ""
          TextBox6.BackColor = Color.White
          TextBox7.Text = ""
          TextBox7.BackColor = Color.White
          TextBox8.Text = ""
          TextBox8.BackColor = Color.White
          TextBox9.Text = ""
          TextBox9.BackColor = Color.White
          TextBox10.Text = ""
          TextBox10.BackColor = Color.White
          TextBox1.Text = ColorDialog1.Color.ToArgb.ToString
          TextBox1.BackColor = ColorDialog1.Color
      End If


I have 10 textboxes to choose 10 colors, and once the click Choose another after all the textboxes had already been filled, it will reset the form, and paste the new color in the first textbox. Please Help, Thank-You!!!
AnswerRe: ColorDialog Help! Pin
Christian Graus7-Nov-09 22:33
protectorChristian Graus7-Nov-09 22:33 
QuestionOne program code Gsm_Modem to send or receive has to face. Pin
Ir-win ChakadCo7-Nov-09 5:19
Ir-win ChakadCo7-Nov-09 5:19 
AnswerRe: One program code Gsm_Modem to send or receive has to face. Pin
Christian Graus7-Nov-09 9:13
protectorChristian Graus7-Nov-09 9:13 
QuestionHow open the OCX code in VB6.0 (Reach Full Source). Pin
Ir-win ChakadCo7-Nov-09 5:10
Ir-win ChakadCo7-Nov-09 5:10 
AnswerRe: How open the OCX code in VB6.0 (Reach Full Source). Pin
Christian Graus7-Nov-09 9:14
protectorChristian Graus7-Nov-09 9:14 
QuestionHow can we have been produced by OCX VB6.0 open code, we read it. Pin
Ir-win ChakadCo7-Nov-09 5:10
Ir-win ChakadCo7-Nov-09 5:10 
AnswerRe: How can we have been produced by OCX VB6.0 open code, we read it. Pin
Christian Graus7-Nov-09 9:14
protectorChristian Graus7-Nov-09 9:14 
QuestionAssigning an icon to an extension saved by .net application Pin
A.Najafi7-Nov-09 5:08
A.Najafi7-Nov-09 5:08 
AnswerRe: Assigning an icon to an extension saved by .net application Pin
Christian Graus7-Nov-09 10:23
protectorChristian Graus7-Nov-09 10:23 
QuestionRegSaveKey() : how to use this function? Pin
ghafarifar6-Nov-09 23:28
ghafarifar6-Nov-09 23:28 
AnswerRe: RegSaveKey() : how to use this function? Pin
Christian Graus6-Nov-09 23:38
protectorChristian Graus6-Nov-09 23:38 
AnswerRe: RegSaveKey() : how to use this function? Pin
ghafarifar6-Nov-09 23:43
ghafarifar6-Nov-09 23:43 
GeneralRe: RegSaveKey() : how to use this function? Pin
DaveAuld7-Nov-09 1:45
professionalDaveAuld7-Nov-09 1:45 
GeneralRe: RegSaveKey() : how to use this function? Pin
ghafarifar7-Nov-09 19:52
ghafarifar7-Nov-09 19:52 
GeneralRe: RegSaveKey() : how to use this function? Pin
Milad.Biroonvand7-Nov-09 21:34
Milad.Biroonvand7-Nov-09 21:34 
QuestionWebBrowser Autmating Navigation Pin
shaina22316-Nov-09 23:01
shaina22316-Nov-09 23:01 
AnswerRe: WebBrowser Autmating Navigation Pin
DaveAuld7-Nov-09 1:47
professionalDaveAuld7-Nov-09 1:47 

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.