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

VS 2010 Unable to read beyond the End of Stream Error

Hi, I am working on a programme for a school. I am having an 'Unable to read beyond the end of stream error'. The issue is when changing a password. I am using random access .dat files. After watching...

View Article


Access error?

I created a system maintenance program, and for the most part I have it all working well, but there are a few functions to the program that keep throwing up access errors when I try to use them, and it...

View Article


Dns.GetHostByName is Obsolete ???

I'm using a simple function to get the local IP address of the workstation. Code: Private Function GetIPAddress() As String         Dim strHostName As String         Dim strIPAddress As String...

View Article

VS 2010 Stop RectangleShape flickering on form resizing?

I've a form where I add a panel1 control to add 3D borderstyle In that panel I add a RectangleShape1 control. The problem is when resizing the form the RectangleShape flicks a lot. Even if the...

View Article

Simple Mysql Help Needed

Hey guys, This is my first post to these forums. I've just recently started playing around with visual basic and used to be pretty familiar with it quite a few years ago. I still remember bits and...

View Article


To be able to target your test project...

Hi Guys Just wondering if anyone can shed any light on this. I've joined a company where I need to work on a solution with another developer using VS2010 SP1 but targetting framework 3.5. This solution...

View Article

VS 2010 Plot multiple series on a chart with respect to date & time

Hi All, Stuck on this for 3 days now, so time to call in the cavalry ! Can anyone throw some light on this because there is very little on the internet. I have a dataset with associated datatables...

View Article

[RESOLVED] Transferring items from a listbox to a textbox on a double click

The title says it all. The tricky part is that I need to select a certain part of the text to be transferred. Lets say, your listbox has the following item: Hello, my name is... You only want to...

View Article


VS 2010 Text files

How do I append data to a text file one line at a time, such as a vbcr or vbcrlf

View Article


How to modify my background worker to properly cancel?

I have a form that contains a BindingSource and a BackGroundWorker. While navigating records, on the BindingSource.PositionChanged event, I run the BackGroundWorker to pull data from a different...

View Article

VS 2012 Need to identify and reject decimal numbers when input by user

I am creating a very basic program, which relies upon the user inputting a number (variable) which I have declared as an integer. Because it is an integer the number input needs to be a whole number,...

View Article

VS 2010 [RESOLVED] BindingSource.Filter on Null Values

I have created a filter on a datagridview that gets fired by the user typing into a number of textboxes. So for example the fields to filter on are DocID, BatchID etc All works fine unless there is a...

View Article

Error Help: Could not load file or assembly 'DocumentFormat.OpenXml' or one...

Full Error: Could not load file or assembly 'DocumentFormat.OpenXml' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070) Drive has 30 GB Free. The...

View Article


Problem Changing System Date

Hello, I am trying to change the system date by code. Code: Today =  "10/11/2013" Whatever Today date I use, the system date changes to "06/06/2012" I am running the program as administrator. Any idea...

View Article

Adding A TabPage From Its Index

Below is an attempt to make a button that will remove all tabpages, then add them back through their indexes. StartPage is the starting index, and Current Pages is the total tabpages. How should this...

View Article


Make a button do something differently on second click.

I'm making a program which will make the IP of the user change on a click of a button in a web browser created in Vb. I would like it to be able to change it to a different IP on the second click. I'm...

View Article

Copy code to laptop

Hi Guys I have written a small programme using VB 2010 I now want to copy the code and the form to my laptop wich is XP If I try to copy the programme onto my memery stick and then put it into my...

View Article


Image Display Question

I'm making a personal film manager/database app and I want to implement a feature that displays the poster images of a film. I found this thread which displays an image given the image url. I found...

View Article

VS 2012 [RESOLVED] Problems with drawing graphics

Hello, I am currently working on a Blackjack game for class, and it has gone smoothly up until now. I am having troubles with "Me.Creategraphics", as when I try to draw a card to the screen, it only...

View Article

VS 2010 Excel to Database

I am attempting to create a VB program that takes a xls file with two columns and uses that information and creates a new record in a database. I am using the OpenFileDialog get the file. How would I...

View Article
Browsing all 27346 articles
Browse latest View live


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