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

Image may be NSFW.
Clik here to view.

Save Button image - suggestions please

For years I've been putting little images on my buttons. Picture of a printer for the print button. Picture of a wrench for the tool s. You know what I mean. But for years my 'Save' button has been a...

View Article


VS 2010 Displaying/Calculating the score in a test.

Hi, I've got a problem with my spelling program where I can't display the correct score at the end of the test. Well, I can't actually display the score at all... Instead, it just displays the actual...

View Article


VS 2010 Which event needed to capture value change in DGV Combobox?

Hi, I have a datagridview where one of the columns is a combobox. I want to add some code which is triggered when the selected item in the combobox is changed, but before the cell is left. The...

View Article

Matching a whole string against a regular expression

Hi Guys I'm not particularly string on regular expressions and this feels like it should be easy but I'm coming unstuck. I'm parsing some input strings and looking to make sure they match a known...

View Article

Store configuration file within app

Hi, I have developed a standalone program, I wonder is it possible to store the configuration details inside the program instead of say creating a new .ini configuration files and read from there? I...

View Article


What events to use for DataGridView?

I have a functional requirement for a Windows App that I do not know how to code. What code I have is working up to a point but because of my lack of knowledge of the DGV, I do not know how to fix the...

View Article

VS 2012 [RESOLVED] Write to existing XML (that has namespace)

Heya, I'm trying to write (create a node) to an existing xml file wich has a namespace. The following code gives "Object reference not set ....": Code: Dim xdoc As New XmlDocument...

View Article

puzzled by object reference not set error

I'm getting an "Object reference not set to an instance of an object" error on the innertext line in the following code: Code:     Private Sub Button1_Click(sender As System.Object, e As...

View Article


VS 2010 Best way to save data in Visual basic

Hi I am working with Visual Basic application on one of my data logging unit in which data speed is 1000 sample per second the data logging unit will run for one or two complete day. Which means for...

View Article


Optimizing custom control question.

Ok so I have a custom tree view control. It has a list of 'group' names for grouping the _datasource in root/child/.../child relationships. In a thread, it is looking for changes to the database and...

View Article

VS 2010 Load contents of a file to datatable

Hi! Never used .csv file for data source so I have a question. I have a file with contents like this: Mike John Evelyn etc. How do I read this file line by line and store names into a datatable so I...

View Article

Image may be NSFW.
Clik here to view.

How to Make Translator Application in VS 2010 ???

if to make the dictionary, I can to make it, but when to make a translator application, my confusion to combine the existing data in the database. for example in a dictionary application that I...

View Article

VS 2010 delete row in datagridview

I have a datagrid with a number of columns. One column is called ‘AwaitingPayment’ and contains a checkbox (Yes/No). How can I delete all rows from my datagridview where checkbox is unchecked ? I came...

View Article


VS 2008 DatetimePicker with MSAccess problem

I have 2 controls on my form, both are datetimepickers. One is to capture a given date and the other is to capture a time (not the present time). I have the first format set as SHORT, the second as...

View Article

CurrencyManager (((((ADD)))) and (EDIT)))

friends; Why this code used for ADD and Edit again How do CurrencyManager (((((((((((((Know))))))))))))))))) this field for add or edit Code: cur.EndCurrentEdit() Dim cmdb As New...

View Article


VS 2012 Database connection methods (Security)

So i have this program that requires a connection to an external database, but as i already know not to put the user/pass credentials into the source code as this would be a risk to all my members...

View Article

How to use flash in web browser?

I'm using a web browser from the toolbox, i want to go to websites which use flash, like chatroulette. The problem is it doesnt work since i dont have flash in the browser. Anyway of fixing this?

View Article


Image may be NSFW.
Clik here to view.

DataGridView Code that can edit and process Cell Data?

I am having a very difficult time in coming up with code for a DataGridView that will edit and process data for certain cells. I have attached a Screenshot that shows what cells (only the selected...

View Article

Image may be NSFW.
Clik here to view.

Error while running the project

I made a new splash screen and a login form but when I try to run the project it gives an error. Please help me!!! Attached Images  

View Article

xml node delete, gives me hard returns

I'm writing a little program that works with xml files, everything goes well except deleting nodes. let's say i've this in my xml file: Code: <?xml version="1.0"?> <collection shelf="mine">...

View Article
Browsing all 27554 articles
Browse latest View live


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