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

VS 2010 Code Generation for property 'UpdateOrder' failed'

Hello, I am trying to connect to an access database from my solution, and have ran into an issue. When compiling to program to run it, I receive the following error: "'Code Generation for property...

View Article


OLE Combobox Rowsource

Well ive gone through a handfull of coding, i have a column with multiple information to send to a handfull of comboboxes on my form. I know to do this i have to set the row source for each combobox...

View Article


ComboBox - Item Add

Hi, Hope you can help. I'm using a combobox for my user to chose an option from which then loads text / items into another combobox. The problem I'm having is that if I keep flicking between comboboxes...

View Article

Win XP / Win 7

I understand my problem well enough, just hope I can explain it clearly. I have a Windows 7 x64 machine on I use VS 2012 Express for development. There is another machine in the server room running Win...

View Article

VS 2008 Secure login system ?

Hi ! I am creating some kind of game, and i would like to add something like Admin panel where you would need to log-in with a username & password and then you could edit some things or others....

View Article


[RESOLVED] If statement out of range exception

I'm getting this weird issue that doesn't make sense to me. I'm trying to use a for value to cycle through different query statements and place these values into an array (tx1val). I have query...

View Article

VS 2012 Removing the Scrollbar from a TabControl.

I am creating a custom-drawn TabControl (overriding OnPaint) and would like to know how I could remove (or hide) the scrollbar so I may add my own, custom scrollbar. I have tried the three methods...

View Article

How to determine the number of rows returned from a Filter instruction in vb...

Using a SQL Server 2008 Express database and VB 2010 Express. I am using the following instruction to search for a duplicate record. ManagersTableBindingSource.Filter = ("MgrLN" = PubMgrLastName And...

View Article


WaitForPageLoad OR wait 3 seconds

Hi all, I used a wait for page load function in the past, but now it seems to be not working after the website has been updated. Most of the content seems to be loaded, including the source, except for...

View Article


[RESOLVED] Radio Button (If/Then) and Hidden Label

Hello, Quick question. I'm coding a program and I want to give the user 1 of two options. When one (default) option is chosen I want a label underneath it to appear and show the description of that...

View Article

How to deactivate the main form

I have a form that cannot activate but when pressing its taskbar button, it got the focus, how can i deactivate it so that the focus goes to the previous focused window. Try this code for example 1-...

View Article

I would like to input hexadecimal numbers in a textbox?

Can I constrain a textbox to take hexadecimal input? 0-9,a-f? or do I have to write a custom function for this. If I have to write one, what would be a good way to do so. I want to use the textbox just...

View Article

[RESOLVED] VB 2010 UI Question

Hi. Making a program with multiple forms. I didn't know that when I started my form1. Currently my form1 is the page that needs to be the second page seen - after a user clicks one of two buttons from...

View Article


Condition in property

hi i have a custom control that have two property one of them is , "inputtype" that user can set it to digits and string another property is "separator" that separate digits (number thousand separator)...

View Article

VS 2012 Find Smallest TimeSpan in List

In Visual Basic.net, what is the best way to find the smallest TimeSpan value in a list of TimeSpans as well as the Index of the TimeSpan in the List? I know that I can sort the List, but how do I find...

View Article


VS 2012 Creating a database form

Hello, I am trying to create an app to interact with a database I have imported into sql server. In visual studio, I remember being able to drag a dataset into the form and it would generate labels and...

View Article

Download File from external website

I am trying to download an excel file from a site which is not my site. I have done the normal googling process to no avail which is why I am posting here. I need to navigate to a site and click a...

View Article


User Input Calculation Change

Hi all, I'm performing a math calculation to find the handicap of a golfer. Right now I have a constant variable defined for the course rating and slope rating, however, i've given the option of...

View Article

VS 2010 getWindowList only seems to work with 'unused' arraylist

Hi, I'm controlling a 3rd party app by watching for dialog boxes it brings up and then closing them. Code:         Dim arraylistWindows2 As New ArrayList         Dim boolDialog_Closed As Boolean...

View Article

VS 2010 Can DataGridView works like an Excel?

Hi, I got an assignment to create a program that is able to do computation like an Excel. I am thinking of using DataGridView but I have doubt about using it since this is my first time. I read through...

View Article
Browsing all 27212 articles
Browse latest View live


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