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

Radio Buttons not working when extracting to .txt

Ok so i have to make a car rental application for a programming assignment and we have to use radio buttons that represent small,medium and large and correspond with the values for those sizes, etc(...

View Article


Owner form closes unexpectedly

I have several forms who have their ownership set to another form. They can be launched through buttons on the owner form. However, if I have more than one open, when I close the first one created, the...

View Article


Opening an excel file and make a macro run with Virtual Basic

Hi, Has anyone got an idea or a code how to open an excel file that contains an macro and execute that macro? So far I got to the point I can open the excel file with a code but no idea how to run the...

View Article

Can someone please help me with this code!!! ***PLEASE HELP ME - REALLY NEED...

Hi, this is what I have to do... 1. read customer details from Customer file (e.g. record would be "John,Smith,0422123456,Yes") 2. display list of customers in list box 3. add new customer to the list...

View Article

VS 2008 Rich Text Box endless loop

I found this code and customized it specifically for my application. All it does is change all The letter F to red in a richtextbox. It works in most cases but in certain instances, it gets thrown in...

View Article


VS 2012 How to stop new line overwriting all existing text in text file?

When I add a new record to the Listbox from textboxes - it replaces my original text in the text file. :confused: Any ideas on why? This is what I've got... Code: Private Sub cmdAdd_Click(sender As...

View Article

VS 2010 Need Help!

Hey, I need help, can someone tell me how to multiply the amount of characters, I'm actually at a loss of words, let me try and show you the code that I need help with. SendKeys.Send(TextBox1.Text)...

View Article

VS 2010 What is this error?? :\ I can't seem to fix it.

ERROR: Code: System.InvalidOperationException was unhandled   Message=An error occurred creating the form. See Exception.InnerException for details.  The error is: 'phrase' cannot be an empty string....

View Article


Is there better ways to write this logic?

Hi i cant help but wander, am i doing this right!! i have a feeling im stuck in my old VB6 way of writing functions and find it time consuming coming up with logic all the time a little background on...

View Article


VS 2010 Affecting unfocused applications

Hello, I was wondering if there's any way to target a program while not having the program selected? I'd like to send keypresses to a program while I'm doing something in another program, If it's not...

View Article

lambda expresions with list.foreach methods

Hi lets say i had 2 list(of class1) objects and wanted to iterate through them checking for something with a for each loop, i always have a problem keeping the code simple because i have to iterate...

View Article

when its use full to add a class

Hi When you start writing a program. How do you determine if a class is required Can any one explain it to me

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Not getting my country weather??

How do I get this API to work? My location is Brisbane but its not currently at the correct position when I run the program... I am using the Yahoo Weather API http://developer.yahoo.com/weather/ Ill...

View Article


VS 2010 Curly braces and string.Format

hi That is code lblResultaat.Text = String.Format("Het bedrag {0} heeft als coupures {1} {2}{3} resterende bedrag in munten{4} ", Gebruiktbedrag, Environment.NewLine, Resultaat, Environment.NewLine,...

View Article

VS 2012 Speech Recognition Just not working....

I am messing around with speech recognition, for no real reason other than trying to get it to work. I have read countless tutorials on this all over the web. I can get it to compile without errors,...

View Article


VS 2010 Get elements with 'web_name' in adress.

Hello. Here is my code that only shows links with 'a' and 'href' from WebBrowser1's document. How to limit them to these who include 'web_name' in link too? Thanks a lot for help :) My code: Code:...

View Article

VS 2010 Fill combox by list and classe

Hi I have to comboxen on the form In the first i whant to see the titel of the book the write and its it a roman detective That works. But how can i get in the second combox only the genre roman,...

View Article


Help For Search...

Hello, I'm Veri new in VB and i try to Search data and display results in DataGridVIew. I use this Code Code: Me.Contact_table1BindingSource.Filter = "FirstName = '" & TextBox2.Text & "'" and...

View Article

VS 2010 Generate Barcode

Good Day, I would like to ask some help generating Barcode Code38 When the User type on the Textbox it will automatically Generate a barcode on the Image container Your Response/Help is Highly...

View Article

VS 2008 Display graphics in tabforms

I have tab pages in my form and in one of the pages, based on the user's selection, some engineering graphics have to be drawn. I tried my best to get the same on the tab page but wasn't able to figure...

View Article
Browsing all 27351 articles
Browse latest View live


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