2,383 Posted Topics
Re: To show next form without hide previous form : [code=vb]Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim Test As New Form4 Test.Show() End Sub[/code] To show next form with hide previous form : [code=vb]Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click … | |
Re: Hi “FRANCE”...Welcome to Daniweb Friend :) Hope you will get what you needed here. | |
Re: >> is there any solution to my problem? Yes, Install crystal report. Crystal report didn't included in vb6 installer. | |
Re: see this following code : needed 4 check box, 1 textbox and 2 button. [code=vb]Dim NamaFile As String Private Sub Command1_Click() Cmd.Filter = "All Files|*.*" Cmd.DialogTitle = "Select Target" Cmd.ShowOpen NamaFile = Cmd.FileName Text1.Text = NamaFile End Sub Private Sub Command2_Click() Dim NilaiAttributes As Byte If NamaFile <> "" Then … | |
Re: well, its not table. its listview. Component name is [B]Microsoft Windows Common 6.0(sp6)[/B] | |
Re: i think Arshad already give the solution [CODE]CrystalReportViewer.SelectionFormula() = "{Student.id_student}='" & Trim(txtIdStudent.text) & "' "[/CODE] Student is the table Name & id_student is parameter | |
Re: [code] Private Sub ListView_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Integer Dim lvitem As ListViewItem For i = 1 To 5 lvitem = ListView1.Items.Add("1") lvitem.SubItems.Add("sonia") [COLOR="Red"] lvitem.Checked = True[/COLOR] Next End Sub[/code] | |
Re: i think selvaganapathy was answered this. Username is global variable like debasisdas said. | |
Re: [URL="http://www.daniweb.com/code/snippet820.html"]see this snippet... May it helps u.[/URL] | |
Re: post in [URL="http://www.daniweb.com/forums/forum61.html"]c#[/URL] or [URL="http://www.daniweb.com/forums/forum18.html"]asp section[/URL]. this section for vb 6. | |
Re: what the mean of "deploying"? make it more clear... | |
Re: please don't make many threads with same topic, just use one thread... its annoying.. | |
Re: selvaganapathy was given great code... also you can try use DateSerial() [B]DateSerial(Year,Month,Day)[/B] This will add 20 days from 5 July 2008. [code=vb] Private Sub Form_Load() MsgBox DateSerial(2008, 7, 5 + 20) End Sub [/code] Result : 7/25/2008 This will count the 50 days from 1 July 2008. [CODE=vb]Private Sub Form_Load() … | |
| |
Re: make some application if u get any problem then u post it on this forum. :) | |
Re: may this snippet helps you. i was write this code in vb 2003 but its not problem to u. 1. [URL="http://www.daniweb.com/code/snippet820.html"]http://www.daniweb.com/code/snippet820.html[/URL] 2. [URL="http://www.daniweb.com/code/snippet836.html"]http://www.daniweb.com/code/snippet836.html[/URL] | |
Re: Post your question on [URL="http://www.daniweb.com/forums/forum17.html"]PHP Section[/URL]. This section just for VB.Net | |
Re: [QUOTE=sendtoanurag;639004]DateInterval.Month is for Vb.Net FOr VB use diff = DateDiff("m", date2, date1)[/QUOTE] Yes, agreed. Just post code for vb 6 in this section friend :), cause there are section for [URL="http://www.daniweb.com/forums/forum58.html"]vb.net[/URL] | |
Re: Val() function always return numeric. [QUOTE]If Val(Text3.Text) <> 0 is it text3 = 0?[/QUOTE] No, it means to compare if value of text3 is not 0. | |
Re: >> anything is wrong in my code? post the code | |
Re: SS Tab is a control on Component (Ctrl + T or Project ->Component). | |
Re: [QUOTE=sushilchandu;637385]If you knows answer then give answer but don't give advises[/QUOTE] It kind of Laziness....Show the effort, how far you have done with this. [URL="http://www.daniweb.com/forums/announcement61-2.html"]You Need To See This Rule[/URL] :) | |
Re: - Started with Pascal in 2003 for 6 months - Visual Basic from 2004 until now.. - C and Matlab for 6 months, - C++ for 6 Months, - Java for 6 months, - VB.Net And ASP.Net in last 2 years until now... - And this year i learning for … | |
Re: see this example : i write this code in pascal [ATTACH]5318[/ATTACH] hope this helps.. | |
Re: [URL="http://www.daniweb.com/forums/announcement58-2.html"]I would like to know if someone could send me a entire code for this purpose [/URL] | |
Re: what do you want exactly? did u cannot import System.Data.SqlClient on your codes? | |
Re: alternatively : [code=vb] Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged ComboBox1.Items.Remove(ComboBox1.SelectedItem) End Sub[/code] | |
Re: try this following code : [code=vb]Private Sub TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox3.TextChanged If Val(TextBox3.Text) > 32 Then TextBox3.Text = TextBox3.Text.Remove(0, Len(TextBox3.Text)) MsgBox("input under 33") End If End Sub[/code] | |
Re: In form2 : [code=vb]Private Sub Form_Load() Command1.Caption = Form1.Text1 End Sub [/code] | |
Re: >> what should be installed on client machine install .net framework to run a vb.net 1.0 application smoothly... | |
Re: First you must to know the pattern of prime number then u can write the code. see [URL="http://en.wikipedia.org/wiki/Prime_number"]wikipedia[/URL] and [URL="http://www.factmonster.com/ipka/A0876084.html"]FactMonster[/URL] |
The End.