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

Home Posts Topics Members FAQ

Visual Basic .NET Forum

7
9,833
thread by: sheela gupta | last post Jan 16 '12 by: Frinavale
I want to populate the combobox based on the selected item in the first combobox The following code is written in vb.net 2008 Public Class Form1 Sub fillcombo() strsql = "select * from device" Dim cmd As New OleDb.OleDbCommand cmd.CommandText = strsql cmd.Connection = con dr = cmd.ExecuteReader
2
1,768
Prathap
thread by: Prathap | last post Jan 16 '12 by: C CSR
Hi all, Check this code and please tell me a solution.I have 2 buttons (Pizza & pepsi),the price should display in textbox8 when i click on button, here the price had shown in Textbox8,but it is not getting added with next price when i click second button. Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
0
1,569
thread by: xemeka | last post Jan 15 '12 by: xemeka
Hi I am new in vb.net I am developing an application in vb.net 2008 takes well trajectory data and calculate the well profile and outputs the profile in a graph. The data comes in the here below format MD. Deviation(degrees) Azimuth (degrees) 0.00. 0. 0 32.0. 0. 10 40.0. 0.5. 20...
1
2,421
thread by: rizzsid11 | last post Jan 15 '12 by: C CSR
I'm writing an application in vb.net 2008. It's basically a randomised image quiz. I have saved questions, answers and time taken to answer questions into 3 listboxes: listboz1, listbox2 and listbox3. I'm trying to add the content of all into a csv file. This is my code below which only saves the contents of one listbox to a txt file. How do I get...
2
2,140
ck9663
thread by: ck9663 | last post Jan 13 '12 by: ck9663
Hey .Net Gurus, I am very new to Visual Studio Application Development. I'm mostly a DB guy. I used Visual Studio as a Report Designer, not much of an .Net guy though I can understand it. I am now asked to create a .net application and I'm trying to create a "Hello World" starter app. I opened my Visual Studio, click File-New Project and all...
0
1,180
thread by: curlyfries1999 | last post Jan 13 '12 by: curlyfries1999
Hi, I have made a tabbed axwebbrowser, and i was wondering if there was a way to make a download dialog instead of internet explorer. Well... Is there? Thanks in advance.
0
1,016
Adithya Adi
thread by: Adithya Adi | last post Jan 12 '12 by: Adithya Adi
I have 15 Items in the List Box Collection. All the Items are shown in list box on Run - time. But I need to change the size of the mouse hovered item a bit larger than the ordinary. could anyone help me out?
0
1,293
thread by: Hazarul Harun | last post Jan 12 '12 by: Hazarul Harun
I am using a DLL developed using Delphi. I tried calling the function in VB and encounter "AccessViolationException, Attempted to read or write protected memory" In the main declaration: Public PortNo As Integer Public Res, Fun, Use As Integer Public AreaID As Integer Public PersonID, BuyCount, Fmt, Alarm, Shut, Tick, Comer As Integer...
1
4,189
thread by: kffacs | last post Jan 11 '12 by: Rbacker320
Multiple rows based on a date range I have an MSAccess 2007 DB to record our employees Personal Days Off (PDO). Until now I have only had a form to record each single day taken. This results in time consuming repetitive entry when an employee takes multiple consecutive days or weeks off. My database consists of two tables: tbl_PDO (to...
4
4,885
thread by: alex21 | last post Jan 10 '12 by: good spirit
Ok im getting this exception from a DataGridView control in my program. System.ArgumentOutOfRangeException was unhandled Message="Value of '132' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.\r\nParameter name: Value" Source="System.Windows.Forms" ParamName="Value" StackTrace: at...
1
1,561
thread by: Charlie Agron | last post Jan 10 '12 by: PsychoCoder
Why is it that this VB.Net code only works for detecting flash disks? What would be the possible way to detect the insertion and removal of other USB Peripherals such as mouse and keyboard?
1
1,582
thread by: Asad Masood | last post Jan 10 '12 by: PsychoCoder
i am using Now.TimeOfDay in my vb app. when my pc awakes from hybernation, the app still uses old time before pc goes on hybernation. how do i fix it?
1
5,465
thread by: lindafitriani | last post Jan 9 '12 by: lindafitriani
I'm trying to import data excel (*.xlsx) to reportview... but i'm getting stuck for six hours to solve this problem : type OledbConnection, OledbAdapter, and OledbCommand is not defined i also couldn't find any reference named Microsoft Jet OledB 4.0 in my visual studio 2010 ......... but i find Microsoft Jet and Replication Object 2,6...
0
1,362
thread by: Beany | last post Jan 9 '12 by: Beany
Afternoon, i have a datagridview called 'gvStudents' that shows typical student info. I'm fairly new to VB.net and would like some clarity on how to search a datagridview by typing in a textbox. As the user types in the textbox the results are shown in the datagridview to the closest match. My gvStudents extracts info from my SQL 2005...
0
1,286
Prathap
thread by: Prathap | last post Jan 9 '12 by: Prathap
I am using vb.net.I'll be using a datagridview which is bound to a datasource.Normally it'll load datas in first row(row(0)) to n th row,i want to load datas only from second row.my question is how to left the first row blank.Someone please help
0
1,065
thread by: rizzsid11 | last post Jan 7 '12 by: rizzsid11
I've asked this question in the VB forum :(. I am a newbie to VB.NET trying to design a quiz where the user will be presented randomised images to grade. I am at the stage of writing code to randomise image without repeating. 100+ Images are stored in imagelist and are being randomised in picturebox. At the moment my code loops around continuously...
0
1,144
thread by: torstenborg | last post Jan 6 '12 by: torstenborg
In the Windows OS file paths are not case-sensitive. I wanted to identify where in my HTML-documents I have used incorrect case for any file reference so I could migrate to hosts where case-sensitivity would make misspelled references impossible to find. The enclosed function takes a path eg D:\VS FISA WEB\SITES\fisa\MAIN\ES\ACTIVITY.HTM...
3
2,892
Prathap
thread by: Prathap | last post Jan 6 '12 by: Hexabone
I am a beginner, i have used two text boxes (for username , password) and a button. The password should be encrypted and saved in database when i click submit button. Could someone help?
0
897
thread by: dhruvangini | last post Jan 4 '12 by: dhruvangini
How can i improve loading masterpages performance? It is not dispaying images properly for few seconds.
1
1,376
thread by: omnia elshazly | last post Jan 4 '12 by: yarbrough40
I have a drop down list bounded to a database and this ddl has many names so i want to type the first three letters and then move the arrow down so the name appears at the ddl ( so as not to open the drop down list and search the whole list for just one name ) Is it possible?
1
2,893
thread by: gglhistory | last post Jan 4 '12 by: anilgupte
Hello, I am a very beginner in VB .net. Came through Technical JunkYard (ubaid.tk) and thought to make sms sending s/w for myself using the API provided on the site. But I want some customization a/c to me. But the text alignment and setting password char true @ runtime in case of no input is troubling me. The code for alignment is ...
0
730
thread by: anilgupte | last post Jan 3 '12 by: anilgupte
I have a problem with MDI forms and their location. I have a container form within which I open several child forms. Also note that in the container form I have a ToolStrip at the top and it is also docked to the top. In each of the child forms I have set the following properties. I have set them at design time as well but it wasn't working...
0
795
thread by: anilgupte | last post Jan 3 '12 by: anilgupte
I have a problem with MDI forms and their location. I have a container form within which I open several child forms. Also note that in the container form I have a ToolStrip at the top and it is also docked to the top. In each of the child forms I have set the following properties. I have set them at design time as well but it wasn't working...
0
1,319
thread by: sahilevolution | last post Jan 2 '12 by: sahilevolution
Hello , Myself Sahil and I am doing my Internship as part of my master studies. I wanted to use opengl in my vb.net 2010. I tried so many different things but getting different problem in it. Can you please help me in setting up OpenGl in Vb and start up with simple example. Please. Can you let me know the procedure. I googled almost everything....
1
1,671
thread by: tmann | last post Dec 30 '11 by: tmann
In my windows form project (VS2010) I have a treeview object that is populated based upon a drop down selection. Initially when I have one node populated in the treeview (at startup) it displays fine. If I navigate away from that (by selecting another option) which has multiple nodes and it renders fine. When I go back to the selection that...

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.