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

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 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


Sorting zeroes and ones

Since my last thread didn't go over too well, I decided to try something different... This time I can't figure out how to sort a string 8 bits in length. The string starts out as 10001000 and depending...

View Article

Image may be NSFW.
Clik here to view.

VB2012, enable to import table contents

I'm using VB2012 and I cannot import table data from an access file. The data linking works but VB won't let me drag content from 'Tables' in Database Explorer to my current form. I remember doing this...

View Article

Serial port DataReceived event not getting all data

Hi all! I am using the serial.datareceived event to call a sub and display the data in a rich textbox. It all works great when I run the app. The problem is that I want to get certain data out of the...

View Article

VS 2012 Serialize object to XML

Here is my code to serialize an object to XML: Code:     Public Sub SerializeObjectToXML(FileName As String, ObjectToSerialize As Object, ObjectType As Type)         Dim Serializer As New...

View Article


VS 2012 HttpWebRequest using sockets

Is it possible to make a web request using sockets? I am still studying about socket programming in VB.net and i wanted to upgrade my web request code using sockets. Here is my web request code: Code:...

View Article

VS 2012 get identity column value

How to get recent identity column value. I am adding new row not by using insert command. I am using datarow.add command to insert it.

View Article


Image may be NSFW.
Clik here to view.

Listview of global hotkeys

How can I code a listview where I will be able to register global hotkey's. When each global hotkey is presses the 3rd column's pass string should be copied to the clipboard. This is the code i have so...

View Article

sending data on rs232 every sec

Hi All! how to send a character at the start of every seconds on serial port in Visual Basic 2010? Thanks in advance. nsec

View Article


Alternate the colours in ListView

Hi, I have a list view which is populated using thefunctions below. Now, I want to to alternate the rows so that one is white and the other is grey.. How can I achieve that if am working with Visual...

View Article

[RESOLVED] Special folder enumeration returning odd value

I'm trying to create an xml file, however whenever I set the path name it returns Personal\login.xml instead of the mydocuments path. Currently this is what I'm using: Code: path =...

View Article

[RESOLVED] So Many Questions

BackGround: I've been experimenting with MEF and custom attributes. What I came up with to try and do is to come up with a simple application that loads up DLL's that contains forms. The idea with this...

View Article
Browsing all 27083 articles
Browse latest View live


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