20,285 Topics
![]() | |
MS strikes again. In my tiny little mind this should be a no brainer but I just don't see how to make this work. I have an unbound DataGridView control where I have defined the columns at design time. Currently to add a new row I use a like this: … | |
Hi All, I have a requirement to create n Access 2007 database & some related tables from my application at runtime. I used to be able to do this ages ago in VB5 but having difficulties doing it in VS (VB) 2010. Any pointers would be gratefully accepted. Thanks Charles | |
Hi, I have a collection of (String, Integer). I have taken it into a String() Array and then added to a List(Of String()). I then need to find the duplicates in this list and if found, then add up the corresponding integers. How do I do this? Am I using … | |
Hello guys, I have been thinking if I can develop my personal application using my VB 2008 IDE. I have created different software but all of those are only for PCs. How about for phones, is it possible? If yes, how? | |
Dear Friends How can i convert file into its hex in vb.net or any programming language??? | |
Well my datagrid so far has the edit,update,cancel feature and it can get info back from database after entering a number into a textbox. All i need now is to get it to where I enter a number the data comes up which works and I want a blank row … | |
hi guys i have problem with my code here is my code [CODE] Public Sub increment() Dim dr As SqlDataReader If con.State = ConnectionState.Closed Then con.ConnectionString = (strconnection) con.Open() End If Dim str As String = "Select CUSTOMERID from tbl_Customer" cmd = New SqlCommand(str, objconnection) dr = cmd.ExecuteReader While (dr.Read()) … | |
i have a datagrid and want to format the cell background colours which is working fine. as you can see if the value of the cell is > 95 the cell goes green if the cell value is < 90 the cell goes red. i need help with anything between … | |
I am writing an application that pastes unformatted text into various fields in an application called cerner. Cerner runs via a VPN that is setup by Citrix software (I think). All the cerner applications seem to run under the same windows process. Does anyone know of a good resource online … | |
What happens if a value from hex editor is deleted but not modified ... Friendz plz help | |
I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. … | |
Hi, i connect database with vb.net and also i receive a single value from my receiver through serial port. now i want to match this single data with one field of database. how can i do it. plz help me. i have attached my code. Public Class Form1 Private Sub … | |
Below is my code for one of form load. I have multiple databind controls so I have multiple lines of code that fills my datagrids and databind combobox. The problem is when I debug step by step, my application performs 3 lines of codes but rest of them are skipped. … | |
Hi There, I am trying to get the Sum values of a Column and want to check if entered value in Textbox is valid. Here is my code below [CODE]mystr = ("Provider=Microsoft.JET.OLEDB.4.0;" & _ "Data Source=K:\Amrut Diary\Amrut_Diary\ADDB.mdb") con = New OleDb.OleDbConnection(mystr) con.Open() strsql = "SELECT SUM(Available_Stock) As Avstk FROM STOCKDB … | |
Hi,I'm currently using vb8. i need help in coding. How can I increment a number in a textbox everytime when the form is loaded? I want that first time when the form gets loaded Company_id should appear in the textbox as NEW010101. Second time it should appear as NEW010102. Third … | |
![]() | hiya, What i am trying to do is save text from a number of text boxes to a user named file then subsequently be able to reload the data back into the same text boxes at a later date. so far i have this which was provided for elsewhere on … |
![]() | hi, So heres the deal i am still learning VB (bet you guessed that), now what i am tryiing to do is create a form with a number of text boxes (say 25) where a user can enter their own data. Which they can then save as a file and … |
Hey guys, Im trying to include an item called "Please select ..." in a combobox which is populated using a dataadapter. As you can see below, combobox items are inserted into the item list using a tableadapter. It is followed by a set of codes that inserts "Please select ..." … | |
I have a csv file that needs to be imported into sql server using vb.net. I got it working with the following code with one exception: [code] Private Function ImportLeadFile(ByVal projectfile As String, ByVal sLeadFile As String, ByVal DATABASE As String) As Boolean Dim objConn As nsSqlClient.SqlConnection Dim ds As … | |
Does anyone know some general tips for the exception ConfigurationErrorsException: Unable to open configSourceFile AppSettings.config ? Everytime the code tries to run through a line which contains My.Settings.Environment for example, it throws this error. The red code is where the exception points to. Help Please! My app.config: [CODE] <?xml version="1.0" … | |
Need help in increasing the size of my array. i have this code but i don't know which of these code does not increase the size of my array even though i increment it. This is the declarations: [CODE] Dim movieArray(0) As String Dim ratingArray(0) As String Dim i As … | |
I am having difficulty with a SQL query in my project. I have 3 tables. T1: - Date - ID - Location_ID T2: - Location - Location_ID T3: - ID - Result From this I need the T1.Date and T3.Result based on Location in T2. So my I need a … | |
Hi, currently I am creating a seat plan system. On my seat plan system, there are many workstations(around 150+ per floor). each workstation is define by a linklabel. when a user click on a particular workstation, a new form will appear. And that form will pop up to show who … | |
![]() | Hiya, As the title suggest is there a way to clear multiple text boxes with a single command as opposed to : [code] textbox1.clear() textbox2.clear() . .. ... textbox3500.clear() [/code] hmm something like allthetextboxesonthisform.clear() lol if only it was that easy ;) thanks in advance |
i have some usercontrols in a dll and i need to use them on my other project i try to add reference method but its useless... icant see my controls on toolbox what should i do ? | |
Hello anybody I am trying to update table to access database in vb.net after changing password. But I have a problem in update error as following [CODE] Dim dbCommmand As New System.Data.OleDb.OleDbCommand Dim DBConnection As New System.Data.OleDb.OleDbConnection DBConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\thaeaye\Documents\Testing.mdb" dbCommmand.CommandType = CommandType.Text dbCommmand.Connection = DBConnection DBConnection.Open() dbCommmand.CommandText = … | |
hi, I have problem with my sql query. when i used direct insert statement in 2 different table and sort out using select statement by combining these 2 table's it perfecly give's the output that i wanted but when i apply the same method to the real application its working … | |
How do I go about writing facial recognition code for a program I'm designing? I'm using Visual Basic 2008 Express Edition and I need to implement facial recognition into my software. | |
can anyone help me on how to done w/ this for example i choose 9/1/2011 i want to get the previous date 8/31/2011. help me please. | |
What I need: I have a WPF/Vb.net application and need to delay a section of code from running, otherwise is keeps running.. I'd like to delay this section of code for 3 seconds. Problem: I am working with a scale and printer and when a weight item is placed on … | |
Yay guys, it's me again. I am using the code from here: [url]http://www.daniweb.com/software-development/vbnet/code/370426[/url] to sort my listview items. But I want something more 'dynamic': when I click on a header column, I want that it changes the sorting based on the column that has been clicked. here is my code: … | |
This is part of the last coding that codeorder helped me with. I didn't include this in the last post because I thought this was something that I was going to be able to do. Unfortunately, it is not working properly. In addition to the controls being removed, the control … | |
Is there a way to work the web browser control for viewing off-line (Cached web pages) only? Is it possible to view cached web pages from IE9 on a web browser control off-line? The reason i am asking this question is because IE9 automatically switches from off-line mode to on-line … | |
Hello guys. I have an integer that is storing the result of a division between two numbers. I usually recieve an result that looks like [ICODE]5,2496874654[/ICODE]. How can I limit the variable length so it looks more 'approximated', like [ICODE]5,25[/ICODE]? Thanks in advance! | |
Hi all I'm using a dialog form with two bottons and two Radio buttons. I'm oppening this Dialog when a button is clicked on the parent form. My situattion is when the Dialog opens the code in the button event continues to execute, but I only want it to continue … | |
Here is my code. I get error: [B]No value given for one or more required parameters.[/B] Dim DBAdd As New OleDbCommand DBAdd.Connection = objConnection DBAdd.Connection.Open() DBAdd.CommandText = "INSERT INTO Table1 (RecordsID,Material,Component,VID,PID,DownloadPriority)VALUES(11,'Materialtexttext','ComponentTexttext','vidint','pidint',prtyint)" DBAdd.ExecuteNonQuery() I tried using update command of OLEDB Data adapters also by adding new row. But still I could … | |
hai, Is there any way to convert VB.Net project into VB6 project, pls help me.. | |
So I have 2 picture boxes, a textbox, and a button. One of the picture boxes adds another row with the same controls but moved down when clicked and the other picture box (should) remove the same row that it was clicked on. I have PictureBoxAdd1, PictureBoxRemove1, TextBox1, and Button1 … | |
I have a datagridview with two columns: species and variety, where the dropdown list in variety depends on the species chosen in column 1. I have no problem setting the dropdown list for a new, blank record; the problem comes when I am populating the grid with existing records. I … | |
Hi, Could anyone tell me how to flip rectangles in picturebox? Thanks | |
Hello all, I have a DataGridView that is being populated via SQL with one table and is being filtered by Stock Code. I need to sort the view of one Stock Code by Nutrient names, but the sequence number is in anther SQL table. it would be easy if i … | |
I am having a problem that dtAsia.rows.count>0 doesn't count at all. All I want to do is tell the user that their username already exists in the game but I'm having a bad time now because for example: I entered a valid username and its success... I entered an invalid … | |
I am creating a business software package in visual basic.net that will handle invoices, quotes, purchase orders, inventory items, customers, etc. This program is multi-user meaning that different people could each be running an instance of the program on their computer, with each instance modifying a central database. The problem … | |
Pease please help.. with visual basic 2008. I am trying to get ListView to work but it does not for me. I already set up ListView with 3 colums, but the coding is not working first column called ITEMS, second Quantity and 3rd is PRICE. All items are on Buttons … | |
Hello Friends Does all computer viruses have .exe extension???? If not then how do they get executed in the main memory?? Thank you | |
Can someone please tell me what i am doing wrong with this code. I have created a dataset and want to push that data into crystal reports. [CODE] Dim rpt As New CrystalReport1() 'The report you created. Dim myConnection As SqlConnection Dim MyCommand As New SqlCommand() Dim myDA As New … | |
I have created a windows form application which goes through Internet Explorer index.dat files and extracts various information (URL's , date they were last accessed etc). I then display this information in a data grid view. From here i would like to be able to click on a URL link … | |
I have an application that allows the user to upload information from and Excel sheet. Since the user is more familiar with Excel, they prefer to do it this way. My software will close the workbook with [ICODE]Me.exApp.Workbooks.Close()[/ICODE], but if you have the task manager running, you can see the … | |
need help on this; I want to have the textbox4 to have the sum of columns based on their employee Id. I have this code but kept getting error. strsql = "SELECT emp_id, COUNT(acdcalls) FROM CMS WHERE emp_id= '" & TextBox1.Text & "'" oledbcon.Open() Dim cmd As New OleDbCommand(strsql, oledbcon) … | |
Good day every one please I need help in coding this small easy program it just three text boxes and one button to save them this is my code [ICODE] Imports System.Data Imports System.Data.SqlClient Public Class Form1 Dim cmd As SqlCommand Dim con As SqlConnection Private Sub Button1_Click(ByVal sender As … |
The End.