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

VS 2010 Increment the filename if file already exists [Resolved]

Hello everyone , I am new to these forms so please bear with me. I have a project in VB2010 , I have a button which takes a screenshot and then saves it on the hard disk somewhere. I want it so that if...

View Article


VS 2010 How to create a score system based on images

Alright, this is my first time using VB, and I'm using the 2010 express edition. What I'm trying to do is essentially a scrabble game. I created an array and loaded the images I'm using for the tiles,...

View Article


VS 2010 They've all gone white

Hi, I needed to use flood fill on a map program, I have a picture box that displays a map, each country has a label control on it. I found the code which worked ok. I added it to my program, on running...

View Article

VS 2010 Array as property

Some help please. I have created a class Building. This class has 3 properties: BuildingName as string BuildingLevel as integer and BuildingPoints as integer Now I would like the property...

View Article

Image may be NSFW.
Clik here to view.

[HELP]close game when is close app

I can not express in words so I put a picture How? Please Help ME ! Thanks Attached Images  

View Article


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
Browsing all 27189 articles
Browse latest View live