2,383 Posted Topics

Member Avatar for karthiknv

[QUOTE=DangerDev;790791]use System.Diagnostics.Process.GetProcessesByName(processName); to get all the process with this name. After this use the process properties like, process.ModuleName etc. to get the required process, then kill the process by calling function process.kill().[/QUOTE] This section just for vb4/5/6. Don't make it become VB.Net Section...

Member Avatar for SCBWV
0
277
Member Avatar for kerek2
Member Avatar for Mussawar
Member Avatar for cynical
Member Avatar for Jx_Man
0
162
Member Avatar for The Dude
Member Avatar for manoj_582033

This following code just allowed you to entered numbers only (No alphabetics or any special characters) : [code=vb.net]Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If (Microsoft.VisualBasic.Asc(e.KeyChar) < 48) _ Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 57) Then e.Handled = True End If If (Microsoft.VisualBasic.Asc(e.KeyChar) = 8) Then e.Handled …

Member Avatar for rapture
0
124
Member Avatar for gaurisweet2

[QUOTE=sunipun786;787622]ADODC DATACOMBO PROBLEM..... I have some text box, an ADODC data control and a datacombo object in my form.i filled up data control property correctly.also set text boxes property.Now for datacombo i have set datasouce,listfield,bound column propety.[COLOR="Red"]But text in the textbox don't change in accordance with changing item in datacombo[/COLOR].But …

Member Avatar for Jx_Man
0
73
Member Avatar for cham1829

see this sample program, but its not originally from me. [ATTACH]5156[/ATTACH] Ok. Hope this helps

Member Avatar for jyotsna sahu2
0
63
Member Avatar for bharanidharanit

are u sure saved it into txt file?i mean when your program is running..

Member Avatar for Ramy Mahrous
0
91
Member Avatar for sonia sardana

[URL="http://www.devasp.net/net/articles/display/155.html"]Read this article[/URL]

Member Avatar for Comatose
0
115
Member Avatar for yuleball
Member Avatar for vb.babyboy
Member Avatar for edward_paul05

you should change the password friend :) and use the facility in this forum to attach your files as shouvik said. many people will helps you here.

Member Avatar for jireh
0
114
Member Avatar for zawpai
Member Avatar for Lahlahliam
Member Avatar for rahmathmail
Member Avatar for kajames
Member Avatar for NEo4
0
97
Member Avatar for Duki

Just add current form (.cs file) into your project then you can use function on that form.

Member Avatar for ddanbe
0
119
Member Avatar for andy_aphale
Member Avatar for 4ukh
0
112
Member Avatar for bharanidharanit

you mean Textbox, label, Button for basic controls???? please more details...not clear enough..

Member Avatar for bharanidharanit
0
86
Member Avatar for lucier
Member Avatar for sancti

[Code=C#]private void comboBox3_SelectedIndexChanged(object sender, System.EventArgs e) { if (comboBox2.SelectedItem = "Days") { comboBox3.Items.Add("Mon"); comboBox3.Items.Add("Tue"); ... } else if (comboBox2.SelectedItem = "Months") { comboBox3.Items.Add("Jan"); comboBox3.Items.Add("Feb"); ... } }[/code]

Member Avatar for hieuuk
0
106
Member Avatar for the_swan
Member Avatar for Kartikey

r u sure doing the right way when you make the report form at first time (using wizard).

Member Avatar for sierrainfo
0
131
Member Avatar for rajeesh_rsn

just copying your .exe file into startup folder. you can use special folder to do this.

Member Avatar for Teme64
0
115
Member Avatar for Pareshja

use this following code : this code needed 1 datagrid to show data. [code=vb.net] in Module : Imports System.Data Imports System.Data.SqlClient Module Koneksi Public conn As SqlConnection Public Function GetConnect() conn = New SqlConnection("server = YourServerName;database = YourDatabaseName;Trusted_Connection = yes") Return conn End Function End Module[/code] procedure to show data …

Member Avatar for Jx_Man
0
1K
Member Avatar for Ugochukwu

1. Add new item on database 2. Load combobox item after add item. just show us your effort :)

Member Avatar for Jx_Man
0
77
Member Avatar for mails4vijay
Member Avatar for deepukng

[URL="http://www.daniweb.com/forums/showthread.php?t=76524&highlight=create+setup"]See This Thread[/URL] [URL="http://msdn.microsoft.com/en-us/library/tw8kdk75(VS.71).aspx"]visit this link[/URL]

Member Avatar for jbennet
0
151
Member Avatar for evios

use count to know how much rows in column. [code]select count(*) from tableName[/code]

Member Avatar for bruce2424
0
134
Member Avatar for krishniha

HI krishniha...Welcome to daniweb friend :) hope you will enjoy this site

