VB 2010 Express- Changing Tab Order Of A Control In Code?
Nov 30, 2011
I'm trying to make a game with a friend. We have 4 sprites (pictureboxes)and we're trying to make them change tab order based on a value assigned to their variable.
View 9 Replies
ADVERTISEMENT
Feb 13, 2009
I Have a VB.net form with lots of controls to save as config: textbox, radio button, check box... but these a Scatered inside tabs, panels, groups..
View 4 Replies
Aug 18, 2011
I'm working on the exercise page 73 (VB 2010 in 24 hours). It's basically a form with 2 text boxes, 2 text labels and a command button. It's really simple and uses this loop to cycle through the items, and tell me the name of them in a Messagebox
[Code]...
View 5 Replies
Apr 15, 2010
Is there an easy way to set the tab order for controls on a form in Visual Basic 2010 Express? I saw some references to a "View / Tab Order" menu item, but I don't see anything like this in the View menu when I am designing a form.
View 5 Replies
Aug 16, 2011
We are testing the visual basic 2010 ee in one of the computing suites at a secondary high school. The installation was fine When we tried opening or saving a project it saves it into a default location i.e my documents. The problem withthis is pupils dont have access to c:. They their own drive on the network (h:) where they save their work. When i went and changed the settings in VB in tool > options.
View 3 Replies
Feb 16, 2011
I'm trying to make a program with transparent labels over pictureboxes and when I set the label Parent to the PictureBox the position of the label changes.
View 2 Replies
Mar 29, 2012
I am currently trying to work out the code for ascending order in vb 2010. I have 12 textboxes with values in that i want to use to sort into ascending order but what ive tried so far isnt working.
View 5 Replies
Oct 7, 2010
I am learning VB for the moment. I want to copy/paste code from a PDF to Visual Basic 2010 Exppress, but if i paste the (structured in PDF) code to VB, i get 1 long string of code and need to restructure it by entering after each line. Otherwise VB gives me a lot of errors. This is a time consuming work. Isn't there a way, VB puts the code in the right format?
View 4 Replies
Mar 26, 2011
I am using Visual Basic 2010 express And I am trying to make a login form. I have 3 Forms
form1 = textbox1 an textbox2, & lable1= Username, lable2 = Password, Button1 = Create, Button2 = Cancel
and I am getting an error saying " Can't find Path ", But when I check through the windows directory it is there can you please tell me if there is anything wrong with my code's Below.
Public Class Form1 'Create Account
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
If My.Computer.FileSystem.DirectoryExists("C:Private words") Then
[code].....
View 5 Replies
Jun 13, 2011
got this code from this site: [URL] public static void Send(String from, String to, String subject, String messageText).
SmtpMail.Send("mcb@mindcracker.com", "webmaster@mindcracker.com", "Subject", "Message body").
what's the equivalent code of this in vb express 2010.
View 4 Replies
Oct 14, 2010
I have some questions about the Windows.Forms.WebBrowser control.I have added this control to my project to be able to browse websites internally.First problem is that when I come into a webpage that contains JavaScript to open a new window, the control opens a new instance of iexplore.exe, tries to load the page in which the java script popup code initiated, but then prompts for authentication for a second time.Basically, I have to sign into one page to get to a listing of applications.I click on the application which in turn is just a URL to another page.The URL to the other page contains java script to open a new window.The new window opens in an iexplore.exe process, but re-directs me to the original sign in window instead of taking me to the correct site.If I do a msgbox on the cookie that is currently loaded, it displays my authentication information.How do I tell the new iexplore.exe processes to use the cookie that was stored in the webbrowser control?
View 1 Replies
Nov 3, 2010
im using a WebBrowser control to auto fill a form in a page... i can access some properties of the <INPUT> html object, but when i try to set the Value property of this object VB fails and send me an error... i tried the SAME CODE in VB 6 and functions perfectly..Im using VB NET EXPRESS 2010
Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click
Dim Obj As Object
For Each Obj In Web.Document.All
[code].....
View 6 Replies
Apr 14, 2010
I recently downloaded the Windows API code pack for .net, and seeing there was VB.net examples inside there, I opened them up. Upon building I get a warning that the referenced components 'Core' and 'Shell' could not be found. Looking in the code pack folder I see there are no DLLs at all, but instead a whole load of C# sources.
Do I have to download C# Express (which I want to avoid) to use the code pack or are there precompiled DLLs somewhere?
View 3 Replies
Feb 28, 2011
I dynamically add picture boxes to a vb.net form. However, when I add the new picture box, it is always under/below/behind the picture boxes that I previously created. Is it possible to change it so that the newly created picture box would always be in front of the others?
View 2 Replies
Oct 12, 2010
Can someone tell me if the functionallity to control a parallel port in MS VB 2010 Expess exists? I was expecting to have to add a reference such as the microsoft comm control 6.0. However this reference does not appear in the list. Everything I search for references .net 2005/2008.
View 4 Replies
Jun 5, 2011
controls mainly an indexed picturebox control. In VB 4, 5 and 6, I could make a picturebox(0) indexed, but in VB Express 2010 I no longer see this option in the picturebox properties window how is this accomplished in VB Express 2010.
[Code]...
View 7 Replies
Apr 4, 2012
I want to test out a code line with about 50,000 characters over about 7 lines, but VB takes about 2-3 minute breaks for every line of code I change and it crashes every 1-5th try. I moved the code into a public shared sub in a new class, and closed the class tab, but still VB can't resist checking though the code all the time.Is there any way I can prevent VB from checking that class/code?
View 11 Replies
Jan 9, 2011
how to make a listbox change the selected item to the next or previous item by using a button... I want to have up/down buttons.
View 2 Replies
Dec 30, 2011
I'm trying to write a program using Internet Transfer Controls, but I'm using Visual Studio (Visual Basic Express) 2010.
Is Internet Transfer Control omitted from the express version?
View 1 Replies
Oct 8, 2011
This might not be so 'VB' as it is 'SQL using VB' I have an application with a built in MS Access DB. I have a table that has a column full of integers, I shoot the DB a SQL "order by 'column name' " string and it returns the table ordered by my column of integers.BUT it returns them like this, and I want them like this
0 6
1 5
2 4
[code]....
How do I get the OrderBY to do a descending list starting with the highest number?
View 2 Replies
Nov 15, 2009
Asset Database, with DataGridView that is populated with desktop and laptop PC's by 'Office' and 'PC Type' (Combos). You can double-click a row to open an editing screen to edit the PC details eg: assigned user, purchase date, serial number and so on. The problem
[Code]...
View 4 Replies
Aug 12, 2010
I've just rebuilt my PC and have upgraded to visual web developer express 2010. I have imported my projects which use the charting control quite a bit. Unfortunately my projects are failing to run. In design view the control is now showing as "unknown server tag asp:chart". I can see the Chart control in the data tab in the toolbox but it is greyed out.
View 1 Replies
Jan 17, 2012
I have a USB device that is "seen" as a COM Port. It has eight channels, each require a single character to turn ON/OFF. It's a DLP-IO8 for reference. I have the COM port part working 100%.
1-8 turns ON each channel (12345678)
Q-I turns OFF each channel (QWERTYUI)
Truth table for device:
1 = Ch1 ON | Q = Ch1 OFF
2 = Ch2 ON | W = Ch2 OFF
3 = Ch3 ON | E = Ch3 OFF
[Code].....
a loop that I can still use the functions of the form (change speed or Stop loop).
a way to utilize Q-I to turn the channels OFF in random mode
I've been searching for a few days with little luck. I've tried Do Until, Do While loops and a few others.
I've only been coding for a few days now so go easy. Learning as I go. My form for reference
Ultimately I'm trying bring my PC Interface project up to date by going from a parallel port to USB.
View 11 Replies
Mar 13, 2011
I know how to browse page witht he browser control etc, but i need to know how to grab data from within the html.
[Code]....
View 1 Replies
Jan 17, 2012
I have a USB device that is "seen" as a COM Port. It has eight channels, each require a single character to turn ON/OFF. It's a DLP-IO8 for reference. I have the COM port part working 100%.
1-8 turns ON each channel (12345678)
Q-I turns OFF each channel (QWERTYUI)
[Code]....
View 1 Replies
May 6, 2011
I am trying to write code for a login to my program. But the code I have written freeze's the screen. Basicaly I want to check if username (TextBox1) has text in it and then check if password (Textbox2) has text in it. if either textbox has no text then a MsgBox show's with an OK Button. and then I dont want the program to run. I want The login form to reload so the user can insert thier username & password. the code I have is below.
[Code]...
View 3 Replies
Dec 3, 2010
I'm using visual basic 2008 express edition and I'm not sure how to attach my query in order for it to run? I've been using trying to use visual basic to create a form which retrieves data from a Microsoft access database and filters the data to find the record starting with the letter retrieved from the user. When it is run without the query the data grid shows all the records. However when my original query is put in the application changes it and the value shown is null in all fields.
This is what i had before:
SELECT Allergies, Breakfast, Lunch, Supper, FirstName, LastName, MealDate, StudentId
FROM [Student Checklist]
WHERE (LastName LIKE @LastName + '%')
This is what was returned:
SELECT Allergies, Breakfast, Lunch, Supper, FirstName, LastName, MealDate, StudentId
FROM [Student Checklist]
WHERE (LastName LIKE '@LastName' + '%')
View 1 Replies
Jan 17, 2010
I hoping to find a current and simple way to do this. I'm using VWD Express 2008 and SQL Express 2008.I'm able to get the client's path to the image file using an asp:FileUpload control on the web form.
How do I upload the client's image file and display it in the web form's image control?How do I save it to the sqlserver? The image table is already set up with a "Image" data type column. Can the image be saved to the database as simply as other data types?
View 3 Replies
Oct 3, 2011
I'm just using the default SQL Server Express in my vb 2008 express edition as my database server for my database operation. When I tried to update the records on my table I got a runtime error which indicates the error on this line 'myCommand.ExecuteNonQuery()'and it highlights a yellow background on it. The runtime error says "SqlException was unhandled: An expression of non-boolean type specified in a context where a condition is expected, near 'Number'. ".
Imports System.Data.SqlClient
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim myConnection As New SqlConnection
Dim myCommand As New SqlCommand
[code]....
View 3 Replies
Feb 29, 2012
I am trying to make a user account SQL database work with Visual Basic 2008 Express for login purposes, i.e. usernames & passwords. Plan is to host this server so people can login to use the the application and verify they have a valid account. I would like to host all the account information in SQL due to the possiblity of hundreds of users at any given time. I also need the ability to add data to the database for users registering for the first time. The SQL server will need to be able to access the SQL Server databases remote via WAN.
View 3 Replies