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

VS 2010 [RESOLVED] Rename a file

Hi, I was hoping someone could offer me a little help please? I'm looking at a way to rename files in VS 2010, now I would use the following method Code:...

View Article


VS 2008 Web Browser in two forms?

Hello everyone, I am very confused with this. I have one web browser in "Form1." I added another form called "Form2." I am trying to have a button in "Form2" so that when someone clicks on the button,...

View Article


Get HtmlElementCollection From HttpWebRequest

So im using this function to go to websites Code: Function Website(ByVal Link As String, ByRef Cookie As CookieContainer)         Dim request As HttpWebRequest = DirectCast(WebRequest.Create(Link),...

View Article

Change a Pretest to a post test

Change a Pretest to a post test My instructions for this assignment is to changing the pretest loop to a post test? I've gone over the text book and can get all the definitions but can't find how to...

View Article

Image may be NSFW.
Clik here to view.

One textbox, user input array

Attachment 98085 Extreme beginner to VB. I have to create something that looks like this and make it so that the user can only put in a max of 10 grades. It's required to use an array, and the major...

View Article


VS 2010 Adding directory names to a listbox

Hello! I haven't been programming much, but dabble in it once in a while because it's fun. But I've been stuck with this issue that I thought would be fairly easy to solve, unfortunately it doesn't...

View Article

[RESOLVED] Transaction Puzzle

I have to run off for a brief walk (doesn't even count as a hike), but let me toss out a puzzle that I have been making no headway on in case somebody can tell me what to look at next. There is no...

View Article

Getting Balance from selections made in program (Visual Basic)

Hello, I am trying to get the balance from a program that I wrote, but seem to be having a little trouble with it. The formula for getting balance in this program is (balance = balance * (1 +...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Help with Code, PLEASE

I am attempting to populate a drop down from a text file, the cod is below, and I've attached a data file I'm getting the text from. Help if you can, What's happenuing is if i rem out the lower code,...

View Article


Getting a random image from a database?

Would anyone know how to retrieve a dataset of images from a database and then randomly select one? Thanks,

View Article

Result Error

Hi, im new in this forum, so actually, I guess this is the right section, and I guess that I'm not doing anything wrong. Well. I was working in a project, and everything was alright, until I got this...

View Article

VS 2010 [RESOLVED] Quick question on Class properties

Hi guys. I have a newbie question: Is there any substancial difference when creating properties for a class this way: vb.net Code: Public Class Invoice     Public Property customerName As String End...

View Article

Calculation not working correctly

Could somebody please help me out with getting my calculation to work. What I am trying to do is, if textbox31 is a negative number then it needs to subject textbox31 from textbox1 to get a bigger...

View Article


MS OFFice Container in VB.Net

First, I'm not sure if this belongs here or in the Office Development Forum but it seem it is VB at the core to me anyhow. I have spent most of a week lurking around the web for solution to my problem:...

View Article

VS 2010 VB Downloader not working

What I want the program to do/What is happening. How come this doesn't work??? I want the user to select one of the following items in a listbox and the direct link will appear in the DwlLocation...

View Article


VS 2010 Can someone help me change these into currency expressions?

lblDomestic.Text = Cstr(dblDomestic(CInt(txtMonth.Text)-1)) and lblTotal.Text = Cstr(dblDomesticTotal + dblInternationalTotal) I need for them to be displayed as currency. Please Help!

View Article

[RESOLVED] System.Media.SoundPlayer class? How to get sound stopped playing?

I tried to setup the soundplayer to play a wav file when clicking in a picturebox. This works synchronously and asynchronously except for the following problem. When playing synchronously, if I click...

View Article


How to stop events from firing while waiting for something to finish.

Alright, I have the following problem. I click in a picturebox. A timer runs for 10 seconds before letting you click again. However, if you click several places, then when the 10 seconds are up, the...

View Article

Press and Hold Button

Hello all, I'm trying to make a toggle button that when enabled will allow the next click to mimic a left click without release operation (ie. a press and hold). The way I'm trying to approach this is...

View Article

VS 2010 How to set focus (activate) other application from my app?

Hello, I am frustrated :( Searched all night long, even Google gave up. What I am trying to do is to focus other application that currently running by its processID or windowTitle or by ID only...

View Article
Browsing all 27034 articles
Browse latest View live


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