473,811 Members | 3,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

0
4,133
thread by: Elaine | last post Dec 30 '11 by: Elaine
I have many ComboBoxes with DataSource set to a binding source which is a list of values and display text. My requirements for these ComboBoxes were: - limit the user to choosing items in the list only - if the user selects an item, then changes their mind they should be able to delete the selected item so that the combobox is blank and no...
3
2,216
Adithya Adi
thread by: Adithya Adi | last post Dec 29 '11 by: Killer42
There are some List of items in my ComboBox Collection to choose the necessary on run time. But on Run time, I can also write the value on the combo text and it is also saved in the database. I dont need anything to be changed on the combobox. I need only the items to show in the dropdown list. No other items can be added to the database...
2
1,421
Prathap
thread by: Prathap | last post Dec 28 '11 by: Prathap
Could someone please give an idea about PerformClick()?
0
1,231
thread by: Swee Keng | last post Dec 27 '11 by: Swee Keng
When I use Visual Studio 2010 to debug Visual Studio 2005 project, I get some error prompt out, seem like not support it. So we have a license for Visual Studio 2010, but we still want to maintenance the project is develop by Visual Studio 2005, can I down grade the license to Visual Studio 2010? Anybody know it?
2
2,621
thread by: Dilip Krishnan | last post Dec 27 '11 by: Dilip Krishnan
Syntax error (missing operator) in query expression 'Serial Number = 'L3FW341''. The Serial Number field is declared as text in Access Db. I am not sure which operator is missing in my command! Below is my code: Cmd1 = New OleDbCommand("Select * from Asset Details where Serial Number = 'L3FW341'", Conn) Da = New...
0
1,155
Adithya Adi
thread by: Adithya Adi | last post Dec 27 '11 by: Adithya Adi
I'm using VB.NET (MS 2005). I knew how to add buttons on Run time and I know How to change the position of the button on Runtime. dragging = True beginX = e.X beginY = e.Y But I am adding many buttons in the forms. Its not practical to code each button. Is there any code to control all the buttons using a common...
2
1,720
Prathap
thread by: Prathap | last post Dec 27 '11 by: Prathap
I am using vb.net,is it possible to change the size or place of a button at run time.I meant we can click and drag the button to increase the size or move? could someone help? Thanks in advance
2
1,503
Prathap
thread by: Prathap | last post Dec 27 '11 by: Prathap
Suppose, i have a button(button1)in form1. Now i have opened a new form. I want to display the same button(button1) from form1 to form2. Please help.. Thanks in advance
2
2,142
thread by: falco88 | last post Dec 24 '11 by: falco88
hi.. i'm actually developing monitoring application based on sms.it have 1 monitoring application and 1 for remote.my problem is how i can control the remote site from the monitoring application based on the sms that received.thanks.. here's my code.. Dim rxbuff As String
1
2,840
thread by: samvb | last post Dec 23 '11 by: Rabbit
I am gettting the following 2 errors: Invalid attempt to call Read when reader is closed and sometimes Invalid attempt to call MetaData when reader is closed when attempting to read from a sqldatareader object. What I want is to list groups in listview. The last column is "Total Numbers".
0
1,241
thread by: DRaj B | last post Dec 22 '11 by: DRaj B
I had created a program to add context menu on windows explorer.Now i need to right click on any folder and select menu "Copy Path" then the folder path will be send to my application's text path..Is it possible?
1
11,873
thread by: Marko Danilovic | last post Dec 22 '11 by: Marko Danilovic
How to display canvas element of HTML5 in Visual Basic .net 2010 webbrowser (I try in framework 2 and 4, WebBrowser version 2 and 4)? It seems that VS2010 not support new version of HTML. In Microsoft Web Browser - "AxWebBrowser" didn't work too. Any idea to make this thing work? Thank in advance.
5
1,705
thread by: pravin23pawar | last post Dec 20 '11 by: Rabbit
guyes, i am trying to write the application which saves the web page in html format on local path. But this aspx page contains the 3 classic asp pages,so i am not getting any help to make this possible. sample code Dim myWebClient As New WebClient Dim cred As New NetworkCredential("***removed***", "***removed***") ...
4
9,363
Prathap
thread by: Prathap | last post Dec 20 '11 by: sirasingh
I have a textbox,it should display something like "please enter your name" by default. The default text must disappear when i click on that textbox. Could someone please help..
0
1,243
thread by: Berttech | last post Dec 20 '11 by: Berttech
I've got a program for books. An author can be selected: after selecting the author a combobox appears which has a list of books by this author, click on box and it drops down. Now before selecting a book the mouse is moved up and down the list and the focus goes on to one item after the other. I want to be able to catch the item the mouse is over...
1
1,960
thread by: Tony Clark | last post Dec 19 '11 by: kadghar
Hi! I have an application in VB. In a single form are lots of labels with atleast 3 different sizes. What I want to do is, when I resize the form or maximize it, all of the labels and pictureboxes int the form are also going to be resized. How can I do that? Thanks!
1
1,272
thread by: Tony Clark | last post Dec 19 '11 by: kadghar
In a form, when I cut a control (a label) which has an event attached to it (click event), i noticed that the event attached to it doesnt work anymore when you paste it (the label I cut). why? how to resolve this?
1
3,144
thread by: DANY IGHNATIOS | last post Dec 19 '11 by: Rabbit
hi. i want to update a row in an ACCESS DB in vb.net using sql query. the way to point to the row is using the primary key. the problem is that i was an error saying that there is a data type mismatch in criteria expression. the primary key type is auto-increment. when i change his type to text, i haven't this error anymore. below is a part of my...
0
981
thread by: Jedidiah David | last post Dec 19 '11 by: Jedidiah David
Hey guys,i am a newbie to VB, i created a database with MS access 2007, the DB has two tables: Case and Phone Number. (each case may have more than one phone number). the tables are linked. in access, the forms work fine, but when i designed the form in VB 2010, it behaves funny. when i enter data into the caseform, it doesnt seem to link the data...
0
1,066
thread by: Tony Clark | last post Dec 18 '11 by: Tony Clark
Hi! I Have a form created in vb and disable resizing it. Initially I also disabled maximizing it and set the max and min size to the default size of the said form. What I want to do is when I maximize the form, all of the widgets in: there are 2: label and picturebox will also be resized and centered regardless of the size of the user's screen...
2
1,892
thread by: Noshin Zaman | last post Dec 18 '11 by: Killer42
Create a font size increment application that displays Size in label and increases the font size of the label in intervals of 5 starting at size 10 and ending at size 50. Here is my code: Dim intCount As Integer, intStart As Integer, intEnd As Integer Dim intStep As Integer Dim intSize As Integer intStart = lblSize.Font.Size = 10 intEnd...
1
1,566
thread by: kaamini | last post Dec 18 '11 by: Rabbit
I am using vb.net 2005 and access in back end. my code is :
2
5,042
Prathap
thread by: Prathap | last post Dec 16 '11 by: kadghar
Could someone please help me to decrypt password from database. Here is my code to encrypt password Dim a, enc As String Private Sub encrypt(ByVal a) Try Dim encData_byte() As Byte = System.Text.Encoding.ASCII.GetBytes(a) enc = Convert.ToBase64String(encData_byte) TextBox4.Text = enc ...
0
935
thread by: Steffi Thomas | last post Dec 16 '11 by: Steffi Thomas
how to retrieve an image from SQLserver database with the help of SqlDataReader into a picturebox
0
1,408
thread by: kaamini | last post Dec 16 '11 by: kaamini
Kamya, I have a problem in displaying the records from the database table after character matching from the combo box in crystal report.I m using combo box as dropdown. I have used this code on the text changed event of combo box: CrystalReportViewer1.ReportSource = New rpt_custsale CrystalReportViewer1.ReportSource =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.