Visual Basic: Populating dropdownlist of websight

35 pts.
Tags:
JavaScript
Visual Basic
Hello, I'm new to Visual Basic. I want to make a autofill program for public form something like railway ticket form. I am almost done. I use Windows form application and use the content box element id for autofill. But now I'm stuck in autofilling dropdown list content. When I use its element ID and type character in my program it shows blank content in it. May be they are using JavaScript. Please help me.


Software/Hardware used:
Visual basic
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    ...dropdownlist of websight

    What is "websight? Are you referring to WebSight?

    i am new in visual basic.

    How are you relating "visual basic" to "websight"?

    May be they are using javascript.

    Who are "they"? (Is that WebSight?)
    37,005 pointsBadges:
    report
  • Shubham123
    its a  website for filing general info for ticket redervation. like gender name adress id prrof. i had made a program that fills that blank content which are on my visual basic program that i had made earlier.  But naw I wanna confused in that how to populate those drop down boxes of ticket formachines from my visual basic program.

    Thanks 
    35 pointsBadges:
    report
  • TheRealRaven
    its a  website

    It already seems clear that it's a "website". The question was if it is from "WebSight".

    "WebSight" is an online service for developing 'web sites'. You asked if "they" were using javascript, but you didn't say who "they" are. Who are "they"?

    You are asking about web page development, but you keep mentioning Visual Basic. You haven't shown any code, so we don't know what you are asking about. Do you want VB to load values into a web page dropdown?

    If so, how is the dropdown coded? How is the VB connected to the dropdown? What code are you using to populate the dropdown?

    We need to see code to answer questions about it.
    37,005 pointsBadges:
    report
  • Shubham123
    I mean to say the website is using java script on drop down list. And the code i am  using in visual basic windows form are.  

    Public class form1

    Private sub form1_click(byval_sender as system.object, byval e as system.eventargs) handles mybase.load
         Webbrowser1.navigate("www.xyz.com")
    End sub

    Private sub button_click((byval sender as system.object, byval e as.eventargs) handles button1.click
         Webbrowser1.document.getelementbyid("ct100_contentplaceholder1_tb_name1").innertext = name1.text$

    End sub


    Thats how I am using these code. 
    Thanks
    35 pointsBadges:
    report
  • ToddN2000
    Where is you data coming from to autofill?
    136,490 pointsBadges:
    report
  • Shubham123
    I had made a webbrowser with name webbrowser1. 1textbox with name name1 one submit button. All the coding above are done under submit button. And webbpage got fill by content in textbox and clicking on submit button.

    Thanks 
    35 pointsBadges:
    report
  • ToddN2000
    Post your code and let us take a look. It's probably something small you may have missed.
    136,490 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: