Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: few lines translation from c# to VB.NET Pin
notturno15-Sep-03 7:31
notturno15-Sep-03 7:31 
GeneralRe: few lines translation from c# to VB.NET Pin
Ian Darling15-Sep-03 22:19
Ian Darling15-Sep-03 22:19 
GeneralRe: few lines translation from c# to VB.NET Pin
Ian Darling15-Sep-03 1:12
Ian Darling15-Sep-03 1:12 
GeneralRe: few lines translation from c# to VB.NET Pin
notturno15-Sep-03 7:16
notturno15-Sep-03 7:16 
GeneralOpenRecordset bollocks Pin
Dangleberry14-Sep-03 23:19
sussDangleberry14-Sep-03 23:19 
GeneralRe: OpenRecordset bollocks Pin
Dangleberry15-Sep-03 0:19
sussDangleberry15-Sep-03 0:19 
GeneralRe: OpenRecordset bollocks Pin
Simon Walker15-Sep-03 2:56
Simon Walker15-Sep-03 2:56 
Generalfill Combobox with xml data Pin
14-Sep-03 22:03
suss14-Sep-03 22:03 
I tried to fill a combobox with xml data, but it wont work

the sourcecode is like this:

Dim ds As New DataSet("Koder")
ds.ReadXml("D:\Utveckling\dotnet\tester\forms tester\Forms test\bin\Codes.XML")

Dim i As Integer






For i = 0 To ds.Tables(0).Rows.Count - 1

With ComboBox1
.Items.Add(ds.Tables(0).Rows(i)("code").ToString)


End With
Next i

I recieved a error message with:
Invalid Cast exception


my xml sheet look like this:


<xml>
<aktiviteter>
<br />
			<id>1001</id><br />
			<avtivitet>Hej</avtivitet><br />

<br />
			<id>1002</id><br />
			<avtivitet>Då</avtivitet><br />


<kostnader>
<kkoder>

<id>9001
<kostnad>Bilresa







How should I solve this problem
Confused | :confused:
GeneralVB.net book suggestions.. Pin
Agnihothra14-Sep-03 20:40
Agnihothra14-Sep-03 20:40 
GeneralRe: VB.net book suggestions.. Pin
Hesham Amin14-Sep-03 21:44
Hesham Amin14-Sep-03 21:44 
GeneralRe: VB.net book suggestions.. Pin
Agnihothra14-Sep-03 23:32
Agnihothra14-Sep-03 23:32 
GeneralRegex help Pin
jholt13-Sep-03 7:25
jholt13-Sep-03 7:25 
GeneralRe: Regex help Pin
Ian Darling13-Sep-03 8:41
Ian Darling13-Sep-03 8:41 
GeneralRe: Regex help Pin
jholt13-Sep-03 9:27
jholt13-Sep-03 9:27 
GeneralRe: Regex help Pin
Ian Darling13-Sep-03 22:49
Ian Darling13-Sep-03 22:49 
GeneralMix Managed code and unmanaged code Pin
gsmcecil13-Sep-03 6:03
gsmcecil13-Sep-03 6:03 
GeneralFAXING Pin
Anonymous13-Sep-03 4:24
Anonymous13-Sep-03 4:24 
GeneralF1 Button Pin
Emile Jacobs12-Sep-03 4:02
Emile Jacobs12-Sep-03 4:02 
Generalusing java program as server and vb as client Pin
onwebbe12-Sep-03 3:06
onwebbe12-Sep-03 3:06 
GeneralCompile exe with controls Pin
Dangleberry12-Sep-03 1:31
sussDangleberry12-Sep-03 1:31 
GeneralRe: Compile exe with controls Pin
Ray Cassick12-Sep-03 3:27
Ray Cassick12-Sep-03 3:27 
GeneralRe: Compile exe with controls Pin
Dangleberry14-Sep-03 23:43
sussDangleberry14-Sep-03 23:43 
GeneralI need an installation program to install my system Pin
Anonymous11-Sep-03 22:20
Anonymous11-Sep-03 22:20 
GeneralRe: I need an installation program to install my system Pin
Dave Kreskowiak12-Sep-03 8:04
mveDave Kreskowiak12-Sep-03 8:04 
GeneralRe: I need an installation program to install my system Pin
Hesham Amin12-Sep-03 8:06
Hesham Amin12-Sep-03 8:06 

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.