20,282 Topics

Member Avatar for
Member Avatar for kenomote

hey guys i need some help on my code here.......... im trying to do some computation about the biling system or a library if the borrwer returns the book on time it will be no charge.......but if hte book is damage then it will charge him trice the ammount of …

Member Avatar for kenomote
0
131
Member Avatar for cmzerres

Hello, I am trying to make a program that allows redstone circuits to be made in for Minecraft,but how do I export the world into a .schematic file if the program each block ID and coords?

Member Avatar for dhatsah
0
63
Member Avatar for Tobyjug2222

Hey Guys, I'm an A level student studdying Computer science, and hence using VB.NET for my coursework. Therefore I'm very novice at VB! While trying to update Data in a Microsoft Office, Access table (Office 2010) - I get this error. (In VB) Bare in mind, I've read all this …

Member Avatar for Tobyjug2222
0
588
Member Avatar for dhatsah

I have 2 graphics I draw onto a form. 1 Graphic is a Randomly Generated Star Field, these stars move, and are updated every tick on a timer(50ms) Once the stars have been drawn/updated a cockpit is overlayed onto this image to give the appearance of moving through space. The …

0
101
Member Avatar for M_UMAR

I'm new at vb.net. i'm making a calculator using only 1 text box and want that my text box show the value( assigned to first variable at run time) along with the operator[+,-,*,/] in upper line and then the value entered in the lower line should be assigned to the …

Member Avatar for M_UMAR
0
234
Member Avatar for Lhark

**For our final requirement before my groupmates and i can graduate we have to develop a LAN-Based Enrollment system we searched about the pros and cons when it comes to using either Access or MySql as the database and the majority of the results are in favor of using Mysql …

Member Avatar for john.knapp
0
128
Member Avatar for hhm_pro992

OpenConn() Dim qqttyy As Integer = Val(ListView1.SelectedItems(0).SubItems(3).Text) Dim codee As String = ListView1.SelectedItems(0).SubItems(1).Text OleDa.UpdateCommand.CommandText = "UPDATE Inventry SET QTY = QTY -'" & qqttyy & "'WHERE CODE ='" & codee & "'" OleDa.UpdateCommand.ExecuteNonQuery() CloseConn()

Member Avatar for hhm_pro992
0
227
Member Avatar for Reverend Jim

The code in this snippet (and attached project zip) demonstrates how to use a background worker thread to monitor a network address (name or IP). It shows how to start and stop the thread and how to update controls in the main thread using delegates. It should be simple to …

Member Avatar for Reverend Jim
1
2K
Member Avatar for tendaimare

I want to format my textboxes in such a way that when someone fills in the details in the textbox if they press enter button on the keybord the focus is given to the next textbox that they should fill in .I tried the code below that we used in …

Member Avatar for safrans
0
3K
Member Avatar for Neethaa

I TRIED TO POPULATE DATA FROM DATABASE INTO THE COMBO BOX AND. ... USING COMBOBOX TO RETRIEVE DATA FROM THE DATABASE AND DISPLAY IT IN TEXTBOX. Im using Vb.net with Acess database Please tell me how to do this.

Member Avatar for Pgmer
0
84
Member Avatar for laney.sinclair.5

I have this webpage. It has a wysiwyg html editor. It will create a blog post to my blogs with its contents everytime I hit submit. I hired someone to create this webpage so I cannot edit it. I don't want to mess it up. I created a program in …

Member Avatar for tinstaafl
0
145
Member Avatar for reimar23

Can someone help me... I am new to vb.net with sql connection and I can't fix this error : variable name '@date' has already been declared. Variable names must be unique-- I need this to be fixed "ASAP" Im running out of time here because of the error here is …

Member Avatar for reimar23
0
336
Member Avatar for Programmer629

hi everyone! i was wondering if anyone could hed me in the right direction 2 programming a program like pinger (preferably vb.net). i have visual studio .net 10 so can someone help me? thx!

Member Avatar for Reverend Jim
0
202
Member Avatar for john.knapp

Hello all. I'm using an API function via PInvoke, with the interesting data being returned to a pointer. My application crashes when attempting to free the pointer. If run with no breakpoints, the application hangs on Line 61 below. After the first run, it will then throw a memory exception …

Member Avatar for john.knapp
0
780
Member Avatar for Neethaa

Private Sub ComboBox3_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox3.SelectedIndexChanged txtdayattended.Enabled = True sql = " select work_day from tbl_yearset where month='" & ComboBox3.Text & "'" If rs.State = 1 Then rs.Close() rs.Open(sql, conn) If rs.EOF = False Then txtworkday.Text = rs(0).Value End If End Sub Please let …

Member Avatar for Reverend Jim
0
152
Member Avatar for fkatan

Hi, I use databinding.addnew() but when I try to type data in cell an error message apper(DBNULL Exception).... Pls let me konw: How can I insert or edit data in DataGrid Thanks

Member Avatar for harsh01ajmera
0
3K
Member Avatar for kenomote

Hey guys i need some help on how to save Values in My.Settings Two texboxes to save two different values and be albe to read those values or laod them when the program is oppned again...and also to be able to be replaced those values...

Member Avatar for tinstaafl
0
156
Member Avatar for Neethaa

