Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27349 articles
Browse latest View live

VS 2012 Should I always use xml comments?

Hi! I need a second (or third) opinion about the xml comments you can add with ''' or /// in visual studio. Usually I just comment on stuff that needs explanation, and I always comment classes with...

View Article


Updating Mysql database with vb datagridview

Hi! I am creating a windows form with vb to edit a mysql database. I have a datagridview where i can view the database with custom queries. But, I want to save the edited cells back to the source...

View Article


problem in validation fix number and decimal numbers

hi I use following regular expression to validate my numbers: Code: ^[-]?\d{1,15}(\.\d{1,3})? my validate numbers is : Code: 0 to 9 max length <= 15 decimal numbers are optional and decimal place is...

View Article

2 Frozen columns and 1 scrolling column in middle??

I have three columns in an unbound datagridview. All three columns are populated via a button click. The first and third column must be frozen so that they do not scroll horizontally. The middle column...

View Article

VS 2010 Entity SQL Code generation

Currently within the entity framework, I have created a Entity Data Model. From this I have generated a .edmx.sql file which contains the Required SQL code. I have then tried to execute this code by...

View Article


Running long term data grab from separate thread

Hi All, I have an application where I need to grab data from a high speed serial buffer. To process it in time I really do need to do something like the following: Essentially start a thread that...

View Article

VS 2012 Add Option to "Select" tag with webbrowser.

i tried to add item to select tag with setattribute but it dont work :/ i want to add an item not to select one. thanks for help.

View Article

Set of all disabled objects

I need to be able to make the disabled objects in my project invisible and vice-versa. Is there a way I can find a set of all the disabled objects in the project to set them all invisible?

View Article


VS 2010 Carat Color Red

Hello everyone, Im using this code to change the carat size to cover at least one character which works, however, how do i change the color or the carat from black to red? Code: Private Sub...

View Article


VS 2010 [RESOLVED] Combobox Item Colour

Hi again, Can anyone tell me how to change the font colour of an individual item in a combobox? IE "A-Alpha" = Red "B - Bravo" = Orange "C-Charlie" = Green "D-Delta" = Black Thanks

View Article

Image may be NSFW.
Clik here to view.

Users getting an error when starting my application

Hello ! Just wrote a small console application which converts images into other image file formats. When I am running it on my computer it doesn't give any error messages but when users run it then the...

View Article

VS 2010 Databound comboboxes repeating data

I have several comboboxes on various tabs which I want to load from the database to give a simple list of student names and group names. The problem is, if I have 2 comboboxes for the student names,...

View Article

VS 2010 listview - count checked items

Hope someone can help.......... Code:     Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged         If CheckBox1.Checked...

View Article


VS 2012 Req: Correct procedure for ComboBox

From a previous project and having a dropdown list from using the code below to open the selected url, how do I change this by adding the dblclick command? Code: Dim items As New Dictionary(Of String,...

View Article

VS 2010 [RESOLVED] Don't quite understand this warning; Access of shared...

Hi, I have a class called InternetDetector that is checking to see if internet is available, and if available, add a Label to a form. I declare the class like this: vb.net Code: Dim id As...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 Form always "on desktop" ; changing form from "on desktop" to topmost...

Hello, I've got the following situation: My program consists currently of two forms: Blue and red. I want both of those to be "on the desktop" aka every other program should be on a higher toplevel...

View Article

VS 2008 DataGridView and button click information sharing question

Hi! I need again some advice. I allow the user to edit a row or add a new row in a datagridview. I then handle the dgv.Validating and dgv.Validated events so I can update the database. Now I added a...

View Article


VS 2010 Canceling/Disposing a TCP Client from a different thread.

I have two threads. One is a backgroundworker which makes a connection with a TCP client and another, the UI thread which has a timer which makes sure that we know when the backgroundworker takes too...

View Article

[SOLVED] Query not working with DataGridView control in VB 2010 Express

I am trying to learn different ways to load a DataGridView control. This code below works just fine: Working Code: '**** Fill DGV with desired Managers     Private Sub Button1_Click(sender As...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Tab Index Problem

Fixed dat sheeeeet Attached Images  

View Article
Browsing all 27349 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>