Displaying number in the textbox
There is a TextBox which have focus. If press number(0~9), that number should be displayed. I should do this in keydown event. If click number, currently pressed number should be displayed, not...
View ArticleNeed help with calculator app
I am new to VB and am stumped on how to get this calculator app to display a message in the result textbox if the user enters a principal amount less than zero. I am sure this is something simple, but...
View ArticleComapre 2 INI files
Hi all, I having a hard time to comapare 2 ini files here, can anyone please help me out with it ? What i'm trying to do it compare 2 ini files together where both are have same sections and same keys,...
View ArticleVS 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 ArticleControl 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 ArticleVS 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 ArticleVS 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 ArticleI 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 ArticleTextbox 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 ArticleHelp 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 Articleupdate 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 ArticleVS 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 ArticleReportViewer 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 ArticleDoubleclick 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 ArticleProblem 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 ArticleSelect 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 ArticleStoring 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 ArticleVS 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 ArticleVS 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 ArticleTic 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