Private Sub btnInsert_Click(sender As System.Object, e As System.EventArgs) Handles btnInsert.Click Dim con As New OleDbConnection Dim cmd As New OleDbCommand Dim dr As OleDbDataReader Dim Pnum As Integer Dim InDate As Date Dim PDate As Date Dim Amount As Integer Dim CmpID As Integer Dim Tax As Integer Dim TaxAmt …

Member Avatar for Reverend Jim
0
170
Member Avatar for pratik65

I have 3 TextBoxes in my Project Form , textbox1 is for taking Maximum_Marks, TextBox2 is for Minimum_Marks and the textbox3 is for taking Obtained_Marks ,but i dont want my Obtained_Marks textbox should take value Greater than Maximum_Marks textbox1 value or Less Than Minimum_Marks textbox2 value. i am trying to …

Member Avatar for Reverend Jim
0
187
Member Avatar for Matigo

Hello guys I have got a little programme that been written in Python, I did connect it to an application been created in Visual Basic 2010, But to run the Python file, Of course you will need to install the Python software/Format to be able to run the python file, …

Member Avatar for Matigo
0
229
Member Avatar for Jawow

Private Sub chktop_Click(Index As Integer) 'read toppings PizzaTop = chktop(Index).Caption End Sub Private Sub cmdBuild_Click() 'message box Dim message As String Dim message2 As String Dim I As Integer Dim b As Double Dim e As Double Dim PizzaSize As String Dim PizzaCrust As String Dim PizzaWhere As String If …

Member Avatar for Reverend Jim
0
168
Member Avatar for akash.kotecha1

I want to send the message from my PC to my mobile usnig vb.net...... please help me.... it's urgent...... and if possible please provide the code.... thank you for your help in advance.... :)

Member Avatar for akash.kotecha1
0
184
Member Avatar for savedlema

Hi all! I have a table with (StudentID,Physics,Chemistry,Total,Average) I want to pull values of Physics,Chemistry and calculate Total and then Average for a specific StudentID. With the following code: "SELECT SUM (IIF(ISNULL([Physics]),0,[Physics])) As Phy, SUM (IIF(ISNULL([Chemistry]),0,[Chemistry])) As Chem, SUM([Physics])+Sum([Chemistry]) as Total FROM tblForm1 WHERE StudentID = '" & Trim(Me.txtSearch.Text) & …

Member Avatar for savedlema
0
1K
Member Avatar for lulu79

I want to display datatable result in a label. I have something like this : PLEASE TAKE ACTION FOR LINE **LABEL** But i want the result to be like this: PLEASE TAKE ACTION FOR LINE **Z3, Z5, Z8** I try to use loop but still cant get the result that …

Member Avatar for lulu79
0
830
Member Avatar for lulu79

I want to perform an UPDATE query but i'm getting this error: ![errorHAVING](/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy8zL2Vycm9ySEFWSU5HLkpQRw%3D%3D/500 "errorHAVING") This is my Sub in vb.net: Public Sub changeStatus() Dim Sqlstr As String Dim connectionString As String = "server=xxxx;uid=xxxx;pwd=xxxx;database=xxxx" Dim strtTime As String Dim endTime As String strtTime = DateTime.Today.ToString("yyyy/MM/dd") & " " & "06:15:00" endTime …

Member Avatar for lulu79
0
899
Member Avatar for Matigo

Hello everyone In my app i'm using the counter and timer, But im stuck with resetting the counter My code is: If Timer2.Enabled = True Then counter = counter + 1 Label1.Text = counter If Label1.Text = "180" Then Timer2.Enabled = false Timer3.Enabled = true End If End If End …

Member Avatar for Matigo
0
789
Member Avatar for DyO1

Hello, I need a code that will check if a certain text exist. This is how it's now: If TextBox2.Text = ".sys\clock" Then TextBox1.Text = TextBox1.Text + Environment.NewLine + ("It's") + DateTime.Now End If and I want to make something like this If TextBox2.Text = ".sys\clock" Then TextBox1.Text = TextBox1.Text …

Member Avatar for Reverend Jim
0
220
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make a program that will copy text from an excel spreatsheet and place it in another using visualbasic.net not vba? Please Help

Member Avatar for Reverend Jim
0
272
Member Avatar for timon.bijl

Hello , i was kinda getting interested in a keylogger so can anyone maybe copy paste a keylogger code just an easy 1 . If you type something it just has to appear in a textbox if you can help me , please do it! thx

Member Avatar for pritaeas
0
108
Member Avatar for sundar.mjk

hi it 's working but the Grid view not disp.lay the details Dim cn As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;" & "Data Source=D:\Task_one_one\TaskNew\TaskNew\App_Data\db1.mdb") cn.Open() Try Dim myTable As DataTable = New DataTable("MyTable") 'Dim ds As DataSet = New DataSet myTable.Columns.Add(New DataColumn("Emp Id")) myTable.Columns.Add(New DataColumn("Start Time")) myTable.Columns.Add(New DataColumn("End Time")) myTable.Columns.Add(New DataColumn("Hours")) myTable.Columns.Add(New …

Member Avatar for G_Waddell
0
173

The End.