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

How to sort items in the Me.Controls collection

I have the code below which works great. However, what I really want is to sort the Controls collection in the order that I have set the TabIndex of the controls. Haven't quite figured it out.... Code:...

View Article


VS 2010 An actual dictionary

Alright, for my program I want the user to be able to enter a word, the program searches to check if that word is real, and if it is continues the process. If not, cancels it. There were two options...

View Article


VS 2012 How to do scraping off an existing web app?

Hi! I have been tasked with building a PCL (portable class library) that will fetch data from an existing web page (built ages ago in java I think). It is an https web page and I have to log in to it....

View Article

New records should be appeared on top of datagridview ?

Hi guys, I am working on a project in which datagridview is being populated from MS Access 2007 and users have rights to add new record in MS Access database. So I want that every time when form loads...

View Article

[RESOLVED] GetKeyboardState output

I'm trying to understand the output of GetKeyboardState but i cannot. I tried to interpret the output with the following code, Code: Option Strict On Option Explicit On Imports System.Text Imports...

View Article


Need quick help!

Hello everyone. I just started working on a new project for writing files for a certain game . Anyways, what I was wanting to do was this: Code: Dim Login As String  Login =...

View Article

web browser problem

please i need help to complete this project, i develop a web browser in visual studio with two panel in one form,all i want the web browser to do is "when i log in into my gmail account in one panel"...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Sorting Specific Column in ListView

Hello Everyone..I hope someone can help me out a little here. I'm currently loading some information into a ListView box and I'm trying to sort the items by the date shown - but it doesn't appear to be...

View Article


VS 2012 Middle alignment

How is the middle alignment calculated between two controls with different heights? Is it basically just an average?

View Article


VS 2012 Looping with WebBrowser and DocumentCompleted

As part of a migration project I create a WinForm app to scrape data from several areas of a client’s webpage. On part is complete but the next requires looping thru a series of pages and I’m trying to...

View Article

Help on going about a Card Game

Hello, I am fairly new to programming and am currently undergoing a practical task which is to basically create a program using Visual Basic.There are no limitations besides that it must be used with...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Background color of multiple labels

I've created 10 labels in runtime. They're ordered in horizontal, so when one finishes the other starts. In the program I introduce random letters. Some letters have a black value, other letters have a...

View Article

Variable 'Di' is used before it has been assigned a value. A null reference ...

What is the right way to do this??? Code: Public Sub TreeView1_DoubleClick(sender As Object, e As EventArgs) Handles TreeView1.DoubleClick         Dim rootDi As New DirectoryInfo(currDrive)         Dim...

View Article


calling a subroutine/fucntion from insdie Private Sub...

Hello. I don't know how to "invoke" a subroutine from inside the Private Sub SerialPort1_DataReceived. I want to blink a label every time the RS-232 received something. Once the Private Sub...

View Article

VS 2005 Rename files using wildcard

I need to loop through and rename file extension for all files starting with P to .txt extension. Does someone we a code snippet? Thank you.

View Article


Encryption - Maybe?

Hi All, A little history first... I'm writing a windows application for me and a few friends. It is very simple. It checks for the external IP address of a server and if it has changed from a...

View Article

VS 2012 Need help with coding a certain algorithm

Hi! Im stuck on a problem I have. My task is to create an in memory object structure based on the content of an excel file. The excel file represent widgets that can exist in an object hierarchy. The...

View Article


Random.Next generating same value repeatedly?

Code: Public Class TestObject     Public Property RandomNumber As Integer     Private rand As Random     Public Sub New()         rand = New Random         Me.RandomNumber = rand.Next(0, 10000)...

View Article

how to disable ReceivedBytesThreshold...

is there a way to disable ReceivedBytesThreshold when using VB.NET? I don't want the system to interrupt all the time. At some point I would rather loop and wait for a serial received byte. Please...

View Article

Image may be NSFW.
Clik here to view.

Listview and String problems...

Ok.. The code I have works, however... I have to use a messagebox to display all of the users from a single group. I'm trying to figure out how to add then to a string array and display them on a...

View Article
Browsing all 27056 articles
Browse latest View live