option change


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Thread: option change

  1. #1
    Join Date
    Nov 2007
    Posts
    22

    option change

    I need help for option change

  2. #2
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    and what's the problem ?
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

  3. #3
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    And please define "option change"
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  4. #4
    Join Date
    Nov 2007
    Posts
    22

    option change

    sir i need codes option for example

    Text = LCase(text1.Text)

    If option1.Value = True Then

    If Text = "avi" Then
    Label1.Caption = "adio video interface"
    End if

    If option2.Value = True Then
    If Text = "dc" Then
    Label1.Caption = "direct current"
    end if

    option 1 audeo video sectrtion
    option 2 electronic section

    msg box 1 not in the section
    msg box 2 sorry not yet
    like this pls give me simple code

    there is text 1 and lable 1 and chech button
    thanx in advance
    Last edited by Simtech; 11-11-2007 at 04:23 AM.

  5. #5
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    First of all, you are missing two End Ifs. Your code should read
    Code:
    If option1.Value = True Then
         If Text = "avi" Then
            Label1.Caption = "adio video interface"
        End if
    End If
    
    If option2.Value = True Then
         If Text = "dc" Then
             Label1.Caption = "direct currend"
         end if
    End If
    What are the msgboxs for? (BTW: Based on what you have posted, I would also ask "What msgboxs"?)
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  6. #6
    Join Date
    Nov 2007
    Posts
    22

    option change

    Thankyou sir here need like
    Dim text As Integer some.
    any way thank u

  7. #7
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    I'm afraid I don't understand your question.

    Perhaps if you gave me a brief rundown of what, as a whole, you want to accomplish with your project, I could offer some suggestions.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  8. #8
    Join Date
    Nov 2007
    Posts
    22

    option change

    sir ur gr8 error only end if now workin good i am happy so thanks a lot?

  9. #9
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    You are welcome.

    Does this mean this problem is resolved?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Replies: 2
    Last Post: 06-28-2001, 11:35 PM
  2. how change preferred sound card?
    By midnait in forum VB Classic
    Replies: 0
    Last Post: 04-27-2001, 03:23 AM
  3. Window Appearence change notification
    By Dean Earley in forum VB Classic
    Replies: 0
    Last Post: 04-06-2001, 04:30 AM
  4. Code for option box
    By navajo in forum ASP.NET
    Replies: 1
    Last Post: 10-27-2000, 06:25 AM
  5. Selecting option from a drop down box
    By navajo in forum ASP.NET
    Replies: 1
    Last Post: 10-20-2000, 10:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center