20,285 Topics
![]() | |
The reason the label "disappears" may be due to the use of an absolute label location X and Y values after the Picturebox is made the parent. Try this: PictureBox1.SendToBack() 'Make labels transparent and set locations With Label3 .Text = "A" '.Location = New Point(62, 39) .Location = New Point(.Location.X … | |
Hi Guys; I have a data grid imported from a CSV file. It has four columns name, price1, pice2, price3 I also have a drop down list which displays the first column of the datagid (name). If i select a name i want to be able to dispaly all prices … | |
please help me with this. | |
hi please help me with this. when I try to save it, it saved. but the problem, it is saving though it has the same record If idno.Text = "" Or proflname.Text = "" Or proffname.Text = "" Or _ profmi.Text = "" Or subcode.Text = "" Or teachuser.Text = … | |
help please, i really need to solve this one. when the quantity of the product is increasing/decreasing, i want the Total Price to update/increase/decrease also, but its only remain working. the button is declare, so when i click the button , all of the info of that will be transfer/view … | |
ms access [tblorder - code[text], items[text], total[text]] code = lblcode [label] items= x.SubItems(1) [in listview] total = lbltotal [label] as of now i can only save 1 item in the field 'items' , but i want to save 2 or more items,how can i do that? For Each x As … | |
Hi DW I have create a client using VB.NET using Winsock 5.0 as a socket to communicate with the server which I did it in java. The problem is that for terminating the client first send a termination request to the server and the server grants the permit and the … | |
Hi I'm new to this site so please forgive me if this is the wrong forum. I am developing a program which takes data from a reader (impinj) and displays results on a form. The Datatable is filled on a separate thread to the main form, and as such I … | |
i want to hide the other button when i click the btnSnacks/btndrinks buttons: btndrinks, btnSnacks table: tbldrinks, tblSnacks [I use MS access] heres the code that i tried: ~[i use the same code in btnSnacks, i just replace the database with tblSnacks] Private Sub btndrinks_Click(sender As System.Object, e As System.EventArgs) … | |
At my work we have an internal webite that only uses Java 6. 7 and up will crash the site locally. I am aware that it really needs to be update for many reason. Does any one know of a way to launch IE to use an older version of … | |
Hello ! I'm using VB.net 2013 , Entity Framework 6 , SQL server 2008R2 and SMO. I have the application that use the database. But sometime I make changes to database structure , and I want to add to my application a "Refresh Database" command. Let's say that I have … | |
hey all. I'm designing a new software and working on login system with online database. this is the code that I wrote, it work well Mysqlconn.ConnectionString = "server=db4free.net;Port=3306; user id=****; password=d****; database=****g" Mysqlconn = New MySqlConnection Dim READER As MySqlDataReader Try Mysqlconn.Open() Dim Query As String Query = "SELECT * … | |
I have a server chat use socket and multithreading but i can't show data of client to my textbox, I only see that data when i use "Msgbox", I only take a warning about cross-thread...blah...blah but i think it's not my problem so i dismiss it by code: System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = … | |
QTY-QUANTITY The Price is not increasing. I want to multiply the QTY to PRICE , when QTY is Increasing The PRICE need to increase to depends on the QTY. Private Sub clickMe(sendr As Object, ByVal e As EventArgs) Dim btn As Button = CType(sendr, Button) Dim ProdMatch As Boolean = … | |
Hi, I'm conducting a research in web hosting and I've just found a sample online which is a simple web server, its works fine but the only problem is that the browser only display texts and the images are not loaded I don't know what could be the problem, I … | |
Hey what's up everyone? I'm about 3 days into hitting an extreme amount of brick walls and I'm about punch drunk. Currently I've spent 4 hours on this alone and I'm still not getting anywhere. Does anyone have some code samples that I might be able to use to put … | |
ms access[tblmonthly - month, total] month = lbldate [actually my date format is ` lbldate.Text = Date.Now.ToString("MMMMMMMMMM dd, yyyy")` , im using this format for my daily sales and i can save and update at the same time, but in Monthly sales i want to use the same format but … | |
here's my code Dim sql As String = "INSERT INTO tbldailysales(date, totalprice)VALUES(@date, @totalprice)" cmd = New OleDbCommand(sql.ToString, con) cmd.Parameters.AddWithValue("@date", lblday.Text) cmd.Parameters.AddWithValue("@totalprice", lblstotal.Text) cmd.ExecuteNonQuery() | |
I have a xml document with 2 protection order numbers. I want to get the information for one of them which is **protectionOrderNumber="1400042"**. I would like to add strPoNumber variable to the object objXmlCaseDoc. Inside this object is the xml that was read and put inside the object. I want … | |
Y could not move the listbox admin no to another leistox 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 | |
how to show different forms on different identification? sory friend i'm new in vb.net. working on School Management System project. and dont now how to show different forms on different identification. i have no any idea releated to this. need your help! i have 3 main forms for 3 different … | |
in this form the stuednt record the time when login so that when they take attendance know that time they come in this the code : Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick lbltime.Text = "Time:" + TimeString If String.IsNullOrWhiteSpace(txtadmno.Text) Or String.IsNullOrWhiteSpace(txtcard.Text) Then 'MessageBox.Show("Please complete … | |
I created a datagridview and Added number of rows from 1 to 7 summation to results 1 2 3 4 5 6 7 => results 1 3 6 10 15 21 28 (1+2=3; 3+3=6; 6+4=10; 10+5=15; 15+6=21; 21+7=28) write simple way DataGridView1.RowCount = 9 For i As Integer = 1 … | |
So heres my issue: My works VB program uses Code 3 of 9 to put a barcode on a members card; This issue only pertains to one computer, all other networked computers print member cards just fine with the barcode on them. BUT, when I go to print a member … | |
i created a simple keyboard in vb.net , the problem is i got 2 textboxes, but when i tried to use the keyboard that i've created in textbox1, i got the same result in textbox2[ in short what i type in textbox1 it also textbox2] if textbox1.[dont know what to … | |
Hello to all, i am new at this and i am just learning, i have a scholl project to make a program that needs to have discount base on how much they buy like 5 - 10% | 15 - 25% | 25 - 40% and ofc here is the … | |
Hi, i'm really having trouble how can i make a sales report without using crystal report. I want to do daily, weekly,monthly and yearly report. I created a database with two fiels only, Date and Total Price, but i don't know how to code it, do i just use if … | |
Syntax error. Im not really familiar in using parameter so i dont know whats wrong with code . i used ms access. Private Sub btnupdate_Click(sender As System.Object, e As System.EventArgs) Handles btnupdate.Click Dim name As String = txtfname.Text Dim pos As String = txtpos.Text Dim address As String = txtadd.Text … | |
hello again :) heres the code for declare button: Sub table_load() Dim CMD As OleDb.OleDbCommand = New OleDb.OleDbCommand("Select * from tblnumber", con) Dim rd As OleDbDataReader = CMD.ExecuteReader() If rd.HasRows() Then Dim pos As New Point(5, 5) Dim sz As New Size(50, 50) Do While rd.Read() Dim tblnum As New … | |
the monthCalendar how to i selct the date it will come out the timein & time out and name even i chosse anydate will come out Private Sub MonthCalendar1_DateSelected(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateSelected Dim calendarselct As String calendarselct = MonthCalendar1.SelectionRange.Start.Day.ToString & "/" & MonthCalendar1.SelectionRange.Start.Month.ToString & … |
The End.