5 Replies - 2094 Views - Last Post: 05 July 2013 - 05:30 AM Rate Topic: -----

#1 Bhram  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 43
  • Joined: 17-February 13

select item in combobox webbrowser ?

Posted 04 July 2013 - 09:08 AM

how select item in combobox webbrowser
i don't setvalue
   WebBrowser1.document.GetElementById("com).SetAttribute("value", String)

Is This A Good Question/Topic? 0
  • +

Replies To: select item in combobox webbrowser ?

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3730
  • View blog
  • Posts: 6,017
  • Joined: 08-June 10

Re: select item in combobox webbrowser ?

Posted 04 July 2013 - 09:44 AM

You're missing the quote mark that should be closing the ID value. Surely this is giving you a parse error?
Was This Post Helpful? 0
  • +
  • -

#3 Bhram  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 43
  • Joined: 17-February 13

Re: select item in combobox webbrowser ?

Posted 04 July 2013 - 03:07 PM

View PostAtli, on 04 July 2013 - 09:44 AM, said:

You're missing the quote mark that should be closing the ID value. Surely this is giving you a parse error?


sorry i but my code but it's no my problem
i wanna selectitem from combobox no setvalue ??
Was This Post Helpful? 0
  • +
  • -

#4 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: select item in combobox webbrowser ?

Posted 04 July 2013 - 03:23 PM

View PostBhram, on 04 July 2013 - 10:08 AM, said:

how select item in combobox webbrowser
i don't setvalue
   WebBrowser1.document.GetElementById("com).SetAttribute("value", String)

You are missing a closing quote. There are three quotes in that line. If this is VB.Net, you SHOULD get an error that will not let you compile.

Is the ID you're looking for "com"? If so, look for "com". Note the opening and closing quotes. Once you have found it, find the attribute you are looking for.
Was This Post Helpful? 0
  • +
  • -

#5 Bhram  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 43
  • Joined: 17-February 13

Re: select item in combobox webbrowser ?

Posted 05 July 2013 - 03:56 AM

View Postlar3ry, on 04 July 2013 - 03:23 PM, said:

View PostBhram, on 04 July 2013 - 10:08 AM, said:

how select item in combobox webbrowser
i don't setvalue
   WebBrowser1.document.GetElementById("com).SetAttribute("value", String)

You are missing a closing quote. There are three quotes in that line. If this is VB.Net, you SHOULD get an error that will not let you compile.

Is the ID you're looking for "com"? If so, look for "com". Note the opening and closing quotes. Once you have found it, find the attribute you are looking for.

it's not problem in put code for example i wanna setvalue but select item ???
Was This Post Helpful? 0
  • +
  • -

#6 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: select item in combobox webbrowser ?

Posted 05 July 2013 - 05:30 AM

View PostBhram, on 05 July 2013 - 04:56 AM, said:

it's not problem in put code for example i wanna setvalue but select item ???

As I've told yu, that code will not work. It will not even compile, and I have no idea what you mean by these two sentences.

Have you tried anything other than this one line of code that obviously does not work?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1