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

Transfer of data from the Access to datagridview

How do I send data from the Access database To Datagridview Fields in the database table Name History Required Show the contact data in the datagridview in the first column Show the first day of the...

View Article


VS 2010 Raising Events between 2 forms

Hi, I have a question about raising events between 2 forms to call a control on the other form. Let's consider this scenario: The OrderListForm contains a datagridview with some Orders as records. When...

View Article


How to Slide Buttons ?

I am trying to make some buttons slide with vb.net 2010 project. Button A Starts at location (12, 66) I want the button to slide down for approximately 2 secs, until it reaches location (12, 406) It...

View Article

VS 2010 Thread Issue's

Hi all, Could someone maybe shed some light on this weird result im having with the VS2010 express editor. Here's the situation, I have a class that has several objects defined and after it is called...

View Article

VS 2010 Problem using ObjectListView in VB.net

hi, Previously I try to learn add, edit and delete using ObjectListView in C# ( I still learn about C# ) but now I try to use it in vb net, now I'm confuse how to addobject in vb, I don't know how to...

View Article


'Late-bound assignment' error

Hello, I am trying to program a VB console application for an A level assignment, but I am facing this error when adding a value (the athlete's name) to the array. The error that is displayed is:...

View Article

Multiple listviews, messy code

Ladies & Gents, I have a number of listviews setup in my application. The variable 'tableno' is already set elsewhere as a string value between 1 & 6 and the following code works when I want to...

View Article

Access is Denied, Limited Account

Hey Guys, I have installed a program that runs perfectly under an admin account but not under a Limited account(which is my goal). So far I have run Process Monitor to see what files are being 'Denied...

View Article


On querying data from two tables in an Access database

Hi On querying data from two tables in an Access database I have two tables with the same fields Name History Amount I want to display data tables in Datagheridwio Demonstrate name + date of delivery +...

View Article


VS 2010 Accessing coded textboxes

Hi. Relatively new to vb2010 so if this is easy then I apologise in advance. The following code creates textboxes on a form according to the contents of an array named ProdName. The array; along with...

View Article

Run macro on excel file being viewed by a different computer

With both computers on the same network, one can access the other, but is there a way to run a macro in an excel that is currently being used by a different user, so that it updates in front of the...

View Article

VS 2010 Creating ShortCut

I just made an Sub called CreateShortcut and it should 100% work... And I even figured out the problem, but I have no idea how to fix it. Code: Code: Dim UserName As String = Environment.UserName Dim...

View Article

VS 2010 Multiple fields in combobox on datagridview, vb.net 2010

Hi there, Someone please help me how to place multiple fields in a combo box on datagridview, I am using vb.net 2010, sql server 2008 r2 Thanks

View Article


VS 2008 Space invaders

hi, what i want is that when u hit a specified block (Alien) a certain picturebox falls down that if u collect it with the paddle (using collision code) u can use this extra weapon. the problem is that...

View Article

VS 2008 Need some idea/help with this

Hi ! I am making some kind of hacking-simulator game like HackTheGame, dont take it as some malicious software, it is all fake ! Its just a imitation of some console like linux terminal or DOS, and...

View Article


VS 2010 Listbox View Help

Hello, i am fairly new to coding and i am stuck in listbox view controls. I have a listbox with 6-7 columns but it does not select the column when i click on the item in the column. It works for items...

View Article

VS 2010 Display string and variables in label?

Hi there, I have two variables, playercurrentHealth and playermaxHealth, which are both integers. I want a label, called playerhealthDisplay, to have text displaying...

View Article


Select and execute(click) label

Hello, sorry but I'm just new to VB.net and still experimenting. I have a simple problem. I just really don't know the code. Basically I have a form with textbox1, button1, label1="1-0", label2="2-0",...

View Article

Object reference not set to an instance of an object.

Code: For row As Integer = 1 To ExportDataGrid.RowCount - 1                 writer.WriteLine(ExportDataGrid.Rows(row).Cells(0).Value.ToString & vbNewLine +...

View Article

Using VB 2010 Windows form on a win 7 computer - Crash in Shell instruction

What I want to do is run this program which is minimized in the task bar, and when it finishes processing, I want to start a new instance of my program which will also be minimized in the task bar and...

View Article
Browsing all 27243 articles
Browse latest View live


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