User Profile
Collapse
-
i want to retrieve the string "from pc" exactly , don't care about procedure -
ok
i use java in the server and use this code for transmission
s="from pc";
byte[] buff = s.getBytes();
DatagramPacket packet = new DatagramPacket( buff, buff.length, addr, 5001);
how can i retrieve this string in the picLeave a comment:
-
convert byte to char
hi
i receive bytes from server into microcontroller , how can i convert them to char -
good evening
please i'm trying my programs in VMware workstation, there is webserver in localhost send broadcast message and wait for responses, there is
java program running on every host , but the server couldn't receive from any one except localhost i hope you understand me and i wait your help.
Dim iep As IPEndPoint = New IPEndPoint(IPAd dress.Broadcast , 5001)
Dim Remote As EndPoint = CType(iep, EndPoint)...Leave a comment:
-
at first thanks for reply .
i tried alot of codes in vb and c# but i had problem at receiver so i thought that maybe there is some thing wrong.
sorry for annoying.Leave a comment:
-
my question consists of tow parts , how to change the destination and how to send broadcast.
i wait answer for the second partLeave a comment:
-
broadcast packet
hi everyone :
please how to change the destination address from "localhost" to the ip: "192.168.1. 1"
...Code:Static port_server As Integer = 5000 Static name_server As String = "localhost" Static port_client As Integer = 5001 Dim sock_server As Socket = New Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp) sock_server.EnableBroadcast = True Dim serverEP
Last edited by Frinavale; Mar 2 '09, 07:59 PM. Reason: Added [code] tags: Please post code in [code] [/code] tags -
changing yes\no column
how can i change the value of yes/no column in the database using visual basic -
-
count(*)
hi
please how i can read the result of : select count(*) command
"SELECT count(*) as [a] FROM devices" -
-
i think my question wasn't clear enough
i want to write thing like:
for i=0 i<10 i++
button(i).text= number(i)
is it possible
thanksLeave a comment:
-
work with buttons
please how i can handle button corresponding to integer variable like i
ie: when i=1 i want to enable button1 and when i=2 i want t enable button 2 and so on -
i chang the code into :
"SELECT * FROM users WHERE (name = '" & username & "')"
thank youLeave a comment:
-
query error
please when i run this code :
"...Code:Dim username As String = TextBox1.Text Dim pass As String = TextBox2.Text Dim con As New OleDb.OleDbConnection con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\Saeed\My Documents\Visual Studio 2008\Projects\test\test\users.mdb""" Dim cmd As New OleDb.OleDbCommand -
thank you , i install a new windows and replace visual studio 2005 with visual studio 2008 and solve the problem
but when i refresh the page i get this warning
"the page cannot be refreshed without resending the information
click retry to send the information again or click cancle to return
to the page that you were trying to view"
is there any problem ?, sorry for those trivial questions...Leave a comment:
-
Browser Refresh Button
hi ,
please i have problem and need help
when i use visual basic in asp the browser cann't open it
i wish you understand me
can you help me.
No activity results to display
Show More
Leave a comment: