Click here to Skip to main content
16,006,826 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to detect browser url using vb.net Pin
Pranav Bhat29-Nov-07 18:01
Pranav Bhat29-Nov-07 18:01 
Questionreading from text file Pin
break_day29-Nov-07 3:04
break_day29-Nov-07 3:04 
QuestionLabels are behaving funny Pin
Mbire29-Nov-07 3:04
Mbire29-Nov-07 3:04 
AnswerRe: Labels are behaving funny Pin
Luc Pattyn29-Nov-07 3:50
sitebuilderLuc Pattyn29-Nov-07 3:50 
Question2 - Tier server/client Application (Network) Pin
Bismark Appah29-Nov-07 2:28
Bismark Appah29-Nov-07 2:28 
AnswerRe: 2 - Tier server/client Application (Network) Pin
Mbire29-Nov-07 3:14
Mbire29-Nov-07 3:14 
AnswerRe: 2 - Tier server/client Application (Network) Pin
Vimalsoft(Pty) Ltd29-Nov-07 21:01
professionalVimalsoft(Pty) Ltd29-Nov-07 21:01 
QuestionXmlDocument.Load encoding problem Pin
Benny_Lava29-Nov-07 2:14
Benny_Lava29-Nov-07 2:14 
Greetings,

I'm building an App that reads a very big XML file and saves the data in a SQL database.

The XML file is in encoding windows-1250 and it can't be changed.
The main point is to read all characters in the XML including croatian letters (Č,Ć,Ž,Š,Đ)

I have tried this code first: (with this method I get an error 'platform not supported'

xmlDoc = New XmlDocument()
xmlDoc.Load(xmlPath)

The second try: (in which I try to transform the encoding windows-1250 to UTF-8, It reads the XML but it deletes the croatian letters)

fileS = New FileStream(putanjaXml, FileMode.Open, FileAccess.Read)
xmlContext = New XmlParserContext(Nothing, Nothing, "", XmlSpace.Default, System.Text.Encoding.UTF8)
xtr = New XmlTextReader(fileS, XmlNodeType.Document, xmlContext)

xmlDoc = New XmlDocument()
xmlDoc.Load(xtr) // Not supported platform

fileS.Flush()

fileS.Close()
xtr.Close()

I have also tried the above method with system.text.encoding.Unicode and UTF7. But no luck.

So please does someone know how to read this XML file with this encoding (the METHOD must be xmlDocument.LOAD)

Thank you very much!

QuestionRinjdael algorithm? Pin
nimsrav29-Nov-07 0:23
nimsrav29-Nov-07 0:23 
AnswerRe: Rinjdael algorithm? Pin
Colin Angus Mackay29-Nov-07 0:27
Colin Angus Mackay29-Nov-07 0:27 
AnswerCross Post Pin
leckey29-Nov-07 4:29
leckey29-Nov-07 4:29 
JokeRe: Rinjdael algorithm? Pin
Paul Conrad29-Nov-07 12:24
professionalPaul Conrad29-Nov-07 12:24 
Questiondownload from rapidshare using premium account Pin
hamzahaidar28-Nov-07 23:02
hamzahaidar28-Nov-07 23:02 
AnswerRe: download from rapidshare using premium account Pin
Mbire29-Nov-07 3:17
Mbire29-Nov-07 3:17 
AnswerRe: download from rapidshare using premium account Pin
DigiOz Multimedia29-Nov-07 5:22
DigiOz Multimedia29-Nov-07 5:22 
GeneralRe: download from rapidshare using premium account Pin
Paul Conrad29-Nov-07 18:19
professionalPaul Conrad29-Nov-07 18:19 
QuestionHow to make a asp.net 2.0 application AJAX enable Pin
sonigirish28-Nov-07 22:26
sonigirish28-Nov-07 22:26 
AnswerRe: How to make a asp.net 2.0 application AJAX enable Pin
ChandraRam28-Nov-07 23:37
ChandraRam28-Nov-07 23:37 
Questionstill having problems listing instances of Window Explorer Pin
GuildfordG28-Nov-07 22:22
GuildfordG28-Nov-07 22:22 
AnswerRe: still having problems listing instances of Window Explorer Pin
Dave Kreskowiak29-Nov-07 8:18
mveDave Kreskowiak29-Nov-07 8:18 
GeneralRe: still having problems listing instances of Window Explorer Pin
GuildfordG29-Nov-07 11:48
GuildfordG29-Nov-07 11:48 
Questionhow to use sql Query Exec Master..xp_CmdShell 'bcp "Select * from AsplData..customer" queryout "D:\test.xls" -c' in vb.net Pin
Atheeque28-Nov-07 22:04
Atheeque28-Nov-07 22:04 
GeneralRe: how to use sql Query Exec Master..xp_CmdShell 'bcp "Select * from AsplData..customer" queryout "D:\test.xls" -c' in vb.net Pin
Paul Conrad8-Dec-07 5:41
professionalPaul Conrad8-Dec-07 5:41 
Questionlog in to the database Pin
deepblu@webmail.co.za28-Nov-07 22:03
deepblu@webmail.co.za28-Nov-07 22:03 
AnswerRe: log in to the database Pin
_mubashir28-Nov-07 23:50
_mubashir28-Nov-07 23:50 

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.