Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ARDUINO and VB.NET - Read TEXT File from WEB SERVER
#1
[Image: arduinovbnetv2.jpg]

we can read the data file stored in Server (with public access permission) and display in the RichTextBox

The Updated Items in code

Usual import libraries

Imports System.IO

Imports System.Text

Imports System.Net



I have added a textbox (TextBox1) to read the web address and a Command Button (CommandButton1) and Richtext box (RichTextBox2) to display the data


.txt   arduino server vb code.txt (Size: 506 bytes / Downloads: 0)

The data written in the text file (server)

PHP function used to write in to the text file from a web form is as shown below


.txt   arduino webserver.txt (Size: 1.03 KB / Downloads: 1)
Reply
#1
[Image: arduinovbnetv2.jpg]

we can read the data file stored in Server (with public access permission) and display in the RichTextBox

The Updated Items in code

Usual import libraries

Imports System.IO

Imports System.Text

Imports System.Net



I have added a textbox (TextBox1) to read the web address and a Command Button (CommandButton1) and Richtext box (RichTextBox2) to display the data


.txt   arduino server vb code.txt (Size: 506 bytes / Downloads: 0)

The data written in the text file (server)

PHP function used to write in to the text file from a web form is as shown below


.txt   arduino webserver.txt (Size: 1.03 KB / Downloads: 1)
Reply
CAA


Forum Jump:


Users browsing this thread: 1 Guest(s)