Click here to Skip to main content
16,011,626 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionList View control with dynamic expand button Pin
shashi_sneak10-Aug-08 19:43
shashi_sneak10-Aug-08 19:43 
AnswerRe: List View control with dynamic expand button Pin
Mycroft Holmes10-Aug-08 20:29
professionalMycroft Holmes10-Aug-08 20:29 
Questioncoloring method Pin
dunkin_ina10-Aug-08 16:35
dunkin_ina10-Aug-08 16:35 
AnswerRe: coloring method Pin
Christian Graus10-Aug-08 17:06
protectorChristian Graus10-Aug-08 17:06 
Questionlooking for good ideas Pin
stephan_00710-Aug-08 10:55
stephan_00710-Aug-08 10:55 
AnswerRe: looking for good ideas Pin
Mycroft Holmes10-Aug-08 14:57
professionalMycroft Holmes10-Aug-08 14:57 
AnswerRe: looking for good ideas Pin
Roy Heil12-Aug-08 6:43
professionalRoy Heil12-Aug-08 6:43 
QuestionVB | Silverlight Beta 2 | Linq to XML Confusion Pin
crystal915410-Aug-08 9:45
crystal915410-Aug-08 9:45 
OK, I cannot find any VB samples, (different issue if I was doing things in C#). Any way, I am using WebClient class and am successfully reading the XML file of business videos in my xaml.vb file asynchronously. But I am having a problem populating the datagrid properly:

<videos>
<profession name="lawyer">
<video id="1" title="Lawyer Title 1" />
<video id="2" title="Lawyer Title 2" />
</profession>
<profession name="doctor">
<video id="1" title="Doctor Title 1" />
<video id="2" title="Doctor Title 2" />
</profession>
</videos>

Here's my query

Dim BizVideos = _
From videos In xmlVideos.DescendantsAndSelf("profession") _
Where videos.Attribute("name") = "doctor" _
Select videos

dgridVideoList.ItemsSource = BizVideos

Here's the problem I am experiencing:

1. I am only getting one row in the datadrid with everything included in that one row, as opposed to what I want, i.e. one row for Video ID 1, and one for Video ID 2.

2. I am getting more fields in the datagrid than I want, i.e. "Has Elements", "Has Attributes", "Parent Node", etc.

Can anyone offer me (a.) the correct syntax for the query where I can break out the video child nodes under profession doctor and diplay them one video per row (b.) avoid showing superflulous fields like "Has Attributes", "Parent Node", etc., as well as (c.) what I am doing wrong in the binding of my datagrid?

Thank you all for your help.
QuestionInsert Records From One Ms Access table to Other Access Table using vb.net 2003 Pin
chandrubngit10-Aug-08 6:48
chandrubngit10-Aug-08 6:48 
AnswerRe: Insert Records From One Ms Access table to Other Access Table using vb.net 2003 Pin
Vimalsoft(Pty) Ltd10-Aug-08 7:11
professionalVimalsoft(Pty) Ltd10-Aug-08 7:11 
QuestionRe: Insert Records From One Ms Access table to Other Access Table using vb.net 2003 Pin
chandrubngit11-Aug-08 4:10
chandrubngit11-Aug-08 4:10 
AnswerRe: Insert Records From One Ms Access table to Other Access Table using vb.net 2003 [modified] Pin
Vimalsoft(Pty) Ltd11-Aug-08 22:04
professionalVimalsoft(Pty) Ltd11-Aug-08 22:04 
QuestionIntercept/Detect File Modifications Pin
Orlando_Herrera9-Aug-08 7:01
Orlando_Herrera9-Aug-08 7:01 
AnswerRe: Intercept/Detect File Modifications Pin
Mycroft Holmes9-Aug-08 13:37
professionalMycroft Holmes9-Aug-08 13:37 
GeneralRe: Intercept/Detect File Modifications Pin
Colin Angus Mackay9-Aug-08 13:50
Colin Angus Mackay9-Aug-08 13:50 
GeneralRe: Intercept/Detect File Modifications Pin
jzonthemtn10-Aug-08 4:50
jzonthemtn10-Aug-08 4:50 
GeneralRe: Intercept/Detect File Modifications Pin
Colin Angus Mackay10-Aug-08 4:59
Colin Angus Mackay10-Aug-08 4:59 
GeneralRe: Intercept/Detect File Modifications Pin
jzonthemtn10-Aug-08 5:02
jzonthemtn10-Aug-08 5:02 
GeneralRe: Intercept/Detect File Modifications Pin
Colin Angus Mackay10-Aug-08 5:07
Colin Angus Mackay10-Aug-08 5:07 
GeneralRe: Intercept/Detect File Modifications Pin
jzonthemtn10-Aug-08 5:09
jzonthemtn10-Aug-08 5:09 
GeneralRe: Intercept/Detect File Modifications Pin
Colin Angus Mackay10-Aug-08 5:31
Colin Angus Mackay10-Aug-08 5:31 
AnswerRe: Intercept/Detect File Modifications Pin
Orlando_Herrera11-Aug-08 4:41
Orlando_Herrera11-Aug-08 4:41 
QuestionVB Slow Chat on the other site with "Code" in its name Pin
Kevin McFarlane9-Aug-08 5:44
Kevin McFarlane9-Aug-08 5:44 
AnswerRe: VB Slow Chat on the other site with "Code" in its name Pin
Vimalsoft(Pty) Ltd10-Aug-08 9:34
professionalVimalsoft(Pty) Ltd10-Aug-08 9:34 
GeneralRe: VB Slow Chat on the other site with "Code" in its name Pin
Kevin McFarlane10-Aug-08 9:38
Kevin McFarlane10-Aug-08 9:38 

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.