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

VS 2010 Can't open any forms in design mode

I have just upgraded from Vista HP to Windows 7 HP and in my first use of VB 2010 Express since the upgrade I find I can't open any forms in design mode. When I try I get the error "The designer loader...

View Article


VS 2010 Printing selection from Datagridview

On my datagridview I have 3 columns, when a user uses the search box for a product or word e.g. blue, only so many words appear in column A, if I highlight those words and press the Printer option I...

View Article


help making code more concise and shorter

I have a calculator ive made and it works and everything and you can add, subtract, divide up to 8 numbers like say put in the 1st number then 2nd etc... but its almost 1,000 lines of code and im...

View Article

VS 2012 Save changes to Dataset from different TableAdapters

Hello everyone, Can someone please tell me why when i press the button to save the changes on several textboxe´s that i have from diferente tables, if i press the button it only save the changes from...

View Article

How can I delete a record in a database without deleting it's related records?

I have a customer table and an order table and I want to give the user the option to delete a customer from the database without deleting that customer's orders as deleting the orders would mess up the...

View Article


VS 2010 Combobox dropdown

I'd like to create a simple combobox dropdown, so when opened gives a list of websites, when one of them is selected, loads the website. On the form when adding a combobox is there not something in the...

View Article

Image may be NSFW.
Clik here to view.

Noob: 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

VS 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 Article


Image may be NSFW.
Clik here to view.

VS 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 Article


VS 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 Article

Radio 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 Article

Image may be NSFW.
Clik here to view.

VS 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 Article

Starting 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 Article


Image may be NSFW.
Clik here to view.

[RESOLVED] vb.net 2012 - Datagridview - Add summary rows

Heres my issue... my wifes website lets you order flowers. After the order is submitted, it will show on a special page for her. I am creating a PointOfSale system that will pull this data right into...

View Article

VS 2010 How to set a number of selections in a listview

Hello, my friends. Here again asking for your help. I have a combobox, where a user choosses a number. Then, that user will select rows from a listview up to that number. I just do not know how make...

View Article


VS 2010 Var being used - help

Hi, Can someone throw me a bone, I don't know a fix for this: Code: Warning        1        Variable 'progName' is used before it has been assigned a value. A null reference exception could result at...

View Article

VS 2008 processes

I have a process that is called from within vb2008 code, and if it is the first time the user asks to start a process, then go start it. If it is already running, then I want to maximize the window vs...

View Article


[RESOLVED] What's wrong with my MessageBox ?

Hi, I'm trying to get a return result from a MessageBox like this: vb.net Code: Private Sub Button9_Click(sender As System.Object, e As System.EventArgs) Handles Button9.Click        Dim ask As String...

View Article

Supress Driver Dialoge Promt?

Hey, I am working with a printer, where every time the print command is sent, a prompt pops up asking for a 'filename' I am trying to find the best way to hide this from the user, I do not want...

View Article

Reference to caller form's public variable/function

There' a form(formA) which calls another form(formB). formA calls formB like this. Using frm As New formB frm.ShowDialog(Me) End Using In formB, refer to formA's control like this. CType(Me.Owner,...

View Article
Browsing all 27349 articles
Browse latest View live


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