20,285 Topics
![]() | |
I'm just wondering guys if it is possible for me to go to the specified listbox item via searching. Example; Listbox1 items are Apple Banana Guava Pineapple Peach When I key in the word Apple in a textbox, the SelectedItem would go to Apple, is this possible? | |
Guys is it possible that I create a program whose functionality would be selecting a file, then gets the contents of that file (Word or text files). The program, of course, has a Richtextbox on it where the file content will be filled to. If it is, could anyone please … | |
I'm trying to make a form in VB.Net that takes speech input (not text-to-speech) on my Windows XP Pro computer. I've tried to install Microsoft Speech SDK 5.1 according to [URL="http://support.microsoft.com/kb/306537"]http://support.microsoft.com/kb/306537[/URL]. The problem is my Office 2007 does not have an Alternative User Input feature, as it says in the … | |
Hi, I have my application in VS2008 and coded Vb.net. My query is i want to save record from an excel sheet to my Database Table. But i dont want to insert the Excel sheet as a whole rather i want to insert the record in my database table Row … | |
A new issue !! I have a checkbox column in the datagridview and also a column named "partqty" which displays the quantity of materails available.. I would want that when the user checks on the checkbox, the quantities of checked rows should be added and displayed in the textbox.. I … | |
Hello !! I am stuck with an issue and need some guidance.. I am using visual studio 2008, vb.net Windows app and ms access 2003. I just wanted to know that there is a form in which i select an option from the list of options in combobox.. While the … | |
Hi again !! I am making a widows application wherein i have a form containing two datagridviews.. The first one( named dgv1) consists of all the data from the database and a checkbox column.. While the user selects the rows using checkbox, the data are displayed in adjoining datagridview(named dgv3).. … | |
Hi there, I need help regards to my sql statement. I am developing a system using vb.net but now i'm having trouble to insert all the data (where i bind using repeater control) into the sql statement. I didn't know how to declare the stockcode.Text, year.Text, quarter.Text and total1.text as … | |
I have to create a form that I enter the price of gas each month over a year. I enter the price in a text box and click the enter button to send the price to a list box immediatley and use an array. I have the following code but … | |
guys, it's been a long while since the last I asked about this and so far, no one yet has ever given me the right and helpful answer. My problem is, I have a program, I have published it, and I have been actually using it in my PC. Whenever … | |
Using VB Express 2010 in windows XP Pro 64. A ListBox shows the project forms names. On ListBox_DoubleClick [CODE] For Each F As Form In xFormCollection If F.Name = ListBox.SelectedItem.ToString Then Try F.Show() Catch ex As Exception MsgBox(ex.Message) End Try End If Next [/CODE] Works fine the first time but … | |
Hello, I'm a newbie working with vbnet but i'm trying to create a project were I enter a name in a textbox and save it to a access database. I'm trying to create the OledbConnection but i'm getting this error: "oleDbException was unhandled" this is the code i'm using: [CODE]Private … | |
Its all in the question really! My datagrids work fine! Using visual basic 2010 please help!!! | |
Could ANYONE check on my code. As I compare the DSO with the DSO para, it seems doesn't compare both data at all. I have been converting the DSO as double first between comparing it as if i compare with string it doesn't work. anyone could help me please. I … | |
I'm writing an application to update a database with student records. I've used this particular code before, but with just a single column, but i added multiple columns to this one. when i call the sub to save the records it gives me this exception: syntax error in INSERT INTO … | |
I have to create a cafeteria survey application. Twenty students were asked to reate, on a scale of 1 to 10, the quality of the food in the student cafeteria, with 1 being "awful" and 10 being "excellent." Allow the user input to be entered using a ComboBox. Use an … | |
hello everyone. I have a program that should display report let say from a date to date. but i am using string compare and not date compare. what is my problem is it is not displaying the correct output and always shows a dialog box that request parameter. -how do … | |
I am new to VB. I use Visual Studio 2010. I got most of my rental program to work, but I am having trouble with the easy part. The First Name and Last Name are supposed to combine to the FullName. I know I have to use the assigning textbox … | |
Alright, so in yesterday's thread, I asked for the codes to copy the contents of a directory to a separate directory. The code: My.Computer.FileSystem.CopyDirectory( , , ) worked fine. However, I have decided that I wish to add a progress bar into the mix so that the user can see … | |
Hi Guys, I am almost done with my program, until this problem arises and I can't solve. I have two forms. First form has 1 listbox and 2 buttons. Second form has 1 datagridview and 1 button. The first form opens the csv and list the location+filename of the CSV … | |
I'm writing an alphabet cipher that ciphers at random. It looks like it should work when I'm debugging it but when I look at the cipher key it comes out with duplicate letters like some of them weren't switched during the for loop. Any help is much appreciated. WasSwapped is … | |
alright so i have a problem iam working on i have to enter a 7 digit phonenumber then generate a word so example 639-2277 word mean the word newcars or any number would come up as a word well i cant get words to generate only random letters annd right … | |
I need to create an array of decimals by getting input from the user. I know how to create one of random numbers but do not know how to get the input from a user through a text box to a list box. | |
Can I stop updating the user display of a control (rich text box) temporarily? I want it to process what I tell but not change how it looks for just a small piece of code. Please help :) | |
Hello everyone, I have to create pig latin game which I did and it is working. The problem is I coded it so it can translate one word. I need to know how can I make it translate a sentence that I don't know how many words in it. Here … | |
below is my code, i want to get a record base on a specif invoice number,please help me out cos this thing has giving me sleepless nite.thanks in advance. Imports System.Data.Sql Imports System.Data.SqlClient Public Class Invoice Private Sub Invoice_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Call connectDatabase() … | |
Hi, I'm stucked with a problem, hope somebody can help me. The problem is that i have a string with webpage source and i need to retrieve all the text instances between <pre> and </pre> tags, i already know how to retrive the first ocurrence using: [CODE] dim start as … | |
I want to make my own file type with my own extension via vb.net. I mean that when we go into "My Computer" and select Folder options from the menu, there is a file types tab and I can add it there. Can I add it through vb.net 2005? Please … | |
Private Sub frmRegistration_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cn.Open() cmd.Connection = cn cmd.CommandText = "Select * from Registration" adp = New OleDb.OleDbDataAdapter(cmd) adp.Fill(ds, "mytable") 'Binding Statements Follow bs = New BindingSource(ds, "mytable") 'Bind the name field to first textbox, type of data as text Me.txtCustID.DataBindings.Add("text", bs, … | |
Hi Guys, How's your day? I would like to ask, since I'm a beginner in vb .net, I can't figure this out. Here's the scenario: I have a folder with lots of folders inside and inside those folders are .tif files. I want to create a program that will rename … | |
I am stuck doing this assignment given for monday ...i am at the do while coding (already did the interface ...) anw here it is : Candidates for employment by a security organization have to undergo a medical test in which sight, hearing and mobility are tested. In each of … | |
hi there, im a beginner really and have just tried to finish a new computer based booking system for my work, im using sql and a database to store the customers and then store bookings too, but im having problems with the customer form, when i run it it kind … | |
I need to rename/move a file to a different folder after downloading. When I log into the customer's FTP site via the url, user, password it put in into a particular folder. I can download these files using the URI but I cannot Rename (Move) into a different folder (i.e. … | |
I am developing a form that calculates a Business Travel Expense for a business trip. Everything is fine and dandy but I have to display the information in a listbox using zone ouput. There is nothing in my book about zone output...the teacher provided us with this Dim fmtStr As … | |
I cannot believe how loooooong i have been searching the internet for this. However i have a form that i have created in Visual studio 2010. I have 3 text boxes for FIRST NAME, LAST NAME and NOTES. I have 1 button to submit data. When i click the button … | |
Dear Friends, I am developing an application for multi user using vb.net with back end as ms-access. For the table name as employee_master, there is a column, name as student_profile having datatype as [B]Yes/No [/B]. If value of student_profile is "yes" then label1 will be shown and If value of … | |
I am still a newbie at programming in VB.NET but I am wondering if it is possible to write a program that allows for remote support, like Teamviewer, LogMeIn, etc., using VB.Net and what is the easiest way to go about it? Only reason I ask is because I do … | |
Hey guys! I've been working on two projects, one needs to have multiple forms, but when I open one form, it needs to close the sender. But, when I try it, the program exits! I don't want it, I just want to close the form, not the app. I tried … | |
Hi there, Im new to vb and i am using visual basic express 2010. i have put together a database and can do quite a lot with the app i have created. i am not very familiar with detailed programming so i have created my update query thru the dataset … | |
hello everyone, I am working on a little program (game) is called Pig latin. I created a sub procedure and I passed the word to be converted by value and the piglatin word byref. Now when I call the procedure in the button click event I get the wavy green … | |
hello everyone, I am trying to check each letter of a word if that word doesn't contain (AEIOUY) then I have to append (-way) to the end of the word. Now I have this if statement and it doesn't work: If OriginalWord.ToUpper Like "*[!AEIOUY]*" Then Label1.Text = OriginalWord & "-way" … ![]() | |
I actually want to ask two things, first, how do I set Textbox1 to get focus so that the user will not have to click the textbox if he wants to write something, the .focus() method does not work also, how do I highlight texts inside a textbox programmatically. I … | |
Hello to all ! Sorry in advance for the long post. I'm trying to get the value of a specific <div> from an html. This div has a class attribute of "itemPrice6", but problem is that this class appears few more times for other <div>s in which i'm not interested … | |
I have a datagridview and button on form , in datagridview's columns has some numeric values let say like ClientNumber and Sale 253 = +10 259 = +20 254 = -100 278 = -50 259 = +30 254 = +40 now what i want when there is repeatation of same … | |
I need some help setting the maximum size on a picture box. I thought the syntax for setting size was picturebox.MaximumSize = (Width,Height) but doesnt seem to work. Did syntax change from VB6? Thanks in advance | |
Guys can anyone tell me how to change fontsize of my listbox programmatically? This code does not work listbox1.font.size = 10 or listbox1.font.size = new size 10 What is the right code? | |
how to get 10 th record from record set using SQL server? there are a lot of code in the internet that can get first 10 results using "TOP" keyword in sql. but i want to get 10th row valus. I'm using VB 2008. please help me.... Regards Pra$ad. | |
This Code allows you too countdown seconds and minutes but im not sure how to add hours or maybe even days to it:( =========================================================================================== [CODE]Imports System.Threading.Thread Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If InStr(timetowait.Text, ":") Then Dim time() As String time … | |
how to inset data into ms access database in vb 2008 | |
hey im trying to create a program where the user will type in a number then choose the units its in and units it will be converted to from 2 comboboxes. The output should be changing as different units are clicked without a button.Please tell me how to fix my … |
The End.