Evening,
I am having to place some information on a server via php. So given the amount of variables and not wanting to count the places I thought I could use StringBuilder and convert it to Bytes. Seems that it tells me when I compile that I am either missing "as" or a "(". Below is the code. Could someone help me with what I may be doing wrong.
Example:
Dim bstring
Dim Data() As Byte
Dim sb As StringBuilder
sb.Initialize
waltstring = sb.Append("serialno").Append("chk").Append("comment")
Data = "waltstring".GetBytes("UTF8")
request.InitializePost2("http://cowboy.ath.cx:00/walt/a4response.php?serial=" As String, Data() As Byte)
Log(request)
I originally had "URL5" in place of the actual HTTP string but it gave me the same errors.
Appreciate the help.
Ron
:BangHead:
I am having to place some information on a server via php. So given the amount of variables and not wanting to count the places I thought I could use StringBuilder and convert it to Bytes. Seems that it tells me when I compile that I am either missing "as" or a "(". Below is the code. Could someone help me with what I may be doing wrong.
Example:
Dim bstring
Dim Data() As Byte
Dim sb As StringBuilder
sb.Initialize
waltstring = sb.Append("serialno").Append("chk").Append("comment")
Data = "waltstring".GetBytes("UTF8")
request.InitializePost2("http://cowboy.ath.cx:00/walt/a4response.php?serial=" As String, Data() As Byte)
Log(request)
I originally had "URL5" in place of the actual HTTP string but it gave me the same errors.
Appreciate the help.
Ron
:BangHead: