Noob: Input Validation help with inputbox
I need to some assistance in creating some input validation for a homework assignment. The program is creating an application that shows, based in inventory and order request, how many spools of wire...
View ArticleVS 2008 Using DataGrid with DataTable source - problem adding Combobox to one...
Hi! I have a DataGridView, it's DataSource is set to a DataTable. One column in the table has only three possible values "C","N","O". I managed to get a ComboBox showing in the DataGridView in a new...
View ArticleVS 2010 Web browser tab control url to website name?
Hello all! I'm having an issue with my web browser. I would like it to show the website name in the tabcontrol and in the forum bar. (The bar that says https://www.google.com/ See picture below)...
View ArticleVS 2010 Need help with school project..
I am currently doing a computing project at school, and am having trouble with some parts of it. My task is to create a program that will store a recipe name, number of people it will serve and the...
View ArticleRadio Button not working
Hello, any idea how to fix this: Code: If RadioButton1.Checked = True Then TextBox1.Text = "A" ElseIf RadioButton2.Checked = True Then TextBox1.Text = "B"...
View ArticleVS 2008 How to hide the main form in other way ?
Hello VBForum ! I just registered and it looks like a very awesome forum :) I have a very small question, just started with all the Visual Basic business.. To make your life easier, I'll demonstrate it...
View ArticleStarting a project involving Access database
So I'm attempting this project, but have no idea where or how to start. What I want it to do: A program for a mail-order company that enables a clerk to enter each catalog number for items the customer...
View ArticleConverting ActiveX Control into .net and intercepting packets
I am trying to convert an ActiveX control developed in 1998 (now defunct) for monitoring a CNC machine into a winform application. What I believe this control does is connect to the machine server and...
View ArticleVS 2010 Click inside a list of points to return a number
I created a list of points as the first section of my image map. There will eventually be 80+ sections each with their own number value. If anybody can tell me how to make this particular section...
View ArticleVS 2010 Sockets? Database? Plugin's? Custom DLLs?
I am not new when it comes to coding. I just havn't touched visual basic since vb6 and my latest project with that involved over 50,000 lines of code dealing with DirectX in creating a 2d map editor...
View ArticleVS 2010 Var being used - help
Hi, Can someone throw me a bone, I don't know a fix for this: Code: Warning 1 Variable 'progName' is used before it has been assigned a value. A null reference exception could result at...
View ArticleVS 2008 processes
I have a process that is called from within vb2008 code, and if it is the first time the user asks to start a process, then go start it. If it is already running, then I want to maximize the window vs...
View Article[RESOLVED] What's wrong with my MessageBox ?
Hi, I'm trying to get a return result from a MessageBox like this: vb.net Code: Private Sub Button9_Click(sender As System.Object, e As System.EventArgs) Handles Button9.Click Dim ask As String...
View ArticleSupress Driver Dialoge Promt?
Hey, I am working with a printer, where every time the print command is sent, a prompt pops up asking for a 'filename' I am trying to find the best way to hide this from the user, I do not want...
View ArticleReference to caller form's public variable/function
There' a form(formA) which calls another form(formB). formA calls formB like this. Using frm As New formB frm.ShowDialog(Me) End Using In formB, refer to formA's control like this. CType(Me.Owner,...
View Article[RESOLVED] Oledbcommand where....or....or
Hi all, I need a quick response to my problem. I need to write an OLEDBCOMMAND that I cannot figure out how to structure. It should look for an access database for a specified value and check two...
View ArticleVS 2010 F12 Hotkey
I want to be able to press F12 on my keyboard while my program is open and it will start my timer and minimize the program, then when I want my timer to stop I want to press F12 again and it will stop....
View ArticleVB 2010- Read only labels?
Can labels be read only in visual basic 2010?If so, how could I do that?
View ArticleVS 2010 Countdown Timer on a different form
Hello, From Form1, I'm trying to Call a sub on Form2 that displays a countdown timer in a label. First, I tried to it a different way by putting this code in Form1; above the sub "Dim tmrCD As Integer...
View ArticleReferencing a change in value of a database (VB2008)
Hello, I am seeking advice on a small app I am working on. It is a small inventory management program in which I have embedded an Access database into. What I am wondering is, are there any ways to...
View Article