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

Blue highlight in first cell in datagridview on form load

I have a winform with parent table textboxes on the top and two child datagridview's on the bottom. When the form loads the cursor goes to a specific textbox on the form (which is not highlighted) but...

View Article


Well, I didn't THINK I was a total moron, but.....

Hi, folks... been a while since I've been here, but now I find myself banging my head against another wall... The following code reads lines from a serial port (barcode scanner actually), and displays...

View Article


Exclude value from array

Hey I am just going through some code to make a tiny change and wanted to confirm if there is another way. So I have this line of code Dim _A As System.Collections.BitArray . .. ... Return _A.Cast(Of...

View Article

VS 2010 [RESOLVED] Change string value from a function?

Is it possible to change the value of a string from a function, because I'm having a problem here? The general idea would be like below, but the string will not change, so is there any way I make that...

View Article

Error log, Maintenance plan, flow chart? For Vb.net

So yesterday I created 2 programs for my Finals in Computer Programming 1. I made a program that finds the average of 15 grades and prints A B C D F depending on the grade you got. I also made a...

View Article


Question about collision

I'm doing some follow-up work on a project that I have and it moves a panel(or picturebox) that's moving inside a panel. The code goes something along the lines of this inside a timer: Code: Static x...

View Article

File Stream Problems

I am making a project for my grade eleven computer science project. It is a program where you input your date of birth and it returns you the following: Luckynumbers What day of the week you were born...

View Article

VS 2010 Load data in DGV based on the values using NOT IN Clause

Hi all, I am trying a simple employee management system in vb.net 2010 and MS Access 2003 I have a task, In form1 their is a button and a DGV if the user click the button, list of employee names will...

View Article


Surely someone knows how to get better than 640X480 resolution from a web cam??

I have a Logitec Pro 9000 webcam that can take pictures at 1600X1200 resolution. I am trying desperately to find out how to capture the preview image. I have used AVIcap32.dl and this seems to only go...

View Article


vb.net and add parameter method

Hi All, I have tried to find examples of the add parameter method of inserting but most i see don't make sense. below is my sql statement and vb.net code that inserts it, the reason I wish to use add...

View Article

VS 2010 Matching Text in a String

I'm attempting to match multiple lines through Regex, but it doesn't seem to be working how it should. Is there another method that I'm overlooking? What I'm trying to match is simple, and only appears...

View Article

VS 2010 splitting a multiline textbox - help

guys im trying to split a multiline textbox containting for example 100 line each line in the form of Firstname:Lastname , i tried to split them at the : delimeter and getting the Firstname and...

View Article

VS 2010 Intersecting lines

Been a while since I have written any code and I am attempting to write an app for general public use, whereby I start with a small drawn circle and keep enlarging it until it hits a boundary line of...

View Article


Image may be NSFW.
Clik here to view.

Visual Basic or PHP / SQL? (Need Advice)

I need to know if I should create this project as a visual basic windows application or if I should make it in PHP/SQL. Basically I'm trying to use this application (or web form) to edit or add to an...

View Article

[RESOLVED] application lock

I've got a application where on my menu i've got a option called "Lock" My form will become disabled and a window form will open where a user has to enter their password correct to unlock the...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Help with automatic web navigation using a WebBrowser component

I'm doing a bot for an online game, the program consists on a series of tabs, the first one contains the webBrowser component that automatically navigates, and I need to do some automatic web actions...

View Article

VS 2010 SendKeys - Hold Down a Key

Hey guys! It's been awhile. I've Googl(ed?) this for a few hours and can't seem to find a straight forward answer. I'm working on a program and I can't seem to figure out how to make SendKeys actually...

View Article


VS 2008 Highlight numbers using regex

Hello guys, I am a beginer in vb.net and I have a question about regular expressions: I want to highlight in a richtextbox only telephone numbers...from a phrase or a sentence. Is it possible? Thanks...

View Article

[VB 2010] Autocaps problem

Hi All, i have been teaching myself for a few days how to code in visual basic and i am writing a small program that will help me at work. i have got the program to turn on the caps with the program i...

View Article

HTTPWEBREQUEST current url

Please could some one share with me how you get the current url from http webrequest Cheers Joel

View Article
Browsing all 27186 articles
Browse latest View live


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