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

VS 2010 [RESOLVED] Need help with update command

I am try to update some records on a database using the following commands Dim command As New SqlCommand("UPDATE Itemcodes SET SalePrice = '" & SellPrice & "' WHERE ItemCode = '" & CodeAN...

View Article


Save picturebox on form closing in vb.net

Hi,how to save picturebox on form closing ? This code doesn't work at all i tried many methods to fix this problem i can't figure out it. Code: my.settings = picturebox.tag My.Settings.Save() I tried...

View Article


Choosing best report (rdlc) strategy from 3 un-related table into one report

Good afternoon All, I have a question - I am still in learning curve on VB.Net programming. I am making a windows application (.Net4) for small Sunday school. This is my challenge and I would love to...

View Article

Building Charts

Hi Guys Need some help. I need a chart which with the following description: Black Background White Grid No Numbers on Axis I can get the black background.. but can't find a color control for the grid...

View Article

Image may be NSFW.
Clik here to view.

Loop for a web bot

well, i'm working in a bot for a web page, i know how to get the values of things that i want, but i have a problem. When i do that.. Code:             Dim allelements As HtmlElementCollection =...

View Article


[RESOLVED] Take data from listbox in form1 and put it in listbox from form2

I have two forms in my project. Form1 Has data in it's listbox I need Form2 to copy that data and put it in the listbox on form2 I was thinking: ListBox1.Items = Form1.ListBox1.Items Would work, but it...

View Article

VS 2010 Looking for projects to help learn VB.

I just recently started working with VB for school, but the class is kinda going slow. I'm looking for simple games, or other things of the like that I can look at, and find a way to code. I only have...

View Article

Format String Textbox

Basically my code is good but using P0 it multiplies the value inserted in the textbox by 100, since it user input I need it to display exactly what they type just a percentage. Also the value come...

View Article


VS 2010 Small Clarification Required.

Hi, Can any body please tell me the difference between: Dim Temp() as Byte and Dim Temp as Byte() Also if I have to return array of bytes as in first case via a function how can it be done so. Say,...

View Article


Using the ImageListView tool in Windows Forms

Hi I am using an open source external tool called ImageListView for use in a usercontrol. I am running visual studio 2010 and programming in vb using the 4.0 .net framework. I'm trying to customise the...

View Article

VS 2012 webbrowser problem

PROBLEM 1: I have this html file that will show a video but everytime I increase its height, nothing happens but when I increase its width, both width and height change. but what I want to achieve is...

View Article

VS 2010 How do I have a label that counts ListBox entries?

Hi all! Long time viewer, first time poster :) I've just got a fairly simple coding question. When I press the "confirm" button on my form, it creates a new entry into my ListBox. Now, I want to have a...

View Article

Control external hardware

I want to, for example, turn on an LED using VB.Net. The thing is, I realized I cannot use an USB (although it has 2 cables for data, I could find no way of sending no current on a cable so I could use...

View Article


VS 2010 [RESOLVED] Insert Into

Hi everyone I am using VB.net 2010 using sql server 2008. I am saving record using insert into "Insert Into TBLImportInquiryMaster (EntryNo, EntryDate, ImportTerms, ReplyDate, SupplierName,...

View Article

VS 2008 New instance of webbrowser

Hello, I have programming problem which I don't know how to solve so I need help. My program have (among others) one webbrowser control on it for showing html. Under click event of button "Print" I...

View Article


VS 2012 Status Bar

Hello. Is anyone able to help me with regards to a status bar. When I add items to the status bar, ie. labels, it piles them all in one area, how do i split them up so certain labels are placed across...

View Article

A twitter client source code?

What I want to do is login to twitter, tweet (text-only) and log out. I wanted to do this in VB6 as my main application is written in VB6 but apparently it's impossible. I was wondering if anybody has...

View Article


Simple question help :)

how do i Create code that counts the number of square nums in my array. As well as makes a text file called squares.txt and also how do i choose the output destination, with all the numbers in my array?

View Article

[RESOLVED] Ampersand

Dear All, I am using VB.Net 2008 on MS Windows XP, and I would like to know why I cannot use, “&”, in labels. if this has been asked before, i aplogize, but i could find no answer using google....

View Article

VS 2010 Get the duration of an audio file

I have made a media player in which I want to add a progressbar. To get this working I need to be able to get the duration of the file that's being played at that moment. Can anyone tell me how I can...

View Article
Browsing all 27243 articles
Browse latest View live


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