Detecting Disconnection of USB Serial Device
I am connected to an Arduino board via a USB link. My code catches exceptions when the USB cable is disconnected and any code references the SerialPort object. This works fine, but what is the simplest...
View ArticleNEED HELP! How Do I Get Hex Values To Show up in a TextBox??
Ok So I Need Help Getting The Hex Values("FFOE 7HTS... Etc") From A File To Show In A Textbox?? Please Help Almost Done With My Project!! :)
View ArticleVS 2008 Getting SQL data and placing it in list form trouble
Hi again! The people who were helping me earlier will most likely understand. I am trying to get data from my SQL DB, and place it in list form. CURRENT CODE: Code: Private Sub...
View Articlestoring data in class's
Hi, What im trying to do is, store somedata into classes so i can easily access it and change it a little like a table. Im using the data with treeview to display it (mainly for practice, but also...
View ArticleSockets en VB .NET
i have this code only work if used in my pc , if i used server in my pc and cliente in another pc this not work why? this only work if used this ip = 127.0.0.1...
View Article[RESOLVED] Textbox problem
i'm trying to create a simple program that stores names and emails in testboxes, but i want is to add, remove them and at the same time to rezise the form, I know how to rezise but i don't know how to...
View ArticleSimple Web Browser
I'm trying to create a simple web browser/pinger that loads pages from my web site to keep the app on the web site running. Code: Private Sub timer_Tick(ByVal sender As System.Object, ByVal e As...
View ArticleVS 2008 Problem with string array and If operator
Hi ! Iam making a game, kinda like "HackTheGame" the main idea is like you get a mail with details and you have to 'hack' into some server..dont worry its all fake and its not even close to hacking.I...
View ArticleHow to add items to listbox using class (winforms)
I've got a class called SelectListItems with 2 properties (Text/Value) I need the user to be able to add multiple items (one at a time), so I have 2 textboxes with an 'add' button I did this all the...
View ArticleVS 2010 Misplacing Button, Textboxes, and Checkboxes
Hi, I am working on a pretty basic calculator and on one of the debugs it messed up a lot of placement of things and size of the form. I restarted Visual Basic still didn't work same thing than...
View ArticleVS 2010 Looping HTTPWebrequest errors
Hey Guys, I can't seem to figure out why my code fails: What i'm doing is looking through a bunch of URLs checking for a string: Code: '// [GET] REQUEST Dim GETRequest As...
View ArticleVS 2010 make my one override function to string
I now that string.format automaticly goes toe the pulic function overrides tostriong. Is it possible to make my one override tostring function ? If it so how to make it en how to use ! thanks for your...
View ArticleVS 2008 StreamWriter Overwritting issue! Please help I'm so mad.
Code: Private Sub Item() Dim strWriter As New StreamWriter(FILE_NAME, False) strWriter.Write("<Items>" & vbCrLf) Dim arrFirst() As String =...
View ArticleVS 2012 [RESOLVED] Any benefits to putting a structure in a separate class?
Hi. I was doing a tutorial and it told me to put a structure into a new class all by itself (By class I mean right clicking on my project name in the Solution Explorer, going into the add sub-menu, and...
View ArticleVS 2010 [RESOLVED] How to delete ellipses?
Each click on the picturebox draws a circle, and I want to make it so that when I have drawn 3 circles, the next click deletes them all and draws a new one. But I haven't been able to find a way to do...
View ArticleVS 2010 Possible to implement into robots?
Is it possible to put all my Visual Basic coding in a robot? With like a Microcontroller? Help! :ehh:
View ArticleVS 2010 If one does not = ten then one = +1
As introduced above, I am trying to recreate a similar concept where its like a loop. I am looking for a very compact way for basis to add one if not equal to countTo. You may include a loop and other...
View ArticleVS 2010 cannot expose type outside project through class
Hi, i have a module (a separate vb file) and declared lots of structures in it. and i have imported that in all vb files where i need them.. all works properly. but in one file i am getting this error...
View Articlehow to make a class in the write way
im learing vb.net and I don't understand so good how to make a class. I new that a class have properties and constructors and functions. Example think of a person A person get a First name and a family...
View ArticleVS 2008 Removing a specific user-defined-object (class)
Please , let me ask you , is there any way one can remove a specific user-defined-object (class) ? You see , I have created a Class called Room and during run time I create plenty of such rooms (I...
View Article