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

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


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

Sound doesn't play instantly...but wait for next operation to complete!

I've a big interrogation concerning sound playback (WMP.lib)! This code should play a sound, then compute...but it computes then play the sound! Code: Class MainWindow     Dim writingPath As String =...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 Creating/operating textbox's

Hi everybody, After some research, I’ve missed to find out solution to this problem: I’m using VB to read a 4 sensor kit. Up till now I’ve been able to read and interrogate the kit. To improve my work...

View Article

VS 2010 Help with reading a text file please

Hello there everyone! I need help with my VB project. I want a textbox to say a directory and then whatever it is /item.cfg So I want it to edit the texts in item.cfg And all the lines of text in there...

View Article


String Encryption?

Hello VBForums. I'm currently making a screenshot tool that uploads the image to my server, and I'm going to be releasing it to the public. I uploaded a pre-alpha build to one of my friends cracked it...

View Article

VS 2012 CSV Double Quotes and Commas

I am trying to read a CSV file and some of the line are in quotes and might contain commas. How do I remove the quotes and remove any commas while splitting this into an array? Any help would be...

View Article


how to make form scrollable follow by object in that form

hi..im newbie code here..i thing this is the basic problem but i dont have an idea by my newbie level now. i want to create an application, that have many picturebox.. that picturebox will display in...

View Article

VS 2012 Convert URL into string

Hello, I'm making a web browser that records the URL every time it navigates. I need for that URL to be in a string format. I think I should be using Code: WebBrowser1.Url.ToString but I don't know how...

View Article

[RESOLVED] Anybody know their Excel Format Strings?

I'm using a third party API for the creation of Excel Spreadsheets from VB.NET. I can set number formats like this: Code: Sub CellStyle(ByVal ws As ExcelWorksheet)   ws.Cells(row, 1).Value =...

View Article
Browsing all 27415 articles
Browse latest View live


Latest Images

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