Member Avatar for thunderstorm98
0
68
Member Avatar for smile4evr

[code=vb]Private Sub Timer1_Timer() 'Put timer on form and set interval to 1000 (In the properties window) Label1.Caption = Format(Now, "hh:mm:ss") End Sub[/code] - What tabs?

Member Avatar for smile4evr
0
96
Member Avatar for q8_dreamy

using print dialog and like selvaganapathy said what u want to print...

Member Avatar for slavedogg
0
98
Member Avatar for dreamgirl
Member Avatar for Froot Loops
0
122
Member Avatar for Kartikey
Member Avatar for bondingmuc
Member Avatar for ninjakx
Member Avatar for ajaykumartewari

Hi ajay...Welcome to Daniweb friend. there are many members will need your help You can contribute on [URL="http://www.daniweb.com/forums/forum9.html"]java section[/URL]

Member Avatar for Jx_Man
0
65
Member Avatar for swapna7999

visit this link : 1. [URL="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2678519&SiteID=1"]http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2678519&SiteID=1[/URL] 2. [URL="http://www.codeproject.com/KB/vb/webcamcapture.aspx"]This Link too[/URL]

Member Avatar for irshadAhmed
0
152
Member Avatar for natter

so...what do you want? If u want to terminated application just add [B]End[/B] statement. [code]Private Sub Timer1_Timer() If Label2.Caption = 0 Then Timer1.Enabled = False MsgBox ("60 secs is up, looks like your out of luck") [COLOR="Red"]End[/COLOR] Else Label2.Caption = Label2.Caption - 1 End If End Sub[/code]

Member Avatar for jireh
0
115
Member Avatar for abu taher
Member Avatar for marjz

post your thread on Computer [URL="http://www.daniweb.com/forums/forum14.html"]Science and Software Design[/URL] section

Member Avatar for ithelp
0
85
Member Avatar for charlogig
Member Avatar for asmit1987

[code] Private Sub ReadData() Dim i As Integer con.ConnectionString = ("Provider = Microsoft.JET.OLEDB.4.0;Data Source= D:\Only Me\Authors.mdb") Try cmdOle = con.CreateCommand cmdOle.CommandText = "SELECT * FROM Authors " da.SelectCommand = cmdOle da.Fill(dsOle, "Authors") dtOle = dsOle.Tables("Authors") For i = 0 To dtOle.Rows.Count - 1 cmbAuthor.Items.Add(dtOle.Rows(i).Item(1)) Next Catch ex As Exception MsgBox("Error: …

Member Avatar for Jx_Man
0
145
Member Avatar for The Judge
Member Avatar for mailtosridar
Member Avatar for abu taher

1. [URL="http://www.daniweb.com/forums/thread116910.html"]See this thread for module[/URL] 2. [URL="http://www.daniweb.com/forums/showthread.php?t=27608"]See this thread for class module[/URL] this a some links about class module - [URL="http://www.vbexplorer.com/VBExplorer/ooptutor.asp"]http://www.vbexplorer.com/VBExplorer/ooptutor.asp[/URL] - [URL="http://www.vbexplorer.com/VBExplorer/wrox/sample172X.asp"]http://www.vbexplorer.com/VBExplorer/wrox/sample172X.asp[/URL] Different between class and module : [URL="http://en.allexperts.com/q/Visual-Basic-1048/class-module.htm"]http://en.allexperts.com/q/Visual-Basic-1048/class-module.htm[/URL]

Member Avatar for Jx_Man
0
153
Member Avatar for asmit1987

the red line is how to use datetimepicker : [code]cmdPendidikan1.CommandText = "INSERT INTO Pendidikan(IdPendidikan, Nis, Lulusan, LamaBelajar,SekolahAsal,Alasan,Kelas,Tgl) VALUES('" & Trim(IdPendidikan.Text) & "','" & Trim(cmbNis.SelectedItem) & "','" & Trim(txtLulusanDari.Text) & "','" & Trim(txtLamaBelajar.Text) & "','" & Trim(txtSekAsal.Text) & "','" & Trim(txtAlasan.Text) & "','" & Trim(cmbKelas.SelectedItem) & "','" & [COLOR="Red"]dtTglDiterima.Value.ToShortDateString[/COLOR] & "')"[/code]

Member Avatar for Jx_Man
0
173
Member Avatar for gopi17

To show date in long mode : [icode]DateTimePicker1.Value.ToLongDateString()[/icode] Ex : Saturday, September 13, 2008 To show date in Short mode : [icode]DateTimePicker1.Value.ToShortDateString()[/icode] Ex : 9/13/2008

Member Avatar for gopi17
0
146
Member Avatar for mailtosridar

The End.