Is this the correct way to receive a byte array? Is there a better way?
I have this code to receive a byte array sent from a Winsock connection. It works but I was wondering if it is the correct way to do it or if there is a better way. Code: Private MyByteArray() As Byte...
View Articlehow to fill treeview images using recordset dynamically
hello everyone... this is my first ever post here.. i'm having a treeview control and i want to add categories, products and images dynamically using recordset .. i m able to do for categories and...
View ArticleVS 2008 ComboBox blocks other comboboxes in GroupBox
Hi! I'm confused. While my comboboxes were not in use they worked fine(were populated and I could scroll the lists and select any item). Now, as I am using the selectedValue any combobox blocks all...
View ArticleInvalid Data Element Key
I haven't worked in VB in years but I've using VB6 to parse file data into an Access database. The problem is that I keep getting an error message on the 4th field of every line and ONLY on the 4th...
View ArticleVS 2010 Entity framework and Ms Sql connections
Having been looking at the ado framework in relation to databases and classes, I am unsure if the software loaded is working correctly or if I don't fully understand what I am doing ! Currently I have...
View ArticleForm doesn't show data from SQL 2008 Server Express database in VB 2010 Express
Up until a few minutes ago, everything worked perfectly on my form. I had fields from one of 2 existing Tables on my SQL 2008 Server Express database on my form. I added a new table to my SQL Database....
View ArticleNoob: Input Validation help with inputbox
I need to some assistance in creating some input validation for a homework assignment. The program is creating an application that shows, based in inventory and order request, how many spools of wire...
View Article[RESOLVED] How to put a Long data type in a byte array
I have this number 160043L which I need to put into a byte array as 4 bytes. The array bytes should look like this after the value has been placed in the array a(0) = 43 a(1) = 113 a(2) = 2 a(3) = 0...
View ArticleString to double array
I have a string of csv values. I want to get a double array from the string. If I split the string on comma I get an array of strings. can i convert the string array to a double array easily? For...
View ArticleVS 2008 Using DataGrid with DataTable source - problem adding Combobox to one...
Hi! I have a DataGridView, it's DataSource is set to a DataTable. One column in the table has only three possible values "C","N","O". I managed to get a ComboBox showing in the DataGridView in a new...
View ArticleVS 2010 Web browser tab control url to website name?
Hello all! I'm having an issue with my web browser. I would like it to show the website name in the tabcontrol and in the forum bar. (The bar that says https://www.google.com/ See picture below)...
View Articleauto hide program
Hi I am creating a program that can autohide itself automatically when mouse pointer is not moved over the form but it shows when the mouse pointer has been moved over the form just like the windows...
View ArticleVS 2010 Need help with school project..
I am currently doing a computing project at school, and am having trouble with some parts of it. My task is to create a program that will store a recipe name, number of people it will serve and the...
View ArticleRadio Button not working
Hello, any idea how to fix this: Code: If RadioButton1.Checked = True Then TextBox1.Text = "A" ElseIf RadioButton2.Checked = True Then TextBox1.Text = "B"...
View ArticleVS 2008 How to hide the main form in other way ?
Hello VBForum ! I just registered and it looks like a very awesome forum :) I have a very small question, just started with all the Visual Basic business.. To make your life easier, I'll demonstrate it...
View ArticleI get this error when trying to add components
Hi, I get this error when trying to add components the component im trying to add is windows common controls 6.0 (SP6) the errorr that comes up says OBJECT LIBRARY NOT REGISTERED im runing windows 7....
View ArticlePlace Your Rants Here
Game Stop I just wanna go on record and say I absolutely hate Game Stop. And here are my reasons why. 1) Back then we had a lot of video game based stores that sold new, used, as well as retro based...
View ArticleStarting a project involving Access database
So I'm attempting this project, but have no idea where or how to start. The requirements are as follows: Design and code a program for a mail-order company that enables a clerk to enter each catalog...
View Articleimage fit strch
i have image1 and now i draged it and i want any picture that gets loaded to fit that custom size box i dont want it to auto inlarge and not show most of the image please help
View ArticleConverting ActiveX Control into .net and intercepting packets
I am trying to convert an ActiveX control developed in 1998 (now defunct) for monitoring a CNC machine into a winform application. What I believe this control does is connect to the machine server and...
View Article