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

Need help with Subtraction and variables

Hello, I have a few If-Then statements and the final one that I need is to basically "subtract 1 from every 5" In my case, for every 5 miles traveled I need to subtract 1 year of life - its a wackly...

View Article


VS 2010 Need help with Multi-form project

Hello, I'm currently working on a project that takes information from multiple selected listboxes each on different forms. From there it's supposed to add a price based on the selected choice but for...

View Article


VS 2010 [RESOLVED] Confused on Random

I just noticed that my random numbers are NOT random. They always start at a certain number, and generate the same sequence every time my program runs anew. Here is an example of my code within the sub...

View Article

Bubble Maker

Could someone please tell me if I am doing this right. I know I am not because it won't work but am I even close? I am trying to take a png file and use that to make a balloon in that shape on a...

View Article

IF, then, Else Functions errors

This may seem like a stupid question but I can't seem to get the IF function to work. I got it to work in an earlier section: Code: If txtSat1.Text = "" Then             If txtSat2.Text = "" Then...

View Article


[Solved] One table not updated using VB 2010 Express and SQL Server 2008...

I have a Managers table and a Dealership table in my SQL Server 2008 Express Database. (I'm new to SQL Server) I am using the code below to update the dataset. Changes to the Dealership table are not...

View Article

Scale Graphics to Image or create custom co-ordinates?

Hey, I am currently working on drawing out wire diagrams , I get all the co-ordinates from another program and simply draw them out in a picture box. vb.net Code: Private Sub test(Optional mark As...

View Article

Inserting flags based on user-input

I have a small software inside which there is a facility to select which country, Now i have a database of around 150 flags uploaded to My.Resources. I first started using this code. Code:       Select...

View Article


Reboot

Hi guys, Instead of using a .cmd file and programming to launch after xx processes, can I launch my form (Reboot form) after all other processes........

View Article


Find out what page as start page

I downloaded a vb.net sample. There are many folders under project as sub-project. Once I open sln file and run it, all folders display on the start page as buttons. How to find out which page is start...

View Article

VS 2010 [RESOLVED] Adding Events To Custom Controls

I have a custom control that has a series of comboboxes. In my application, I programmatically add the control to several programmatically created tabs. When the first combobox value is changed, I...

View Article

[VB.NET] Fill combobox from MySQL!

Hey guys! I've got a combobox, and I need to fill it up with data from a column in a MySQL table. When one of the cells is selected, the data in the cell in the next row(on the right) is displayed in a...

View Article

ado - insert from one DB to another

Hi all, not too sure on how to craft this sql, I want to insert into an access database on a share path, from another access database on a share path, in vb.net using Code:         Dim cmd As...

View Article


Try and Catch with outlook

With this code i send a email with outlook. Code:  Dim application = New Microsoft.Office.Interop.Outlook.Application         Dim outlookEmail =...

View Article

Cant obtain Access Token. Unauthorized exception. Help?

It seems that Dropbox wont let me obtain access token. Any suggestions? Steps 0-3 work fine but it stops on step 4 and gives and 'unauthorized exception' warning. I have entered the correct consumer...

View Article


Connection string to MSSQL 2008 VB.NET

Hi Guys, I'm working on some app which have to connect to the database (MSSQL2008). My connection string looks as follow: Code: #Region "[--------First of all you need database connection be set...

View Article

VS 2010 Alternative to default webbrowser control?

the default webbrowser controls with vb.net 2010 no longer seem able to function with my project. (don't ask me why, they just won't. they stop navigating. LINK) a webbrowser control is still the best...

View Article


VS 2010 Winsock, hamachi, ''The requested address is not valid in its...

Hello all, This is my first post on this forum, so first short introduction, I'm Daniël, a 17 year old programmer with an obsession for aviation... Today i started writing an application to fly...

View Article

VS 2010 Website login with WebBrowser and VB.Net 2010

I am converting an old Access database application over to VB.Net and have run into an issue that I need some help with. In the Access (VBA) application I can automatically login to various websites,...

View Article

VS 2012 DataGridView Combobox Control

Hi guys, Just wondering if there was a way of populating a DataGridView control during runtime so that in one column there could be a few rows set to type string followed by a combobox control cell all...

View Article
Browsing all 27554 articles
Browse latest View live


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