Click here to Skip to main content
15,867,308 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Question about Dependency Injection Pin
Rob Philpott18-Jul-23 4:18
Rob Philpott18-Jul-23 4:18 
QuestionExe File encoding - http via vb.net Pin
Bart van Tuijl31-Mar-23 21:20
Bart van Tuijl31-Mar-23 21:20 
AnswerRe: Exe File encoding - http via vb.net Pin
Dave Kreskowiak1-Apr-23 5:18
mveDave Kreskowiak1-Apr-23 5:18 
AnswerRe: Exe File encoding - http via vb.net Pin
Richard MacCutchan1-Apr-23 5:42
mveRichard MacCutchan1-Apr-23 5:42 
AnswerRe: Exe File encoding - http via vb.net Pin
Eddy Vluggen1-Apr-23 6:28
professionalEddy Vluggen1-Apr-23 6:28 
GeneralRe: Exe File encoding - http via vb.net Pin
Bart van Tuijl2-Apr-23 5:13
Bart van Tuijl2-Apr-23 5:13 
GeneralRe: Exe File encoding - http via vb.net Pin
Richard Deeming2-Apr-23 22:05
mveRichard Deeming2-Apr-23 22:05 
GeneralRe: Exe File encoding - http via vb.net Pin
Bart van Tuijl3-Apr-23 5:49
Bart van Tuijl3-Apr-23 5:49 
There is indeed a lot of data now in the downloaded file but its still all in numbers (It dosent look like binary too me but more like decimal without the hyphens) what am I missing here I'm assuming that the browser would know how to handle this data and reproduce a valid file from it (perhaps I'm wrong)?

also to answer the type of variable for My404HtmlPage is

Dim My404HtmlPage As New System.Text.StringBuilder()


which then is passed on to a variable named MyHtmlServerResponse as follows

MyHtmlServerResponse = (My404HtmlPage.ToString)


MyHtmlServerResponse is a string variable as can be seen below

Dim MyHtmlServerResponse As String


EDIT:

Just as extra Info the actual sending is done through TCP/ IP as follows

For Each c As TcpClient In MyClientList

               If c Is MyClient Then
                   Dim nns As NetworkStream = c.GetStream()
                   nns.Write(Encoding.ASCII.GetBytes(MyHtmlServerResponse), 0, MyHtmlServerResponse.Length)

                   MyClient.Dispose()

               End If


modified 3-Apr-23 12:01pm.

GeneralRe: Exe File encoding - http via vb.net Pin
Richard MacCutchan3-Apr-23 6:13
mveRichard MacCutchan3-Apr-23 6:13 
GeneralRe: Exe File encoding - http via vb.net Pin
Richard Deeming3-Apr-23 6:44
mveRichard Deeming3-Apr-23 6:44 
GeneralRe: Exe File encoding - http via vb.net Pin
Bart van Tuijl3-Apr-23 7:33
Bart van Tuijl3-Apr-23 7:33 
GeneralRe: Exe File encoding - http via vb.net Pin
jschell4-Apr-23 6:19
jschell4-Apr-23 6:19 
AnswerRe: Exe File encoding - http via vb.net Pin
jschell3-Apr-23 6:09
jschell3-Apr-23 6:09 
QuestionBad Programming??... Pin
FreakNeck71631-Mar-23 4:09
FreakNeck71631-Mar-23 4:09 
AnswerRe: Bad Programming??... Pin
Richard Deeming31-Mar-23 4:59
mveRichard Deeming31-Mar-23 4:59 
AnswerRe: Bad Programming??... Pin
Gerry Schmitz31-Mar-23 6:49
mveGerry Schmitz31-Mar-23 6:49 
AnswerRe: Bad Programming??... Pin
Dave Kreskowiak31-Mar-23 12:08
mveDave Kreskowiak31-Mar-23 12:08 
AnswerRe: Bad Programming??... Pin
jschell3-Apr-23 6:42
jschell3-Apr-23 6:42 
AnswerRe: Bad Programming??... Pin
Valley Kid31-Aug-23 19:37
Valley Kid31-Aug-23 19:37 
QuestionUpdate Settings in Winows Forms project Pin
Ron Mittelman27-Mar-23 8:06
Ron Mittelman27-Mar-23 8:06 
AnswerRe: Update Settings in Winows Forms project Pin
Gerry Schmitz27-Mar-23 11:48
mveGerry Schmitz27-Mar-23 11:48 
GeneralRe: Update Settings in Winows Forms project Pin
Ron Mittelman27-Mar-23 12:34
Ron Mittelman27-Mar-23 12:34 
GeneralRe: Update Settings in Winows Forms project Pin
Gerry Schmitz28-Mar-23 7:06
mveGerry Schmitz28-Mar-23 7:06 
GeneralRe: Update Settings in Winows Forms project Pin
Ron Mittelman28-Mar-23 11:57
Ron Mittelman28-Mar-23 11:57 
AnswerRe: Update Settings in Winows Forms project Pin
Ron Mittelman28-Mar-23 11:47
Ron Mittelman28-Mar-23 11:47 

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.