Intunekat Posted October 9, 2015 Report Share Posted October 9, 2015 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 .. Quote Link to comment Share on other sites More sharing options...
R0byi Posted October 24, 2015 Report Share Posted October 24, 2015 Dim fileReader As System.IO.StreamReaderfileReader = 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) Quote Link to comment Share on other sites More sharing options...
S.L.C Posted October 24, 2015 Report Share Posted October 24, 2015 @R0byi Omul nu are sursa. Doar executabilul. Si intreaba daca se poate modifica instructiile(?) din fisierul executabil. Asta am inteles eu pana acum Quote Link to comment Share on other sites More sharing options...
Byte-ul Posted October 24, 2015 Report Share Posted October 24, 2015 Poti sa schimbi linkul catre unul bun. Pune executabilul aici. Quote Link to comment Share on other sites More sharing options...