20,285 Topics

Member Avatar for
Member Avatar for petercat

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 …

Member Avatar for Santanu.Das
0
482
Member Avatar for Mahmud_1

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 …

Member Avatar for ddanbe
0
124
Member Avatar for kenea
Member Avatar for kenea

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 = …

Member Avatar for Mr.M
0
313
Member Avatar for jez9

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 …

Member Avatar for jez9
0
109
Member Avatar for jez9

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 …

Member Avatar for jez9
0
284
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
219
Member Avatar for littlerockit

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 …

Member Avatar for littlerockit
0
506
Member Avatar for jessica_10

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) …

Member Avatar for JZZZ
0
236
Member Avatar for Spyderbane

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 …

0
107
Member Avatar for mysybet

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 …

0
86
Member Avatar for altjen

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 * …

Member Avatar for altjen
0
242
Member Avatar for Thà nh

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 = …

0
145
Member Avatar for jez9

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 = …

Member Avatar for jez9
0
592
Member Avatar for Mr.M

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 …

0
110
Member Avatar for amvx86

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 …

0
138
Member Avatar for jez9

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 …

Member Avatar for jez9
0
281
Member Avatar for jez9

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()

Member Avatar for jez9
0
319
Member Avatar for win_1

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 …

Member Avatar for Mr.M
0
214
Member Avatar for Xiao_1

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

Member Avatar for Mr.M
0
176
Member Avatar for uzair_2

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 …

Member Avatar for Mr.M
0
167
Member Avatar for Xiao_1

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 …

Member Avatar for Xiao_1
0
166
Member Avatar for fugio

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 …

Member Avatar for fugio
0
210
Member Avatar for SyncMaster170

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 …

Member Avatar for allensmith2
0
174
Member Avatar for jez9

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 …

Member Avatar for jez9
0
2K
Member Avatar for ZFPuhi

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 …

Member Avatar for Reverend Jim
0
219
Member Avatar for jez9

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 …

Member Avatar for tdrosiadis
0
401
Member Avatar for jez9

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 …

Member Avatar for jez9
0
133
Member Avatar for jez9

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 …

Member Avatar for jez9
0
95
Member Avatar for Xiao_1

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 & …

Member Avatar for Santanu.Das
-1
148

The End.