Click here to Skip to main content
15,913,685 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Dave Kreskowiak2-Mar-16 6:51
mveDave Kreskowiak2-Mar-16 6:51 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Real Corks2-Mar-16 7:41
Real Corks2-Mar-16 7:41 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Real Corks2-Mar-16 7:49
Real Corks2-Mar-16 7:49 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Dave Kreskowiak2-Mar-16 7:58
mveDave Kreskowiak2-Mar-16 7:58 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Real Corks2-Mar-16 8:15
Real Corks2-Mar-16 8:15 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Sascha Lefèvre2-Mar-16 8:46
professionalSascha Lefèvre2-Mar-16 8:46 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Real Corks2-Mar-16 11:40
Real Corks2-Mar-16 11:40 
AnswerRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Richard Deeming2-Mar-16 9:49
mveRichard Deeming2-Mar-16 9:49 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Real Corks2-Mar-16 11:46
Real Corks2-Mar-16 11:46 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Real Corks2-Mar-16 11:52
Real Corks2-Mar-16 11:52 
GeneralRe: can someone help me to fix this in mysql vb "INVALID ATTEMP TO READ WHEN READER IS CLOSE "? Pin
Real Corks2-Mar-16 12:45
Real Corks2-Mar-16 12:45 
QuestionExcel VBA For Loop Weighted Average Pin
Member 1226553729-Feb-16 22:40
Member 1226553729-Feb-16 22:40 
AnswerRe: Excel VBA For Loop Weighted Average Pin
Kenneth Haugland29-Feb-16 23:50
mvaKenneth Haugland29-Feb-16 23:50 
GeneralRe: Excel VBA For Loop Weighted Average Pin
Member 122655371-Mar-16 0:27
Member 122655371-Mar-16 0:27 
GeneralRe: Excel VBA For Loop Weighted Average Pin
Kenneth Haugland1-Mar-16 11:13
mvaKenneth Haugland1-Mar-16 11:13 
QuestionNet.Sockets.TcpListener Pin
hansoctantan29-Feb-16 1:40
professionalhansoctantan29-Feb-16 1:40 
QuestionRe: Net.Sockets.TcpListener Pin
Eddy Vluggen29-Feb-16 2:41
professionalEddy Vluggen29-Feb-16 2:41 
AnswerRe: Net.Sockets.TcpListener Pin
Dave Kreskowiak29-Feb-16 3:55
mveDave Kreskowiak29-Feb-16 3:55 
Questionjson exception Pin
duup27-Feb-16 0:43
duup27-Feb-16 0:43 
Using newtonsoft json to read a json file.
I download a sample json file with zip codes: http://jsonstudio.com/resources/

using this code:
C#
Dim json As String = File.ReadAllText("C:\Users\Presentation\Desktop\zips.json")
Dim o As JObject = JObject.Parse(json)



But it fails with:
C#
An unhandled exception of type 'Newtonsoft.Json.JsonReaderException' occurred in Newtonsoft.Json.dll

Additional information: Additional text encountered after finished reading JSON content: {. Path '', line 2, position 0.



Why would this default, and I assume correct data file, fail already here?

Can anyone help me? Thx
AnswerRe: json exception Pin
Dave Kreskowiak27-Feb-16 10:49
mveDave Kreskowiak27-Feb-16 10:49 
GeneralRe: json exception Pin
duup28-Feb-16 21:04
duup28-Feb-16 21:04 
GeneralRe: json exception Pin
Dave Kreskowiak29-Feb-16 2:41
mveDave Kreskowiak29-Feb-16 2:41 
Questionhow to start a vbs script in a vbs script on a client computer Pin
Member 1191673523-Feb-16 22:31
Member 1191673523-Feb-16 22:31 
AnswerRe: how to start a vbs script in a vbs script on a client computer Pin
Dave Kreskowiak24-Feb-16 2:16
mveDave Kreskowiak24-Feb-16 2:16 
GeneralRe: how to start a vbs script in a vbs script on a client computer Pin
Member 1191673524-Feb-16 3:39
Member 1191673524-Feb-16 3:39 

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.