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

VS 2010 Working with text files to read/write configurations

I'm writting a program where I save the properties of the program in a text file. In the 4 combo-boxes I select the properties and I want the program to save the index of the combobox in the txt file....

View Article


Control Array

I want to add code in a control array's event. But it seems VB.NET doesn't use control array anymore. How to make event handler for multiple controls? For example, how to make event for CommandButton1,...

View Article


VS 2010 DotNetZip - Don't Include Directories

I use DotNetZip to zip and unzip files in my application. It works with almost no problems. But if I do this: Code: Dim ZIPFILE As New ZipFile...

View Article

Image may be NSFW.
Clik here to view.

VS 2008 Help with ClickOnce Deployment

I have migrated my project over from 2005 to 2008 and its been a while since I last deployed the project. I have made some updates and want to re-deploy it. do I need a "Certificate" I am a bit...

View Article

I can't close the form until i change a combobox selected index

I have a form which has a combobox loading some data from database in the form load and i try to close the form it does not end this is the code that fill the combobox Code: Using conn As New...

View Article


Image may be NSFW.
Clik here to view.

Textbox update from other form

Here is 3 forms, form3, form1, form2. form1 has textbox. A. Start form3, form3 load form1, form1 load form2 and form2 try updating form1.textbox but failed. B. But start form1, form1 load form2 and...

View Article

Help with Menu Shortcuts

I am a beginner with Visual Basic (currently using VB.Net Express 2010). I am having a problem with one of my menu shortcuts. This is a very simple menu, simply as a means of practice. During debug...

View Article

update checkboxlist from database

Hi I need to update a checkboxlist on a web page from a sql database. I have 3 tables: Dogs Table: DogID - primary Key DogName, DogSex, etc. Breeds Table: DogBreedID - primary Key Breed (Irish Terrier,...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 Slot Machine Help

I pretty much finished up the Slot Machine https://www.dropbox.com/s/slmeul3zry...%20Machine.zip I want to be able to do like a spinning animation when I click spin. Attachment 98889 Attached Images  

View Article


Image may be NSFW.
Clik here to view.

ReportViewer Change Control Color

I'm looking to change a control's color in my "report.RDLC". My reports are all generated by the ReportViewer control on a form called "rv". The selected rectangle below is the one I'm looking to...

View Article

Doubleclick event is not working

Hello! I want it that every time the user double clicks anywhere in my program, it hides the program to the Tray. For this I used this code, but it's not working for unknown reasons: Code:     Private...

View Article

Problem With Function to Return Array

I have a small project doing some P2P communication between a client and a server. The data stream comes in to the server, gets parsed and processed, then a I want to send the results of that back to...

View Article

Select a specific node in an Xml File

I have a XML file with nodes that vary to a couple of thousands. I know you can iterate through the nodes to access any node. However, iteration time can escalate to hours as the number of nodes...

View Article


Storing and Displaying an Array

I need to store an array for 5 string values, (Names) then I need to store 2 separate numbers (test scores) to each name and display these in a output text box.. the names have to already be in the...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 how to display text in columns collection headertext in datagridview

hi i have a datagridview and i want to display a text that user choose from a combobox to header text in a column in columns collection property. Dim gpData As GridPanel = grvAirFlow.PrimaryGrid Dim...

View Article


VS 2010 ListBox - Remove Duplicates, Alphabetize, Reverse Order

Populate lstOriginal with the given list of items: In lstDupes, remove all duplicates contained in lstOriginal In lstAlphabetized, arrange all items in the alphabetical order In lstReverse, reverse the...

View Article

Tic tac toe question using arrays

I am very new to programming and we have recently started into arrays, which by the way, I really don't fully understand at all. We are writing a tic tac toe game in which you have to use an array. I...

View Article


Problems with random path generator

I'm trying to create a random path generator and I'm running into problems. Here is what I currently have: Code: Option Strict On Option Explicit On Public Class Form1     Private grid(9, 9) As...

View Article

VS 2010 count the instances of string in an array and display them in...

I have an array like that yankees Yankees mariners white sox yankees yankees Braves mariner braves braves I need to sorty the array using LINQ They will be ordered by the number of times they are in...

View Article

Virtual Folder in My Computer

We have a document management system based on MySQL which currently is running through a web application. Currently users need to open the system up and upload the document they wish to add to the web...

View Article
Browsing all 27554 articles
Browse latest View live


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