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

Asyncronous File Copy

I'm doing File Copy using System.IO.File.Copy. In case of huge size of file, for example 5GB, and network directory, it takes too long time to complete and block to do other job of program. I want to...

View Article


VS 2010 What's the easiest method of exporting my data to XML?

I'm pulling data from an Access database and placing it into a DataGridView. This is my code: Code: Private Sub PopulateGrid(ByVal sqlQuery As String, ByVal grid As DataGridView)         ' This...

View Article


VS 2010 Logging into my router with VB

Hi Guys, I'm trying to log into my router using VB. I created a form and added a web browser and navigated to the the log in page. The problem arises here, the actual log in is a popup msgbox with...

View Article

Published application wont open

Hi there, I have published and installed my application using the click once publish wizard in vs2010, once it installed the program launches. After exiting I try to re-open the program from the start...

View Article

VS 2010 Loops

Hello I have two listboxes: listbox1 contains the 50 states, listbox2 is to display the states ending in "na". How would I program the button to display the states ending in na? Thanks, Justin

View Article


Unable to find the requested .Net Framework Provider

I have an Access database and I'm wanting to make a VB frontend. I did this years back and it was pretty straight forward. Today I downloaded VS 2012 and tried to create a new Data Source and I pointed...

View Article

VS 2010 Accessing Methods and Subroutines

Hi There I have a project i have been working on for a little while that lives on my server and switches phones around and what not. I don't want to have to log in to my server to use this program and...

View Article

VS 2010 How to efficiently set values in a 2D array

Hello, I've been juggling with this problem for quite a while now... I'm working with 2D arrays in Console, trying to make games where you move around a player character by pressing arrow keys to...

View Article


Fractional part problem

How can i change 14.66666666 to 14.66 i am using like this Dim sum As Double Label6.Text = sum thankyou

View Article


details section in crystal reports printing twice vb 2010.please help me

i am printing a crystal report but the detail section printing twice this is my problem how to solve this problem please help. i am using vs 2010 and crystal reports for vs 2010

View Article

VS 2008 Populate from Database ContextMenu Dropdown

Hello, Hope someone can help me with what is wrong. I've been trying to resolve all day. I'm just trying to load a dropdown in a context menu with data from a data table. I've confirmed the datatable...

View Article

Any kind souls out there

So I procrastinated! And yes i am asking for HW help. Here's the problem: Write a program to deteemine a student GPA. see figure 5.25. the user should enter the grade (A,B,C,D,orF) and the number of...

View Article

VS 2010 Sorting design code via date

I am using VS2012 vb.net and having to write a document associated with my application. Is it possible to 'arrange' or 'sort' code that has been done at design time. I am wanting to log the sequential...

View Article


VS 2005 Persistent Objects in classes

I don't know if i'm doing this right, I have a class that makes a new System.Net.WebClient() as a public varible. If I use that class in multiple scripts, will it keep the same client initialized...

View Article

VS 2010 Richtextbox selected text fontstyle

In my Rtf Editor I can toggle bold, Italic, and underline. I works fine. Here is the code. Code:   With Me.rtbNotes                 If btnBold.Checked Then                     .SelectionFont = New...

View Article


VS 2008 declare function syntax error

Hello need help with this : Code:  Private Function Uframe(ByVal a() As List(of Byte()) As  list(of byte())         For u As Integer = 0 To a.Count - 1             Dim bOutBuffer(8) As Byte...

View Article

Declare a variable outside o Subroutine or Function

Simple question: How do you declare a variable outside o Subroutine or Function? Code: Public Class Form1     addd as double=""     Private Sub Button1_Click(sender As System.Object, e As...

View Article


VS 2010 Calculate no. of columns and rows that can be drawn on an PrintDocument

Hello! I need to print barcode labels, and for the same i need to calculate the max no. of columns and rows that would fit within the MarginBounds of the PrintDocument. Yes i could simply divide the...

View Article

VB 2010 Express: Sending Data via Web Service

I'm working on a project which will be sending a data stream to a remote web server in the form of an encoded URL. The web gurus showed me their suggested method which uses something like this: Code:...

View Article

vb.net and removable memory ( usb flash memory)....??

Hello every one ..... Dears i just want to know if there is a simple way to make my vb.net project recognize a specific USB flash memory (i mean by its name ) something like " zeus( f: ) " or it has...

View Article
Browsing all 27248 articles
Browse latest View live


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