Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8121477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:30:00+00:00 2026-06-06T05:30:00+00:00

I am kinda newbie on Visual basic 2010, and wanted to create a chat

  • 0

I am kinda newbie on Visual basic 2010, and wanted to create a chat loader, and i wanted it to read values from a xml table.

This is the code i have used in Vb.

 ChatXml.ReadXmlSchema(My.Application.Info.DirectoryPath & "/../Release/chat.xml")
 ChatXml.ReadXml(My.Application.Info.DirectoryPath & "/../Release/chat.xml")
 ComboBox1.DataSource = ChatXml.Tables
 ComboBox1.DisplayMember = "chat"

And the xml file.

<?xml version="1.0" encoding="utf-8"?>
 <chat>
    <gn>Help</gn>
    <gid>1913106</gid>
    <xc>2336</xc>
    <cn>1500337760</cn>
    <g8>g8</g8>
 </chat>

That i want it to do, is to read the value “gn”, and add it to the ComboBox, i am not sure what is wrong, tried the “Google is your friend” and could not find something that worked.

The error i get is this.

Complex DataBinding accepts as a data source either an IList or an IListSource.
enter code here

Not sure, but tried to add data to the Tables in DataSet, but seems i can’t get it to work.
Any help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:30:02+00:00Added an answer on June 6, 2026 at 5:30 am

    Your problem is that you are instructing the combo box to show all the rows in the chat table, rather than telling it to show all the gn fields in the chat table. You need to do this:

    ComboBox1.DataSource = ChatXml.Tables(0)
    ComboBox1.DisplayMember = "gn"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, I'm new to linux so this may be a very newbie kinda of
I`m a newbie at JavaScript trying to understand this tutorial about currying from Oreilly
This is kind of newbie question on objective-c: I would like to create a
I'm sorry if this question sounds kinda newbie, but I'm a beginner and want
Firstly: I am totally a newbie for this kind of work. I have a
I'm kinda stuck on this decision. My project already uses Spring and Spring Blazeds
.NET/MVC3 newbie, so please bear with me! I've searched for this answer all over
Just a newbie question really. Can you edit a website (in Visual Studio) on
So I didn't see a question here that really answers this question. It's kinda
I'm a bit of a Fluent nHibernate newbie, so forgive me is this is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.