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

VS 2010 How come this doesn't work?

I am making a simple program where they need to guess two names. If they don't guess either one of the names then they lose. How come this code doesn't work? Code:         If TextBox1.Text <>...

View Article


Need help with reset variables

I am building a program based on forms. I created few forms and declare public variables to calculate price which is displayed when one of that form is load based on values from previous forms. I will...

View Article


VS 2010 listview - add items

Hi i have 3 columns in my listview and want to populate them from a txt file and ordered by "install order" which is by no..... here's what i have: Code: Public Class SelectPrograms     Dim Ver As...

View Article

[RESOLVED] Format listbox to currency

I think this will finish this project. I am creating a budget calculator that has two listboxes. One is for expenses, and the other is for income. I am populating these list boxes with a textbox and a...

View Article

fill multiple picturebox controls from database

I'm trying to populate 1-12 picture boxes (PictureBox1- PictureBox12) from database but I can't understand how to do that. If we have (for example) 6 pictures in our database with code= 002, how to...

View Article


VS 2010 Creating a DLL in VS2010 and Referencing it in VB6

Basically I've got this huge project to convert a program in VB6 to a .net framework. So because the program is so big, my plan is to take some of the VB6 functions in the program now and converted...

View Article

Does Visual Basic 2012 Update 2 support Windows XP

Hello, We are trying to test our Visual Basic 2012 application on a Windows XP workstation. We built it using he default build options and tried running the .EXE on Windows XP. Received an error that...

View Article

VS 2010 Why does this happen?

Everytime I execute this code my computer beeps and it is VERY annoying! Code:         If e.KeyCode = Keys.Enter AndAlso TextBox1.Text * TextBox2.Text = TextBox3.Text Then             TextBox3.Text =...

View Article


Can Anyone Improve My Binary to Denary Code

Hi there, I was doing a Binary to Denary calculator as part of a school project and I have accomplished the aim but I feel it could be easier to use. Does anyone know how I can manipulate my code so...

View Article


VS 2010 Help with a program

I need help with a program I am creating. First, some background.. I am using the 2010 Edition This program has a simple GUI: Fahrenheitlabel, FahrenheitTextBox Celsiuslabel, CelsiusTextbox a button...

View Article

VS 2010 Help with searching list boxes

Hi everyone! I'm a new member here and would like to send big greetings :) I have a problem with VB2010, I've been trying to write this code for like 5days and cant seem to even know where to start :(....

View Article

[RESOLVED] What "browser" does VB.bet use?

I uninstalled Internet Explorer when I first got my computer so I'm curious as to what VB.net is using to connect to the internet?

View Article

How do I Prevent a Crash When a Letter is Typed Instead of an Integer

So here's the problem, I have a variable called Denary which is an integer as I need to do maths with it. If someone using my program were to type in a letter instead of a number it would crash. I...

View Article


VS 2012 [RESOLVED] Visual studio 2012 - not building .dll file

Hello: I have recently upgraded to visual studio 2012. When I create a new windows application and build it, under the bin - > debug folder, I only see .exe file - there is no .dll file. I went into...

View Article

VS 2008 Invalid attempt to call metadata when reader is closed

I get this error " INVALID ATTEMPT TO CALL METADATA WHEN READER IS CLOSED " when i run my program. The error comes in dr1=cmd2.executereader ( line 113). Plz help me to solve this error. Below is my...

View Article


VS 2010 How to save and load data in listview

Hi, I've been looking every forums to find how to do this but had no luck. Basically I want to save the variables in the column of the list view e.g (£7.25) when it closes the form and loading the...

View Article

VS 2010 A combobox matching the selection of another...

Hi, I have a combo box that is bound to a list in a table, this combo box is say on form1. I have a form with another combo box in (say form2). What I would like to do is to get the combo box in form2...

View Article


[RESOLVED] Forcing users to enable macros

Hello, I found this nifty method to force users to enable macros and so far it's working great and was very easy to implement. See method here: http://www.vbaexpress.com/kb/getarticle.php?kb_id=379 The...

View Article

[RESOLVED] Macro to close workbook without saving

I have in Module1: Code: Sub Auto_Open()     If vbYes <> MsgBox("Message", vbYesNo + vbExclamation, "User Agreement Disclaimer") Then         ThisWorkbook.Close False     End If End Sub I am also...

View Article

Interesting Problem with PreFilterMessage

I have a form that prefilters some messages by implementing the IMessageFilter interface and implementing this method: System.Windows.Forms.IMessageFilter.PreFilterMessage This thing is beginning to...

View Article
Browsing all 27156 articles
Browse latest View live


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