568 Posted Topics

Member Avatar for skp03

hello skp03 ! i think u have to use xml file. when u run ur application first time then a form1 is load first, put ur code to chk that the xml file is present in directory if yes then hide the form and load the form2 , and also …

Member Avatar for M.Waqas Aslam
1
138
Member Avatar for mirzamujib

when u recive a msg from other user , u place the textbox1.text = other's msg , before this place ur bgcolor change code or icon change code , form example [CODE]form1.bgcolor = yellow textbox1.text=__your msg procedure__[/CODE]

Member Avatar for M.Waqas Aslam
0
188
Member Avatar for kurakar

hello kurakar ! , basically i m using vs2008 ,in 2008 i m using bindingsource for this purpose , i bind my form controls with same bindingsource which is used by me to populate the datagrid , by doing all this when ever i click on my grid row same …

Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for ajkva

hello ajkva ! if my main form has a txtUserID , txtUsername , and i want to search them by using an other form , then i have to take a new form and place a grid on it and also take bindingsource component , now code this on the …

Member Avatar for M.Waqas Aslam
0
132
Member Avatar for VB 2012

try to use the xml , to remember your application setting , i used xml file in my project to store , dbname , servername , bgcolo , text , location ,and other information , try to use xml to store your settings , Hope this will give u some …

Member Avatar for VB 2012
0
155
Member Avatar for Begginnerdev

when u build ur project , for making exe , the panel where u add ur bin files and set icon to ur program , there is solution window on ur right side ,right click on it and a new window will open , on the next window u found …

Member Avatar for Begginnerdev
0
814
Member Avatar for skp03

i think u want to make a simple login form with password and username change option , u have to simple use update statement for this , [CODE] dim da as new sqldataadapter ("update users set (username=@username,password=@Password where userid =@userid)") [/CODE] hope this will helps u Regards M.Waqas Aslam

Member Avatar for M.Waqas Aslam
0
224
Member Avatar for archelle

hello archelle , y not u use bindingsource for this purpose , what u have to do is to give datasourse to bindingsource then set that bindingsource as a datasource of the grid , now bind ur controls with it , for example , if u have a textbox1 , …

Member Avatar for M.Waqas Aslam
0
450
Member Avatar for khizer03

[QUOTE=Mujtaba.aamir;1721186]hi i my self mujtaba and i want a railway software to book railway ticket so plz help me please reply ..............[/QUOTE] what kind of help u want , ?

Member Avatar for M.Waqas Aslam
1
88
Member Avatar for archelle
Member Avatar for M.Waqas Aslam
0
233
Member Avatar for skp03

hello skp03! y not u r using ur projects shortcut for this , Regards M.Waqas Aslam

Member Avatar for Reverend Jim
0
286
Member Avatar for nedrosat

hello nedrosat! u have to use the the value member of the combobox u r using for example [CODE] datagridview.item("columnname",datagridview.currentrow.index).value = combobox.selectedvalue [/CODE] may b this will help u Regards M.Waqas Aslam

Member Avatar for Netcode
0
138
Member Avatar for Rajoo Mal

i think u have to use a sql view , to get your required data . then use this code to show ur all data in grid take a binding source first [CODE] sub mydata() dim mycon as new sqlconnection("connectionstring") mycon.open() dim dt as new datatable dim da as new …

Member Avatar for M.Waqas Aslam
0
176
Member Avatar for M.Waqas Aslam

Hello Every One ! i was using my code [CODE]textbox1.bgcolor = ___colorname___[/CODE] on the gotfoucs event of my textbox , but if i have 34 textboxes then i have to write this line 34 times , which cost lots of time , can any one help me to make any …

Member Avatar for Reverend Jim
0
199
Member Avatar for poojavb

Hello Poojavb ! you can use following code to populate your combobox [CODE] dim mycon as new sqlconnection (your connection string) dim mydataset as new dataset dim bindingsource1 as new bindingsource mycon.open() dim da as new sqldataadapter("select patientname from patient",mycon) mydataset.table("Patient").clear da.fill(mydataset,"patient") bindingsource1.datasource = mydataset.table("patient") combobox1.datasource = bindingsource combobox1.displaymember = …

Member Avatar for poojavb
0
4K
Member Avatar for aishapot

hello aishapot ! you can use substring functions , for example you have number 1234567890 [CODE] Dim p1, p2, p3, p4 As String If TextBox1.Text.Length = 10 Then p1 = TextBox1.Text.Substring(0, 3) p2 = TextBox1.Text.Substring(3, 3) p3 = TextBox1.Text.Substring(6, 2) p4 = TextBox1.Text.Substring(8, 2) TextBox1.Text = "(" & p1 & …

Member Avatar for M.Waqas Aslam
0
227
Member Avatar for M.Waqas Aslam

Hi ! i m working on asp.net project and using c# for it , i want to place my delete button on the right most of the gridview , by default button is placed at left side of the grid , can any one please help me . as i …

Member Avatar for M.Waqas Aslam
0
126
Member Avatar for M.Waqas Aslam

hi ! I want to develop an application in vb.net which can save any open Text Document , Notepad ,Ms-Word ,Ms-Excel etc , The main theme is that my application simple send the SAVE command . i use SendKeys.send("^S") , SendKeys.send("^ + S"),SendKeys.send("{^+S}"),SendKeys.send("{^}+{S}"),SendKeys.send("{Ctrl}+ {S}") . but nothing happening.can Any one …

Member Avatar for Reverend Jim
0
811

The End.