568 Posted Topics

Member Avatar for necrovore
Member Avatar for necrovore
0
100
Member Avatar for opman234

you can use registry values for this . here is a link having detail information and code. hope this will solve your prob :) [Click Here](http://www.rune-server.org/programming/application-development/tutorials/299016-vbulletin-net-how-create-trial-version-implement-your-application.html) Regards

Member Avatar for G_Waddell
0
221
Member Avatar for pritesh2010

try this class Calendar { public Calendar(ref NullableDateTimePicker Picker) { } } i use this site to convert code from vb.net to c# [Click Here](http://www.carlosag.net/tools/codetranslator/) Regards

Member Avatar for Michael27
0
119
Member Avatar for robin99
Member Avatar for nesa24casa
0
73
Member Avatar for cristine.y07

you can simply do this //import the sqlclient library at the top like this using System.Data.SqlClient; 'now you can connect to your database like this SqlConnection con = new SqlConnection(|"Data Source=YourServerAddress;Initial Catalog=YourDatabaseName;Integrated Security=SSPI;"); con.Open(); //here you can perform any database operation using different objects like //sqldataadapter //sqldatareader //sqlcommand con.Close(); every …

Member Avatar for M.Waqas Aslam
0
88
Member Avatar for HibaPro

as pgmer said you have to populate your datagrid again each time when you insert , update or remove record, Regards

Member Avatar for Pgmer
0
91
Member Avatar for Mike Bishop

please ALWAYS post precis question , there is no time to read all your debugging information . what is your prob? ,tell us your prob in simple words.

Member Avatar for M.Waqas Aslam
-1
153
Member Avatar for M.Waqas Aslam

hello! i am currently working on a simple file make application , this application read data from foxpro .dbf file , i want to get records between two dates , from date and to date , the invoice date field name is fl02 here is my query but this is …

Member Avatar for neeraj.shorey
0
137
Member Avatar for l_rankov

you can also change the value by just double clicking in it . but this will not change value in your dataset or datatable Regards

Member Avatar for jasonrle0332
0
11K
Member Avatar for eoop.org

i think in order to create your own programing lang you have to know deep knowledge about assembly lang . complier , assembler. every programing lang first convert in assembly lang before machine code. so you can simple make a text editor , define some reserve words like in every …

Member Avatar for Randlathor05
0
172
Member Avatar for jerviejeb

just loop your datagrid view and save values , you can do like this for i = 0 to datagridview.rows.count -1 'your code here next Regards

Member Avatar for kRod
0
117
Member Avatar for M.Waqas Aslam

hello ! recently i complete my project management application in .net , now i want to make a attractive main form , i google alot and searching attractive interfaces of application of same domain. i want to you to guid me or if possible then give some links . you …

0
162
Member Avatar for sythez.orgz

you want to show output from the database and show it in your textbox ? if yes then you can use sqldatareader for this. Regards

Member Avatar for Dili1234
0
1K
Member Avatar for hazelmayt
Member Avatar for hazelmayt
0
258
Member Avatar for ann.arceo.14

"select * from table1 where @yourDate between hiringdate and contractEndDate and id = @ID '@yourDate and @ID are the variable fields. try this , may be this will solve your prob. Regards

Member Avatar for saphiro
0
171
Member Avatar for linabeb

linabeb. to find error use debugger , just place a break point then use f11 to check each line of code to find where is the error. this will help you in future , now to get the proper error you can use try catch , like this try 'your …

Member Avatar for Maligui
0
288
Member Avatar for sanket044

well you can do like this , as in my computer there is no mssql installed so may be this will not work properly but give you an idea. select distinct fname ,'','' from table union all select distinct '',mname,'' from table union all select distinct '','',lname from table this …

Member Avatar for M.Waqas Aslam
0
136
Member Avatar for prancode

you have to first add columns to your grid in order to add rows to it , first add columns then add rows Regards

Member Avatar for M.Waqas Aslam
0
163
Member Avatar for Gus_19

please visit this link , hope this will help you to solve your prob. [Click Here](http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/8d9ff8b9-2d3e-4ce4-a3be-98a451464080/) Regards

Member Avatar for Reverend Jim
0
165
Member Avatar for M.Waqas Aslam

to day is 65th independence day of pakistan . please wish my country a great future and piece , our soilders fighting for the global piece , even my elder brother captain Faiz also give his life for this noble cause . 40,000 + soilders of pakistan killed in this …

Member Avatar for M.Waqas Aslam
0
130
Member Avatar for SANJAY26

can you please tell me what is your prob , just posting your code is not sufficient to help you , explain your prob so that any one can help you. Regards

Member Avatar for ChrisPadgham
0
220
Member Avatar for MeSam0804

here are some links , they will help you to take first step [Click Here](http://vb.net-informations.com/communications/vb.net_chat_server_program.htm) [Click Here](http://social.msdn.microsoft.com/Forums/da-DK/Vsexpressvb/thread/05d24093-87cd-4bc7-ba99-f9d8711fcaf5) Regards

Member Avatar for MeSam0804
0
1K
Member Avatar for opman234

just add web browser control to your form and use this code webbrowser1.navigate(application.startuppath & "\a.html") it will load that file in your web browser control. hope this will solve your prob. Regards

Member Avatar for Maligui
0
135
Member Avatar for l_rankov

you can set the modifire property in property window of your control public from private , then you can access it on your second form like this frmMain frm = new frmMain(); txtGetText.Text = frm.txtMyText.Text hope this will help you.

Member Avatar for M.Waqas Aslam
0
207
Member Avatar for Stealthbird97

to download from ftp you can use this my.computer.network.download(ur ftp address+filename,username,password,destination folder+filename) 'as i just typed it here so may be the sequence of parameters may be different. so please advance sorry for this. Regards

Member Avatar for Maligui
0
129
Member Avatar for prancode

well , there is not that much time to read all your code , i have a better suggestion for you , you can just edit all the records in your grid , after that save all your records , it is simple fast and it will reduce your work …

Member Avatar for prancode
0
300
Member Avatar for M.Waqas Aslam

hello ! i am working on a telerik reports , i worked on them in asp.net and we can just pass parameters to the report by by just doing this Response.Redirect("rptReportViewerTelerik.aspx?report=rptInvestmentAnalysis&fromDate=" + txtFDate.Text + "&toDate=" + txtTDate.Text + "&doctorTypeID=" + txtDType.Text + "&investmentTypeID=" + txtSegType.Text + "&locationID=" + txtLocation.Text); but …

Member Avatar for Donnovan
0
139
Member Avatar for themaj

i think you can join datatables using Linq queries ,i dont know much about it but you can google it , regards

Member Avatar for themaj
0
2K
Member Avatar for brylle

in order to add new row you have to define column in your grid then just add row like this for example i have to textboxes txtName , txtFatherName and a grid with two columns , name and father name , a button , i want to add new row …

Member Avatar for brylle
0
296
Member Avatar for hazem.hisham93

everything has some basics , you should start from basics , first study about strings , constants , variables ,conditional statements , loops , functions , datatypes , arrays ,pointers,classes , objects etc. along with it make some simple programs in c# which help you to get familier with practical …

Member Avatar for M.Waqas Aslam
0
82
Member Avatar for Commando123

you can make a view like this select i.invoiceNo , (i.amount) as Amount from invoices i where i.IsDeleted = 0 union all select i.invoiceNo , 0 as Amount from invoices i where i.IsDeleted = 1 and use this view in your report . this and then just add summary at …

Member Avatar for M.Waqas Aslam
0
94
Member Avatar for HibaPro

brylle , please use your own thread for your question. do not post your questions in others thread. Regards

Member Avatar for M.Waqas Aslam
0
196
Member Avatar for smitty68503

means there are more then one dataabases you have , ? and you want that your code will update the selected database ? if yes then do something like this dim con as new sqlconnection("your connection string") con.ChangeDatabase(comboBox.text) ' you can use combobox.selectedvalue con.open() '------------------ here you can use your …

Member Avatar for Reverend Jim
0
1K
Member Avatar for nmaz22

just declare a variable of int datatype then use if statements to check conditions at your combobox selected index changed event.like this dim totPoints as integer 'use if condition like this if val(combobox1.selectedvalue) > 20 then totPoints = totPoints + 3 elseif val(combobox1.selectedvalue) > 30 totPoints = totPoints + 2 …

Member Avatar for Reverend Jim
0
104
Member Avatar for moone009

you can use replace like this update table set column1 = replace(column1, '|', ' ') May be this will solve your prob. Regards

Member Avatar for M.Waqas Aslam
0
210
Member Avatar for balamithra

you dont have select permission for this database , try to use windows athentication in vb.net or you can call it trusted connection string , in that string there is no need to give id and pass . [Click Here](http://www.connectionstrings.com/) at this site you can get connection string. Regards

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

hello ! i want to disable my usb port using c# or vb.net ,is it possible to do so using .net ? if yes then any idea how i can do this ? Regards

Member Avatar for M.Waqas Aslam
0
96
Member Avatar for system_Broken
Member Avatar for M.Waqas Aslam
0
146
Member Avatar for K.os

ok here is a example , you can search your all emplyees by there names , do something like this first take a form with a grid and a textbox , now use this code at the textbox text change event. dim con as new sqlconnection("your connection string") con.open() dim …

Member Avatar for jemz
0
111
Member Avatar for Gaving30
Member Avatar for pallas_athena

you can use timer control , as mikey said if you are working on winform application. just add a timer control to your form , go to property window , set interval and call your function at timer tick event , HINT: in timer interval 1000 = 1 sec , …

Member Avatar for M.Waqas Aslam
0
114
Member Avatar for AndyPants

yes you can use web browser control in vb.net form and after that you can easily edit the webpage. but for this you have to make your or custom browser. Regards

Member Avatar for M.Waqas Aslam
0
134
Member Avatar for dakaboguy

and i also want to add something in jim's comment that in your code you are using 4 cmd objects , 4 dataadapter and 4 datatable , it not good . just use this cmd as new sqlcommand() da as new sqldataadapter() etc this will reduce your code. Regards

Member Avatar for Reverend Jim
0
178
Member Avatar for amass
Member Avatar for marky101

i dont know about the auto width function in crystal report yes you use can grow property of your column , just set can grow property true. Regards

Member Avatar for marky101
0
154
Member Avatar for Andrei15193
Member Avatar for dre-logics

here is query of mssql , i dont know about mysql , it may not work in mysql , but it will give you an idea to solve your prob. select s.articlenb , a.supplier ,a.cell, s.barcodenb s.barcodedescription s.instock from stock s inner join articles a on a.articlenb = s.articalnb where …

Member Avatar for dre-logics
0
278
Member Avatar for babyhadem
Re: code

before coding , i think it is better to analyise your proj , and requirements then start developing database then start coding. , you can find so many hospital management application on net tril version or demo versions , after testing them you can better analyise your application . Regards

Member Avatar for Mike Askew
0
114
Member Avatar for Khav

you can also use textbox text change event for this ,here is an example to in which we have to give qty and price and nettotal will calculated auto. 'use this code on the price textbox's text change event txtNetTotal.text =val( txtQty.text) * val( txtPrice.text)

Member Avatar for Khav
0
870
Member Avatar for HibaPro

i think you have to convert your int value first in decimal value and after that make calculations and then just convert your decimal value to string and concatinate it with "%" string. Regards

Member Avatar for M.Waqas Aslam
0
893

The End.