[RESOLVED] Getting ugly code outputted. Any suggestions?
Hi all, I thought I had this mastered last week. Can you take a look at this code for me? For some reason in the third textbox I get code instead of proper output: Public Class Form1 Dim number1 As...
View Articlejoining two queries
So I have two queries from 3 tables in a database: Dim custorders = From cust In _MICROLAND_1_DataSet1.Customers Join orders In _MICROLAND_1_DataSet.Orders On cust.custID Equals orders.custID Select...
View ArticleHow to get multiple instances of the same object?
Hello! I've been fooling around with some game coding lately, what I've been asking myself, and the internet is this: Let's say I have a picturebox, which, in the game, acts like a cube. I want to be...
View ArticleError: Reference required to assembly 'System.Runtime, Version=4.0.0.0
Hi All, I'm writing a project using TPL Dataflow Library to see if it would be a better long term solution for real time data processing. (it seems like it will be) I've added the reference:...
View Article[RESOLVED] How to find hidden labels in the console
Hey - I've deleted the text in a label in visual studio 2010 - I need to edit that text but I can't click on it because it "disappeared" until i run the program. How do I get it back?
View Article[RESOLVED] Label Help
Hi, I have the following label : Label4.Text = String.Concat(userInput1.Text, operatorSymbolsub, userInput2.Text) Basically, its 2 userinputers dsplaying with the operator they chose (in a calculator)....
View ArticleCode to Flowchart Converter?
Hi all After Googling I've found that there are some paid/free options for plugins/addons in VB to take code and convert it to its flowchart structure. These appear to be kind of hokey. Does anyone...
View ArticleHidden element/field in designer
I've deleted the text name Label1 in a label in the designer. As a result, I cannot see it, nor click on it to add more properties (specifically alignment) - I see it in my code as a sub, however. Is...
View Articlelistbox posting "argument exception..."
This may seem like a simple or dum questions but in my list box, I want it to always display a couple messages. Under those, I want it to diplay results from a datasource. My code is: Dim invquery =...
View ArticleDateTimePicker BackColor help?
I'm trying to make a form that changes the background color of controls when they have focus to help users identify where they are on the form. I'd like to use a DatePicker for date fields. But found...
View ArticleVS 2010 [RESOLVED] how to access form properties beneath other components?
Hi folks. I have a form, with a panel that fills the form, and in the panel is a picturebox that fills the panel. In order for me to access the form's properties, I have to undock the picturebox, then...
View Article'Public' seems not to work from a module.
Quote: Originally Posted by Niya You know you can simply use File.AppendAllText to append text to an already existing file. Thanks Niya, With any luck 'Visual Basic .NET for complete beginners' from...
View ArticleVS 2005 VB.net More than one upload at one time
Hi, I'm trying to upload inventory data from .csv file (10 columns). Some users are complaining that records are uploaded without complete data update. But, when I ask them to re-upload after deleting...
View ArticleVS 2010 Anyone want a challenge?
In VB 2010 i have an extensive project im working on and cannot seem to figure it out anymore. I have the interface ready but can't get the buttons to sort correctly. What i'm trying to get now is the...
View ArticleRemove Line Break
Hi, can anyone tell me how to remove the extra line break when using this code: Code: Dim str As String = SerialTextBox.Text.Replace(" ", vbCrLf).Replace(vbTab, vbCrLf) For Each s As...
View ArticleTransferring variable data
I want to transfer variable data (particularly integer variables) from one private sub in Form 1 to another private sub in Form 2, but haven't found a way how, any help?
View ArticleContext Menu Strip
Hello Trying to find a fairly quick way of programming a context menu strip. I have 50 buttons on my form. I'd like them all to have the same Context Menu Strip which when chosen, will give an option...
View ArticleWhat is the Best Way to Send Keys to Webbrowser?
I'm currently trying to get my vb.net program to send simulate text entry to fill out forms in the webbrowser. I would normally just set the value of the webbrowser elements, but unfortunately the...
View Articleneed help pls
Hello i need help this is my form1.vb Quote: Imports System.Net.Mail Public Class Form1 Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub...
View ArticleVS 2010 How could I make this code simpler?
Code: Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) If RadioButton1.Checked And RadioButton13.Checked And TextBox2.Text <> Nothing Then...
View Article