User Profile
Collapse
-
I used to know how to do this with a picturebox or a whole form, ill look it up again and post back :) -
Like Plater said, make sure to put application.doe vents somewhere in your loop. If your loop is going to take a long time to finish you also might want to think about putting it into another thread... i wouldnt recomment it though because it can get hard to do cross threading communicationLeave a comment:
-
If you're getting it from a stream into a byte array it is fairly easy, just use hex to read it. I'll give you a short little tutorial if you want to read it lol. Basically with binary there's a few things you might want to do with it:
1. Get the value of individual bytes
This is useful if you want the value of for example byte 16. If you would want to check if byte 16 = FF in hex then you could use
...Code:If Bytes(16) = "&HFF"
Last edited by tlhintoq; Aug 18 '09, 05:40 PM. Reason: you're not your, I'll not lll, capitalization,Leave a comment:
-
An established connection was aborted by the software in your host machine
I have a program that sends some data on a networkstream through a tcp connection.
the error i get is an ioexception... "Unable to write data to the transport connection: An established connection was aborted by the software in your host machine."Code:Dim networkstream As NetworkStream = Client.GetStream networkstream.Write(message, 0, message.Length)
But the problem is it doesnt happen every time i call... -
REGEX get list of ip addresses
im using some regex code in vb.net to get each ip address in a list that looks like this: ip,ip,ip,ip,ip, ip,ip,ip,ip,ip etc.
but when i use this regex code
( |,).+?(,|\r\n)
it only returns every second ip address. any help is great! im new wih regex -
Make page fit the whole window?
How can you make the page fit the whole window? -
just set the flatstyle to Flat, and the background color to transparent?Leave a comment:
-
you can also set a reference to VJSLIB, it has built in classes for zipping and unzipping filesLeave a comment:
-
-
the S in USB = SERIAL. Correct me if im wrong but from what i understand usb ports are listed as COM portsLeave a comment:
-
-
Try using mysql connector .net http://www.mysql.com/products/connector/net/ Its just a addon that you can use in vb.net and can use the .net database wizard or whatever to set it upLeave a comment:
-
-
so if RRAS is on does that mean that i cant have firewall running?Leave a comment:
-
yea i do have it enabled, but im not very good with servers, could you tell me how to enable access?Leave a comment:
-
fill the combobox from the dataset, then insert a new combobox item at the index of 0.Leave a comment:
-
what might be happening is that some character in the string(because with all those weird characters that the rtf format puts in there ) may be messin with sql and tellin it to do some command, kinda like how sql injection works(putting quotes in the beginning of the string will allow you to run a sql command on it EX the query 'and 1=1 in a login name would tell sql server the command if password = '' and 1=1 then login.... if im not bein clear...Leave a comment:
-
yea just create an event to handle the keypress, correct me if im wrong but i think you might need to override somethingLeave a comment:
-
yea basically that error message is telling you that your server doesnt accept remote sql connections... is the server in your local network? changing the properties on the server to allow remote sql connections might do the trick, or it might be something else... either way im not necessarily the person to ask about fixing it, im not all that good at networking but i hope this helpedLeave a comment:
-
alright so i finally got some time to check up on my server, when i try to open windows firewall i get an error... something about it not being able to use ipnat.sys... also if it helps the error i get from my application says that the server kept on refusing the connection. any ideas?Leave a comment:
No activity results to display
Show More
Leave a comment: