- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 57
- Posts with Upvotes
- 49
- Upvoting Members
- 33
- Downvotes Received
- 9
- Posts with Downvotes
- 6
- Downvoting Members
- 9
Here for teach what i know & learn what you know. So help each other.
- Interests
- Coding. Music (Trance only). Learning new technologies.
- PC Specs
- Windows 7, with 2GB RAM and 320 GB HDD. Nothing special..... But have VS2010
143 Posted Topics
Re: This is very simple... try this.. [CODE] Public Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ComboBox1.Items.Clear() Try db.con.Open() Dim da As New SqlDataAdapter("select * from student where id>3", db.con) Dim ds As New DataSet da.Fill(ds, "1") For i As Integer = 0 To ds.Tables("1").Rows.Count - 1 … | |
Re: Ok you can try this... [CODE]Dim d1 As DateTime Dim d2 As DateTime Dim ts As TimeSpan Dim ts2 As TimeSpan Dim tsFinal As TimeSpan 'Time format is 10:35:23. So in textbox you must type like this... d1 = DateTime.Parse("1/1/2012 " + Me.TextBox1.Text.Trim) d2 = DateTime.Parse("1/1/2012 " + Me.TextBox2.Text.Trim) ts … | |
Re: I am assuming you are using Codeigniter .. 1. Check your route.php file for correct route entry. 2. Check if your local server is running properly. (Like WAMP) I think it's a routing problem. Please reply with your route.php code. If you are using Codeigniter. | |
Re: You must have saved those information somewhere in your database. And then only you can display them after reading the barcode. Most of the Barcode reader actually read the bar code and product its alphanumeric value. So make a table like id Barcode ProductName Description Image ----------------------------------------------------- 1 ABCD12 XYZ … | |
First thing is this is a long question. So please first read it then give me your suggestion. currently i am working on a banking projects for my degree. Where i am implementing a simple bank savings account. Where account holder can deposit and withdraw money. The account starts with … | |
Re: Actually your programming LOGIC is not correct... Your code: [CODE] Private Sub btnSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSearch.Click provSrcStaf = "PROVIDER=Microsoft.ACE.Oledb.12.0;" souSrcStaf = "DATA SOURCE=D:\RTLSALimited.accdb" conSrcStaf.ConnectionString = provSrcStaf & souSrcStaf If txtSearch.Text = "" Then MessageBox.Show("Enter valid Staff ID", "RTL SA Rubber Limited.", MessageBoxButtons.OK, MessageBoxIcon.Error) txtSearch.Focus() … | |
Re: So you want to store the radio button state into database. If i am right then just check the values or all radio button by using [CODE]RadioButton1.Checked[/CODE] Now suppose you have a table where a field for saving the state is [rad] then find which radio button is checked and … | |
This module is for validating textboxes.... After using this module in your project you can simply validate all of your text boxes like [CODE] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load AssignValidation(Me.TextBox1, ValidationType.Only_Digits) AssignValidation(Me.TextBox2, ValidationType.Only_Characters) AssignValidation(Me.TextBox3, ValidationType.No_Blank) AssignValidation(Me.TextBox4, ValidationType.Only_Email) End Sub [/CODE] | |
Re: Please give the error code and description so we can solve it... | |
| |
Re: You'v a great sense of [B]Humor[/B]. [B]corruption[/B] | |
Hi all, **First of all please read the full article and then try to suggest me...** I want to make a java project on streaming video encryption. Where i will use two PCs 1 act like a media server and other act like a client. So a video file (example.avi) … | |
I need AT(ATtension) Commands for Mobile Easy Recharge. Currently i have using sim300_v7.02 gsm modem for my project. Now i need AT Command for Accessing the menu from sim. Also i need at commands for mobile easy recharge, easy recharge can be done through my sim card | |
Re: If this code compiled without error then please post it to code snippet section. Others may get help from this.. | |
Re: 010101110110010101101100001000000111011101101000011000010111010000100000011010010111001100100000011101000110100001101001011100110011111100100000010010010111010001110011001000000110111001101111011101000010000001100001001000000110011101100001011011010110010100100000011010010111010001110011001000000110000100101110001011100010111000101110 | |
Hi, I am currently making an application which can send recharge amount by using a mobile device. (Nokia E71). So if anyone know what is the AT command for that please help me..... | |
Re: You can use Timer Control for this. Just add timer and set its interval to 5000(5 Second). Now when play button clicked just play the video and start the timer. [CODE]Timer1.Start()[/CODE] Now in timers event just write this [CODE] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
| |
Re: In SQL [CODE]select Table1.ID,Table1.NAME,Table1.AGE,Table1.ACOLUMN3,Table1.ACOLUMN4,Table1.ACOLUMN5,Table2.BCOLUMN3,Table2.BCOLUMN4,Table2.BCOLUMN5 from Table1 join Table2 on Table1.ID=Table2.ID[/CODE] | |
Re: Please describe clearly.... Where you getting error?? In command prompt?? | |
Re: Here is the error [CODE] Public Sub SaveNames(ByRef SQLStatement As String) Dim cmd As MySqlCommand = New MySqlCommand 'Here you have to open the connection so use---> SQLConnection.Open() With cmd .CommandText = SQLStatement .CommandType = CommandType.Text .Connection = SQLConnection .ExecuteNonQuery() End With SQLConnection.Close() MsgBox("Successfully Added!") SQLConnection.Dispose() End Sub [/CODE] | |
Re: Ok done baby done.... [URL="http://www.mediafire.com/?ll3zbtatafdbuok"]http://www.mediafire.com/?ll3zbtatafdbuok[/URL] Download this project ... I strongly believe that you will kiss me... | |
Re: Please show us some portion of your code so we can help you. By the way what is your problem actually?? | |
Re: What kind of error you get??? | |
Re: Do u get any error, if yes then please post it here... | |
Re: You can try this [URL="http://vb.net-informations.com/communications/vb.net_socket_programming.htm"]http://vb.net-informations.com/communications/vb.net_socket_programming.htm[/URL] | |
Re: In your code i can't see any possibility to add record twice. So i think you must post your full code for all the controls your use in your form. Just only this forms code... Ok.. | |
Re: I think this will help you [CODE] Dim replace As String = CDate(textbox1.text).AddDays(7).ToString("yyyy-MM-dd") [/CODE] | |
Re: In formClosing event just use a loop [CODE] Dim sw As New System.IO.StreamWriter("Path for the file like C:\abc.txt") For i As Integer=0 To Listbox1.Items.Count-1 sw.WriteLine(Listbox1.Items.Item(i)) Next sw.Dispose() [/CODE] | |
Re: You can use Setup Factory For that... | |
Re: Use Visible property instead of Bringtofront like [CODE] 'Label17.SendToBack() - Dont use that. Use Label17.Visible=True 'And for opposite just use Label17.Visible=False [/CODE] | |
Re: just change the loop [CODE] Do While FileStream.Position < FileStream.Length if BinaryReader.ReadBoolean=True Then CheckedListBox1.Items.Add(BinaryReader.ReadString) CheckedListBox1.SetItemChecked(CheckedListBox1.Items.Count - 1, BinaryReader.ReadBoolean) End If Loop [/CODE] | |
Re: [QUOTE]if the user has opened the .mdb file then it shud be closed and also that when the application is running no one shpuld be able to open the .mdb file....[/QUOTE] Open by what?? Your application or 3rd Party app?? | |
Re: Yes you can. Try socket... [URL="http://vb.net-informations.com/communications/vb.net_socket_programming.htm"]http://vb.net-informations.com/communications/vb.net_socket_programming.htm[/URL] In this tutorial you can learn socket and how it works in VB.Net.. After learning Make a server and a client... Client will send a command for time-->Server will receive that---->Server Send the current time---->Client receive it and show it into Label.... Understand... | |
Re: ok for Decimal you can try [CODE] if str(val( AClient.AccountNumber)).Trim <> AClient.AccountNumber.Trim Msgbox "Please Enter a correct decimal Number" End If [/CODE] | |
Re: Because u declare acscmd as OleDb.OleDbCommand Object. But use objcmd in your code. Actually objcmd is not declared So you get the error. | |
Re: Ok just grab the username and id from database and show.... Or else Post your code.... | |
Re: I think this is a static field. I mean each record you insert the status field initially assigned 'open' . Understand!!! | |
Re: I think you miss the "Values()" part. [CODE] Insert Into Table1(Field1,Field2,.....) Values(Val1,Val2,.....) [/CODE] This is the correct form of SQL Insert... | |
This is a problem i face all the time. When post count of a thread is too high it is split into pages (Page 1, Page 2, ....). So if a user, when replying, want to see the previous post he must have to navigate to that specific page.. Is … | |
Re: Yes you can if you have a fixed IP address then you can make your mdf file use as server. So that each client connect the database.... | |
Re: Try this... [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim t(4) As TextBox t(0) = Me.TextBox1 t(1) = Me.TextBox2 t(2) = Me.TextBox3 t(3) = Me.TextBox4 Dim cindex As Integer = 0 For i As Integer = 0 To 3 If t(i).Text.Trim = "A" Then … | |
Re: What kind of resource file you used? | |
Re: [QUOTE]I got IT!![/QUOTE] Will your problem solved??? or you have any error? | |
Re: Try this.... [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Me.ListBox1.SelectedIndex > -1 Then Me.ListBox1.Items.RemoveAt(Me.ListBox1.SelectedIndex) End If End Sub [/CODE] | |
Re: Try this [CODE] Dim j As Integer = 0 While j <= Me.ListBox1.Items.Count - 1 Dim i As Integer = 0 For i = 0 To Me.ListBox2.Items.Count - 1 If Me.ListBox1.Items(j) = Me.ListBox2.Items.Item(i) Then Exit For End If Next If i = Me.ListBox2.Items.Count Then Me.ListBox2.Items.Add(Me.ListBox1.Items.Item(j)) Me.ListBox1.Items.RemoveAt(j) Else j += 1 … | |
Re: Try this [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim calories As Integer = 0 For i As Integer = 0 To RcpRqrLstBx.Items.Count - 1 Dim tokens() As String = RcpRqrLstBx.Items.Item(i).Split("-") Select Case tokens(0) Case "eggs (each)" calories += 72 * Val(tokens(1)) Case "flour … | |
Re: u can use Thread. [CODE]Threading.Thread.Sleep(5000)[/CODE] | |
Re: [CODE] ListBox1.Items.Clear() Try con.Open() Dim da As New SqlDataAdapter("select * from student where id="+Me.TextBox1.Text, db.con) Dim ds As New DataSet da.Fill(ds, "1") For i As Integer = 0 To ds.Tables("1").Rows.Count - 1 Me.ListBox1.Items.Add(ds.Tables("1").Rows(i)(0) + " - " + ds.Tables("1").Rows(i)(1)) Next Catch ex As Exception MsgBox("Error : " + ex.Message) Finally … |
The End.