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

Adding a series to the chart without overwriting the last one

I must be doing something wrong. When I add a second series it overwrites the original. I think it has something to do with the datatables generating their own axis values. Any ideas for a workaround?...

View Article


Ambiguous in the namespace issue, even after removing previous control

I was using a control in my application and then decided to make some customizations to it so I modified the control and built it and removed the old control from my project and dropped the new one in....

View Article


VS 2010 Need to read Registry binary

Basically, my code Code:   Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load         Dim readValue As String         readValue = My.Computer.Registry.GetValue _...

View Article

VS 2008 How to stream windows console's output to a listbox?

Hi, I'm very new to VB.NET. I'm trying to capture the text shown in a batch file when executed, and show it in a listbox in real time. I Have tested many codes but none of them worked. I think it's not...

View Article

Trim text...

Hey gang! Simple question here... I'm trying to remove the beginning of a string of text that contains the users name and information. Username: This is the info i need What I'd like to do is remove...

View Article


Format Textbox as negative Currency only

I have 2 textboxes that are formated as currency but one is only going to be for negative currency like a coupon... say $.50 off. So my current code is Code: txtCoupon_Validating(ByVal sender As...

View Article

VS 2008 Little Help About Vb.Net Applications

I was wondering, is there a way that A Vb.Net Made Application Unable to decompress i mean there are people that ruins our works by decompressing it and using the codes without crediting and without...

View Article

VS 2010 button behavior to avoid multiple clicks

hi I have a button which becomes grayed and inactive when you click on it but if you clicked two or more times instantly it memorize all clicks despite that Private Sub Button1_Click(ByVal sender As...

View Article


VS 2010 A Bit Of Help Please

Is there anyway I could extract text from a website and place it into a textbox? The only ways I've found are just how to extract the source of the site, but never the actual data that I need. Is there...

View Article


VS 2010 A student problem :/

Hi, I am a student and my teacher has given me a task for my christmas vacation. I am working with Visual Basic 2010. Sorry for my bad English, I will try to tell the task clearly. So... lastly we were...

View Article

VS 2010 Form removing zeros when saving

I have two different forms that use datasets to save data to access database files. Each form saves to different files that are setup the same way, just in different locations. Both forms use textboxes...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] VS 2012 - Database addnew

Hi guys I have just installed visual studio 2012 and tried to find my answer on google but its useless :( . So im asking you first off all is there any youtube channel or website to learn visual basic...

View Article

VS 2010 Index was outside the bounds of the array

Hi All, I have the following file, with blank row after every section: Code: Country - Levski;Team oper;A;E1914;BGR.BGN - LV - 19140101; Napravlenie kategoria;Validno ot;Vremevi paket. referencia;obekt...

View Article


VS 2008 Set programmatically the maximizebox click

Hi, I inserted a datagridview in my application and I set its width like this: dgvNumber.width = 50 When the user clicks the maximizeBox, I want the width of that datagridview to be set automatically...

View Article

VS 2010 Server to send messages to multiple clients

Hi Guys, I'm working on a project that would use a server and multiple client PCs. Here's what I want to do: Attachment 94643 multiple clients are connected to the server. The server can then enable or...

View Article


play different sounds from resources using dim string?

I have this code: Code:   For i As Integer = 1 To 4             Dim btn As Control = Me.Controls("button" & i.ToString())             bttn.Add(btn)             Dim beepx As String =...

View Article

Sending text to a RTB

I just started programming in VB again so I forgot a lot :(. Anyways can anyone tell me how to make a button send text to a RichTextBox? Thanks ahead of time to anyone who replies.

View Article


Find bytes in big file and get position *URGENT*

Hi all, Please anyone can help me out with sample of code to find sequence of bytes in 1 large file and return the decimal offset where the byte starts in the file? I'm trying to solve this for days...

View Article

VS 2010 Run As Service

I have a Windows Forms App made in VB.NET that I would like to run as a service. There is no gui. :) How do I do it?

View Article

Actions per minute

My goal for this is to keep track of the number of times the user presses the following buttons: Left/Right Click Q W E Space Bar The users won't be inputting any of these actions directly to the form...

View Article
Browsing all 27203 articles
Browse latest View live