[RESOLVED] Oledbcommand where....or....or
Hi all, I need a quick response to my problem. I need to write an OLEDBCOMMAND that I cannot figure out how to structure. It should look for an access database for a specified value and check two...
View ArticleVS 2010 F12 Hotkey
I want to be able to press F12 on my keyboard while my program is open and it will start my timer and minimize the program, then when I want my timer to stop I want to press F12 again and it will stop....
View ArticleVB 2010- Read only labels?
Can labels be read only in visual basic 2010?If so, how could I do that?
View ArticleVS 2010 Countdown Timer on a different form
Hello, From Form1, I'm trying to Call a sub on Form2 that displays a countdown timer in a label. First, I tried to it a different way by putting this code in Form1; above the sub "Dim tmrCD As Integer...
View ArticleReferencing a change in value of a database (VB2008)
Hello, I am seeking advice on a small app I am working on. It is a small inventory management program in which I have embedded an Access database into. What I am wondering is, are there any ways to...
View ArticleNeed 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 ArticleVS 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 ArticleVS 2010 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 ArticleVS 2008 How to cast datakey in a DataBinding
Hello! I have a DataGridView which is bound to a DataTable populated from database. I have added a ComboBoxColumn to the DataGridView. The first two ComboBoxColumns get populated from a DataTable...
View ArticleVS 2010 Make Vb.net desktop application with sql server 2008 databse...
Hai All, I have made a desktop application in Visual studio 2010 in vb.net with sql server 2008 as backend.I have made the setup of the project ,with sql database to be created using installer class...
View ArticleRandom Picture Box Generation
Hey guise, newbie here. I would like a little help with some implementation in my game. I'm a little confused as to how I would make picture boxes generate randomly on the form with random images...
View ArticleVS 2008 Get values from a file and put them to a DomainDropDown
Hi ! I need some help.What im trying to do: I want to store some kind of XYZ positions and their names in a file that should be in the same directory as the application is.Then i want my app to read...
View ArticleVS 2010 how to access files added to the project?
Hi folks. In the solution explorer I have created a pics folder, then added files to the folder. I could use "Me.PictureBox1.ImageLocation = path" for pic files that have not been added to the project....
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 ArticleScale 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 ArticleInserting 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 ArticleReboot
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 ArticleFind 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 ArticleVS 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