Jump to content
Intunekat

caut programator pentru un executabil facut in visual basic

Recommended Posts

Posted

in executabil este un link cu Ajax care nu mai functioneaza .. ceva de genul AjaxServlet?nocache= .. ma intereseaza daca se poate schimba sau sa modific sa isi ia datele care trebuie dintr-un fisier .txt ..

Posted


Dim fileReader As System.IO.StreamReader
fileReader = My.Computer.FileSystem.OpenTextFileReader("C:\path\to\file.txt")
Dim stringReader As String

/* In fisier iti pui parametrii pe fiecare linie sau cum vrei tu doar sa modifici functia de citire dupa */

stringReader = fileReader.ReadLine()

/* Atribui parametrul, continui sa citesti line cu linie mai jos daca ai mai multi, folosind aceeasi functie de mai sus si eventual intr-un for/while */

Dim response As WebResponse = ajaxRequest-ul tau.GetResponse()

Spor! (Sursa msdn.microsoft.com)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...