464 Posted Topics
Re: try this [CODE](double)enumerator2.Value[/CODE] if it doesn't work then check the following code to convert you enumvalue into double [CODE]double dblVar = (doubleenumerator2.GetType().GetField("value__").GetValue(objYourEnum)[/CODE] | |
Re: I think not now. It is possible in coming years but not at this stage. As it is a costly process as it needs a fairly large database to maintain voices. Other then voices another big issue is to handle different accents of users from different regions.... The voices recorded … | |
Re: what i got after searching is blog after blog after blog about science, reptiles and amphibians if you get any other information please share | |
Re: A unique file identifier is the number which is uniquely assigned to every file regardless of what changes are made in it. Usually files are identified by their unique [B][U]Inode number[/U][/B] which is unique number associated with each filename. This number is used to look up an entry in the … | |
Re: Can you please clear how you make these combination? i have gone through your previous posts but still cannot understand how you make these combination please explain it once again may be I can solve it then :) | |
Re: Visit this link , this link , this link and this link . All directories listed there is are auto approve. | |
Re: Write this query on button_click event it will return every occurrence of your entered string in database [CODE]String Command="select OrderNumber, Address, City ,Zipcode from Table_name where OrderNumber like '%"+ searchTextBox.text+"%'"[/CODE] | |
Re: [URL="http://www.codeproject.com/KB/IP/despop3client.aspx"]This Link[/URL] contains a complete application in c# code to send mail through POP....... See [URL="http://www.developerfusion.com/article/4071/how-to-pop3-in-c/"]this article[/URL] also | |
Re: check [URL="http://programming.top54u.com/post/Store-and-Display-Images-from-MS-Access-Database-Using-C-Sharp.aspx"]this link[/URL].... and [URL="http://support.microsoft.com/kb/317701"]this link[/URL].... I also came across an old thread [URL="http://www.daniweb.com/software-development/csharp/threads/190384"]here[/URL] To place your picture in textbox check [URL="http://www.daniweb.com/software-development/csharp/threads/25861"]this thread [/URL] | |
Re: This code will return exactly the record which contains 98765432 [CODE]String command="Select * from Emp_Information where employee_id=98765432"[/CODE] This code will return all values containing sub-string 987654321 [CODE]String command="Select * from Emp_Information where employee_id like '%987654321%'"[/CODE] This code will help you finding the primary key of any table... [CODE]SELECT ISKC.TABLE_NAME, ISKC.COLUMN_NAME … | |
Re: can you share the code which you are using to get focus back? | |
Re: It is working perfect with me actually what's the problem you are mentioning? I have tried taking input from user it also is working. Is this the way you are giving input to this program? [CODE] double grade6tot, grade7tot, grade8tot; int cont6Count, cont7Count, cont8Count; Console.WriteLine("Enter Total amount for 6th Grade:"); … | |
Re: Try this code in your program to bind Date with your textbox [CODE]private void BindTextBox() { DataTable dt = //set dataSource here if (dt.Rows.Count > 0) { TextBox1.Text = Convert.ToDateTime(dt.Rows[0][Field1]);//where field is the fieldname from your database TextBox2.Text = Convert.ToDateTime(dt.Rows[0][Field2]); } } protected void Page_Load(object sender, EventArgs e) { if … | |
Re: remove connect time out from your connection string and then try to do your work | |
Re: In c# you can use [CODE]@"D:\Projects\filename.txt"[/CODE] to give path | |
I am doing my research work on computer security these days and come across an issue of what are the strategies used for CPU and OS protection and I am still unable to find strong reference or any thing related to this topic in order to complete my work.:-/:S Any … | |
Re: Following are two ways to run an .exe file in c# form try any of these I thnk it will help you :) [CODE]System.Diagnostics.Process Proc = new System.Diagnostics.Process(); Proc.StartInfo.FileName = "D:\\Projects\\PROJECT\\bin\\Debug\\PROJECT.exe"; Proc.Start();[/CODE] OR [CODE] System.Diagnostics.Process.Start(@"D:\Projects\PROJECT\bin\Debug\PROJECT.exe"); [/CODE] | |
Re: Use This code to refresh your datagridview. [CODE] datagridview1.Rows.Clear(); datagridview1.Columns.Clear();[/CODE] | |
Re: Use this to check the state [CODE]Convert.ToBoolean(dtgqueselect.Rows[e.RowIndex].Cells[2].FormattedValue) == true[/CODE] You can also check like this [CODE]if(dtgqueselect.Rows[e.RowIndex].Cells[2].Value.ToString()=="True" || dtgqueselect.Rows[e.RowIndex].Cells[2].Value.ToString()=="False")[/CODE] | |
Re: [CODE]"select * from table_name where OrderDate<'" + dateTo + "' and OrderDate> '" + dateFrom + "'";[/CODE] | |
Re: What language are you using? any way you can use a table to contain all checkboxes and use loop to access each row containing checkbox to access them | |
Re: can you please paste your convert.txt file here or just tell me the format of the text in that file | |
Re: Read [URL="http://support.twitter.com/entries/1...-and-following"]this article[/URL] From the twitter help center.... I have seen several people who follow and get followed by hundreds of people and they have no problem... I have read somewhere that You can add 1k people a day and the max people you can follow is 2k.... I don't … | |
Re: It is the new name of AdWords Certification Program which was a certification for Internet marketing professionals that demonstrates a high level understanding of Google AdWords([URL="http://www.google.com/intl/en-GB/adwords/professionals/"]Home[/URL]). The certification also focuses on optimization techniques in AdWords, which can mean the difference between a successful campaign and a failed campaign. I think … | |
Re: It happens when format of your input doesn't match your system's default time format check that. | |
Re: can use this line of code also [CODE] dgStaffList.Rows[e.index].Cells["column_name"].Value.ToString();[/CODE] | |
Re: can you please paste details of encountered exception | |
Re: I think in C++ and C# only C is common nothing else :)..... well I think above fellows are right HR people actually don't know what is programming and whats the difference between languages so they only see who can program... I am working in C# from 2002 and I … | |
Re: dear whats the main question you are asking ? do you want to know how to add record in database through c#? or any thing else. If you are asking queries then it will be very simple insert query [CODE] //connection class SqlDataAdapter myDataAdapter = new SqlDataAdapter(); private void Form1_Load(object … | |
Re: It depends on your application can be different from others. Submit returns true if successfully executed and false on any error where it passes the submitted values to next control. it has attributes like about its appearance and location, values it will submit to other controls, in which class it … | |
Re: Add a check box column in datagridview and on print button click print rows which are selected. In my work i also have to make report of certain rows and pint it i make all unselected rows invisible on print button click | |
hello all i want to use shortcut keys ro call different functions in my window application... i have called functions on form_keypress and form_keydown... at the same time i m using a textbox and i want to limit user to enter only numeric data in the textbox but the problem … | |
Re: Declare a global integer variable index=0 in timer tick write this code [CODE] /*Your code */ index++; int i=0; String line; try { //PROBLEM (NEED TO READ ONE LINE THIS TIME AND THE NEXT LINE IN THE NEXT CALL StreamReader sr = new StreamReader("TestFile.txt"); while ((line = sr.ReadLine()) != null … | |
Re: You should also check this forum if you have not already gone through it SNIP] | |
![]() | Re: [CODE]public void printInRTB(String strText) { richTextBox2.Text+= strText + "..... \n"; } public void refreshRTB() { richTextBox2.Text=""; }[/CODE]Pass this function what you want to add in richTextBox2 from each event handler and when you want to reuse then call refreshRTB(). I think this will work |
Re: AND gate works just as && operator mean the access will be given if an only if both the statements are true in A, B, C for C will only be true when A and B both will be true. OR gate works as || operator mean output C will … | |
Re: Check the following pages they may help you in your problem [URL="http://freelanceswitch.com/freelancing-essentials/protect-your-site-reputation-avoid-these-unethical-seo-tactics/"]1[/URL]--[URL="http://www.ideamarketers.com/?articleid=1230295"]2[/URL]--[URL="http://www.google.com.pk/url?sa=t&source=web&cd=4&ved=0CC0QFjAD&url=http%3A%2F%2Fezinearticles.com%2F%3FSearch-Engine-Optimisation-Company-Cons---Unethical-SEO-Companies%26id%3D1725258&rct=j&q=google%20tells%20companies%20the%20unethical%20seo%20tactics&ei=9kaATcCKE87orQffupC6Bw&usg=AFQjCNHzEHO-LnUOu7XMvx96e7ZsPm6k8Q&cad=rja"]3[/URL]--[URL="http://www.google.com/support/webmasters/bin/answer.py?answer=66359"]4[/URL]--[URL="http://www.google.com/support/webmasters/bin/answer.py?answer=93713"]5[/URL]--[URL="http://forum.submitexpress.com/google/topic5209.html"]6[/URL] | |
Re: grand total of all values from database or grand total of these two textboxes? [CODE]int sum=0; for(int i=0;i<yourvalues.Length-1;i++) { sum+=(Int32.Parse(yourvalues[i])); }[/CODE] Read values from database into string array yourvalues; | |
Re: use two timers timer1 and timer2. Set intervals make timer1 enable but timer two disable. now in function timer1_tick move your object to point-1 and enable timer2 and disable timer1 now do it vise verse for point-2 | |
Re: There is a simple code to play an audio file pass path of your file in String s [CODE] using System.Media; public void player(String s) { SoundPlayer mplayer = new SoundPlayer(); mplayer.SoundLocation = s; mplayer.Play(); }[/CODE] | |
Re: can you please explain do want to multiply data of rows or you want to copy rows ? and what data is user supposed to give? | |
Re: have you checked [URL="http://androidforums.com/application-requests/235143-car-accident-video-recorder.html"]this link[/URL] | |
Re: Check this code it contains a downloadable project [URL="https://sites.google.com/site/johnkcrashrecorder/crash-apk"]Here[/URL] | |
Re: Question arises why you want to do this???? when we add some thing to our image and change its extension the change occures in the bit sequence of the image (i.e. 1s and 0's) not only in display and when you erase the text and again change its extension it … | |
Re: i have checked your code but it is giving datatype mismatch exception. Anyway in my opinion instead of using [CODE]"select * from " + dlrName + " where date1 between @date1 and @date2"[/CODE] you may use [CODE]"select * from " + dlrName + " where date1 >='"dateTimePicker1.Value.ToString()"' and date1 >= … | |
Re: I am also not good at capturing device coding but following may help please check them. 1- Call the function of capturing video from iBallCam3(using its name instead of capturing device) in form_load function. 2- Check these articles [URL="http://www.c-sharpcorner.com/UploadFile/yougerthen/610262008064756AM/6.aspx"]1[/URL] and[URL="http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx"] 2[/URL] [URL="http://dorgem.sourceforge.net/"]3[/URL] | |
hello to all In my code I have to check currently running processes from task manager and perform some actions on them but the problem I am facing in doing so is that I am not able to get a processes location from where it is running (i.e. path of … |
The End.