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

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

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


[RESOLVED] Perform double-click in Listbox through code?

All I am trying to do is have the Listbox double-clicked via code when a button is clicked - 'Listbox1.PerformDoubleClick()' doesn't work (I just assumed that would work) - This is the only thing so...

View Article

Edit a String

In Excel to edit a string by: out=Left(str,3), out=Right(str,2) or out=Left(Right(str,5),2). How do you do it in Visual Basic?

View Article

Save and Save As Buttons

Hello Guys! I'm a new member here, and i would like your help. So I'm trying to develop an advanced text editor using vb.net and currently in the saving process... So I created this button for the Save...

View Article


VS 2008 regex for numbers

I'm trying to scrape the number 38,111 from the below string. What is the regex? I tried using [0-9].*[0-9] but it didn't work because 100 is in the string. #38,111 in Health & Personal Care (See...

View Article


VS 2010 Textbox

Hello everyone, Just a quick question, how do I get it so the textbox has dots at the bottom and each time I press a key, the key that I pressed adds the letter on top of the dot, very hard to explain,...

View Article

TableLayoutPanel - detecting if label inside table is "too long" to fit

Hi all, new to using TableLayoutPanel ... I am inserting labels into cells programatically, but have run into cases where the label is too long to fit... so it is truncated. With variable width fonts,...

View Article

Send keys to game using visual basic application

Hi I'm sorry to ask this but I like cheating in games Ive completed and creating trainers for the games so here is what I'm trying to do. I have started a project in visual basic 2008. It has two...

View Article

My friend got this error: Error 1 Unable to copy file obj\x86\Debug\blala

Hi! Can some1 help my friend? He gets the error "My friend got this error: Error 1 Unable to copy file obj\x86\Debug\blala" Thx.

View Article


VS 2010 [RESOLVED] Saving an Array to a file

I have a 2d array of boolean data that I want to save to a a file and then later read it back, when I re-start my program. Is there a really easy way to do this? I have tried the following, but have...

View Article

Visual Basic 2010 listbox question

ok so i am using vb2010 and I have created two listboxes and a textbox and a button. the first list box has a my list in it like seen below: U-Ad ($350) Striker ($190) New Ad ($250) Samson ($530) as...

View Article


VS 2010 Serialization path question

I've never had to do serialization before, I've messed around with it and can do it, but I've been serializing to a hard-coded location like "c:/serialize.xml". Now that I'm wanting to publish the...

View Article

Merging two txt files into new file

Hi there! I'm working on an app that merges two txt files ( Input1.txt , Input2.txt ) and create a new file (Collection.txt). What I did so far is this : Code: Public Class Form1     Private Sub...

View Article


[RESOLVED] Conversion Problem???

Hi guys.. i am having problems with this code: Code: dsNewRow.Item(4) = 6.41 * CDec(DateDiff(DateInterval.Hour, TxtTimein.Text, TxtTimeOut.Text)) It just doesn't allow it. i have option strict on. it...

View Article

Concurrency violation

Got this error: Concurrency violation: the Delete Command affected 0 of the expected 1 records. on a database update line. Only happens every so often. Please explain this error

View Article

MdiParent with changing MdiChildren Titles

Basically, I have 2 or 3 MdiChildren forms that have the ability for their title to change at any given time. I have the window list auto-built via .NET's lovely MenuStrip-MdiClient help, but, the...

View Article
Browsing all 27329 articles
Browse latest View live


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