20,285 Topics
![]() | |
Y could not move the listbox admin no to another listbox Private Sub btnAssign_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAssign.Click 'If ListBoxassign.SelectedItem IsNot Nothing Then ListBoxall.Items.Add(ListBoxassign.SelectedItem) 'End If End Sub Private Sub btnUnassign_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUnassign.Click ListBoxassign.Items.Remove(ListBoxassign.SelectedItem) End Sub End Class | |
here is my code: With RECEIPT For i = 0 To MENUORDER.lvorder.Items.Count - 1 .LstOrder.Items.Add(MENUORDER.lvorder.Items(i)) 'dont know what to do next Next i .ReceiptNo.Text = Me.lblos.Text .lblTotal.Text = Me.lbltotal.Text .lblCash.Text = Me.TextBox1.Text .lblChange.Text = Me.lblchange.Text .ShowDialog() End With [forms : RECEIPT, MENUORDER] i dont know how to display listview subitems … | |
hi, I want to Count how many times i click a button and display the number in listview. but i dont know the syntax for counting a button, can someone help me with this problem? | |
Hi guys....longtime:) Am working on a movie rental system in VB.NET, but there's a problem. I want a situation whereby the user will have the privilege to search for desired records by typing a search string, then hitting the search button. The results should be shown on a datagridview. Here's … | |
hi everyone. I have two array, array1 is two dimension and array2 is one dimension. I want to compare each number in array1 to array2 and if the number is not existing in array2 i want to add this number to array2. I am using vb.net2010. please help me | |
When I retrieve image from mysql longblob field to vb.net picturebox I am getting an error.. pls help.. Dim SqlString As String = "select image from employeesmaster where name='VENU'" Dim cmd As New MySqlCommand(SqlString, MyConnection) Dim ImageData As Byte() = DirectCast(cmd.ExecuteScalar(), Byte()) 'Dim ms As New IO.MemoryStream(ImageData) If Not ImageData … | |
database table : tblsale fields : id [autonumber], name[text], TOTALQTY [text], TOTALPRICE[text] lvlist column: QTY, NAME, PRICE this is my code sql = "UPDATE tblsale set TOTALQTY = TOTALQTY + lvlist.FocusedItem.getTOTALQTY AND TOTALPRICE = TOTALPRICE + lvlist.FocusedItem.SubItems(2).getTOTALPRICE where name = '" & lvlist.FocusedItem.SubItems(1) Dim acscmd = New OleDb.OleDbCommand(sql, Con) acsdr … | |
As we're considering start using Redis to manage our software cache, I came across this article http://www.stackify.com/implementing-cache-tagging-with-redis/ . Does anyone else have an experience with such type of implementation? | |
it can only save 1 record, but i want to save 2 or more from listview to database database table: table1 , fields [receiptnum,nod,qty,price,total [all in text]] For Each x As ListViewItem In lvorder.Items sql = "insert into table1 (receiptnum,nod,qty,price,total) values ('" _ & lblos.Text & "','" _ & x.SubItems(0).Text … | |
ive got a problems in updating the database in ms access, parameters wont work for me. MS Access + vb.net 2010, can someone tell me the other ways of updating? im a biggener in vb.net | |
![]() | Hi, I know that there have been a lot of questions on this topic and I have followed the solutions however my code still does not work. No error comes up, even after using Try and Catch and the code does not break, but the values are just not in … ![]() |
this is my code dim btn as button dim rs as dataadapter rs =" Select * from tbltable1 where status = 'unavailable'", con) with rs [i dont know what comes next but i tried this one] btn.enabled = false end with [nothing's change] [so i tried this one] dim rs … | |
![]() | Hi again, I'm writing a code to retrieve the StudentID from a table in my database and then display it in a textbox. The code to retrieve the ID is on one form and I want the value to display in the textbox in another form. The code that I'm … ![]() |
I have an excel sheet with 2 tables both wit 6 columns an each starts at columnB Table1 with headers starts at B16:G16 AND ENDS AT B62:G62. Table2 with headers starts at B91:G91 AND ENDS AT B118:G118. I want to load table1 to Datagridview1 and table2 to Datagridview2 Please help … | |
i want each line of textbox that has a multiline property set to true to be shown in first row of column one and another line of textbox to be shown on first row of column2 and so on | |
In my visual basic code, I have an object **(objXmlCaseDoc)** containing xml document. I want to add a variable **(strPoNumber)** into this object at the beginning of the xml document. I would like to add the code for the variable where I have a comment in vb code which says … | |
in Student Register_Form i key in the Stud Admin and admin card but when i key in the admin card one number it come out alot of small box that say (Insert time in) here is all the code: Public Class Student_Form Private Sub btnRegister_Click(ByVal sender As System.Object, ByVal e … | |
By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a draw button. Additionally, a panel control will contain the image generated by the code after the button is pressed. | |
Hi need help urgently, can anyone check my code and find what is wrong in there. i have add referance the web services and this web services has server authentication that i need to pass when i send the data (request header value with request message). even i have add … | |
I'm working with vb.net and entity framework. In my form , I have 2 comboboxes : Article and price. ( For both comboboxes , .Selectedvalue is an integer ) If I use this expression : Dim gj As IEnumerable(Of Myobject) gj = (From t In context.myobjects Where t.art = Article.SelectedValue … | |
I have a soap which I want to put into a vatrible in visual studio 2010 and then use that variable containing various elements from the soap. How do I do this? **Soap** <soap:Body> <ns:ProtectionOrderQueryRequest> <ns:ProtectionOrderQueryRequest ns1:id="?" ns1:metadata="?" ns1:linkMetadata="?"> <ns2:CourtFileNumber ns1:id="?" ns1:metadata="?" ns1:linkMetadata="?">?</ns2:CourtFileNumber> <ns2:ProtectionOrderID ns1:id="?" ns1:metadata="?" ns1:linkMetadata="?">?</ns2:ProtectionOrderID> </ns:ProtectionOrderQueryRequest> </ns:ProtectionOrderQueryRequest> </soap:Body> | |
So I am trying to move a Folder on my desktop to a folder in my programming files. Everything is their that needs to be at least I think so but it still says it doesnt have access. I am very new to VB.NET like 3 days fresh. I am … | |
I wanted to call a value in database[ms access]. I have a table named tbltable1 and there are three fields, i,d[autonumber], tablename[text] and status[text]. And i have 4 buttons. Each buttons represents the table name. what i want to happen is,status [available, unavailable], when the status is = "unavailable" the … | |
I cannot figur this out ive been researching. Changeing code structure, Everthing I could think of to get this to work but it keep giving me errors here is the error I get Im pretty sure somewhere in the code its holding onto the file but I dont know where … | |
I am very new to VB.net I am not look for someone to just do it for me just send me in the Right direction I want to learn but I keep tripping up on Conversion from string "C:\Users\Zach\Desktop" to type 'Integer' is not valid. Please shed some light on … | |
In my form I have a button and a label (and of course, a datagridview) in my form. What I want to accomplish is when the user clicks the button, it'll show how many certain text are in the datagridview column. I have column named "Domestic_Animals" and there are two … | |
Hi, I had a little problem dealing with this error. It's raised when i run the application on another pc.But the program works entirely perfect except at two places when closing the forms. Before getting this error I had another error that says: An error occured creating the form. Something … | |
how do i develop a software for insurance database system | |
Hello people, In my server i have database bd_final_v1, but now i need to create a DSN OBDC linkage for other users. I create a program for consult results and for everyone have acess that database , I need to create this linkage. I publish result, and i already try … | |
Public Class Form4 Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click ListBox1.Items.Add(InputBox("Masukkan jenama baru anda:")) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim s As New IO.StreamWriter("toner.dbo") For i As Integer = 0 To ListBox1.Items.Count - 1 s.Write(ListBox1.Items(i) & … |
The End.