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

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


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

VS 2008 Logging in usin WebBrowser, Object reference not set to an instance...

Hi, i am making a log-in program for my website running phpBB3 and style called "0mega" So, i have this code: Code:         WebBrowser1.Navigate("http://www.mywebsite.com/ucp.php?mode=login")...

View Article


VS 2010 Threadpooling, async writing, batch processing.

Hello everyone, I need a little help as I have been away from the VB.net programming world for a few years. Project Scope: When an email arrives in outlook from a specific email address, save any...

View Article

Idle time, then... VBScript

I am a new system administrator and for one of my servers I am trying to make a script to run in the background. If idle time goes over 2 minutes, without the mouse moving or keystrokes the webpage...

View Article


How to Delete a record from a SQL Server Database in VB 2010

Using a SQL Server 2008 Express database and VB 2010 Express and Windows Forms. Coming from VB5. After finding a record or moving to a record in my Managers Table, I want to delete the record displayed...

View Article

VS 2010 Adding Row in DataGrid

I tried to add row in a datagrid. Below is the code Code: Dim r As DataRow r = Tbl.NewRow() r("ITEM") = "Section 4(a)" Tbl.Rows.Add(r) The error message told that "Input string was not in a correct...

View Article

Type only numbers in a DGV column

Hello, I have a question about how to limit the keyboard entry in a datagridview cell from a certain column. I have found many answers but all are a bit complicated so I wonder if there is a simpler...

View Article
Browsing all 27349 articles
Browse latest View live