464 Posted Topics

Member Avatar for Dean_Grobler

dear[B] Dean Grobler[/B] i have been using both the languages and for a long time and I found C# much more easy to deal with and user friendly environment and VS provides you help on just starting to write any thing mean if you write S it will provide a …

Member Avatar for ddanbe
0
350
Member Avatar for gulbano

The namespace used to play audio file in c# is[iCODE]using System.Media;[/iCODE] the class is [iCODE]SoundPlayer obj=new SoundPlayer();[/iCODE] and the code to play the file is [CODE]obj.SoundLocation = "Location of file"; obj.Play();[/CODE]

Member Avatar for gulbano
0
91
Member Avatar for RiceKernel

Go for computer engineering if want to be a specialist.... computer science is very vast subject including every aspect of it. It makes you jack of all trades where computer engineering will make you master of one thing :)......

Member Avatar for abelLazm
0
88
Member Avatar for niketakapoor

I wonder how you have figured it out [B]ashish99virgo[/B]? [B] Momerath[/B] is right [B]niketakapoor [/B] give you logic so that any one will be able to figure out where your code goes wrong :)

Member Avatar for abelLazm
0
62
Member Avatar for sumathibadri

You can use c# it is much more comfortable to work with and you can find many related articles to get help.

Member Avatar for goldybedi
0
112
Member Avatar for bhagawatshinde

Have you started your work? if yes please tell us what have you done and if no then please tell us how you plan to do this.... We can give you suggestions

Member Avatar for bhagawatshinde
0
141
Member Avatar for IDC_Sharp

Have you check [URL="http://social.msdn.microsoft.com/Forums/en/winforms/thread/876b6517-7306-44b0-88df-caebf3b1c10f"]this link[/URL]

Member Avatar for abelLazm
0
326
Member Avatar for xanawa

[CODE] //textBox1.Text="C:\pic\pic1.gif"; pictureBox1.Image = new Bitmap(@textBox1.Text);[/CODE]

Member Avatar for abelLazm
0
76
Member Avatar for seanmchugh.info

[B]seanmchugh.info [/B] i also joined Daniweb recently and found no problem or any threatening behavior on my postings yes i got some negative votes but i know what was the problem... And off the record i don't have any personal relation with any of the mods or admin :D including …

Member Avatar for abelLazm
-1
133
Member Avatar for JhonMoney

[B][U]Computer sciences [/U][/B]has become an essential part of the[U][B] socio-economic [/B][/U]development of country. It acts as the backbone for the rapid development in the country. Cs has totally reversed the concepts about the life in a country either it is domestic or social it is involved from kitchen to office, …

Member Avatar for Daave
-1
191
Member Avatar for yamini222

check [URL="http://social.msdn.microsoft.com/Forums/eu/Vsexpressvcs/thread/26b8b730-cef0-4f4c-9341-2c1692a2c8ce"]this link [/URL] it contains similar discussion

Member Avatar for abelLazm
0
80
Member Avatar for ashish101

dear ashish yes you are right that one DataSet can hold more than one table at a time and you can use them by using their index number or name but the code you have pasted contains a number of useless code line like you don't need to set Datatables …

Member Avatar for ashish101
0
706
Member Avatar for abelLazm

Hello all, Can you please clear me what does the number in [B]"()"[/B] against the infraction below one's name means? as if you look at the last line of my intro at left[B] Infractions:2/1 (5)[/B] what is[B] 2/1[/B] and [B](5)[/B]

Member Avatar for Narue
0
93
Member Avatar for TheDocterd

you want to append htmlString in string builder if you find "e" in any of the line of the file [U][B]"Y:\WorleyParsons\Sasol Unit 17\Submission Data\Tru-View\Unit17TruViewInterface\TruView\Unit17\SiteMap.htm"[/B][/U] and if you find 10 lines which are "e" then you append this htmlString 10 times it that right?

Member Avatar for TheDocterd
0
109
Member Avatar for missc

how are you using filter? please paste your code lines for filtering here?

Member Avatar for missc
0
75
Member Avatar for shyla

Please can you explain the problem you are facing? It will help us to find a solution

Member Avatar for abelLazm
0
280
Member Avatar for lukasrzeznik

remove line#60 cr.Refresh(); it refreshes the crystal report write it before you set the datasource of crystal report

Member Avatar for lukasrzeznik
0
141
Member Avatar for stefilina

Write the code as following it will display the database name but also hold the connection string of database in as value member. [CODE]comboBox1.ValueMember=ConnectionString; comboBox1.DiaplayMember=NameOfDataBase;[/CODE]

Member Avatar for Mitja Bonca
0
536
Member Avatar for gulbano

Stored procedure is a set of SQL statements with an assigned name that's stored in the database in compiled form so that it can be shared by a number of programs. [URL="http://www.google.com.pk/url?q=http://www.netproject.com/docs/migoss/v1.0/glossary.html&sa=X&ei=-xmkTfzZBojLrQeVzbTzCQ&ved=0CA8QpAMoAg&usg=AFQjCNGuB9CfOFzaUHfFmohya5EEYLyZXQ"]REF....[/URL] For difference between these two please check [URL="http://faq.programmerworld.net/database/sql-interview-questions-and-answers.html"]this link[/URL]

Member Avatar for gulbano
0
94
Member Avatar for guru_iyer

check [URL="http://www.titov.net/2005/09/21/do-not-use-order-by-rand-or-how-to-get-random-rows-from-table/"]this link[/URL] it contains a detailed discussion on how to randomly select values

Member Avatar for guru_iyer
0
796
Member Avatar for muzikhera

Please stop! naming threads [B]help, urgent help, need help[/B] etc exactly where the exception arises?

Member Avatar for muzikhera
-1
112
Member Avatar for bahed121

[CODE]textBox1.Text = "£";[/CODE] write this code in designer and for run time addition write a code in textBox1_keydown and textBox1_keypress event and write behind any combination of keys like alt+ctrl+y

Member Avatar for abelLazm
1
134
Member Avatar for abelLazm

Can anyone clear my concepts of IsDaylightSavingTime() function of DateTime in C#. I am really confused about it. I want to ask exactly what is the need and use of this function? Thanx

Member Avatar for abelLazm
0
164
Member Avatar for prakash2813
Member Avatar for abelLazm
0
58
Member Avatar for bahed121

If you have added checkbox column as i have suggested you in your previous thread then by adding this code in checkbox_checkedchanged event you will get your desired results hope it will be helpful :) [CODE] private void checkBox1_CheckedChanged(object sender, EventArgs e) { try { c1TrueDBGrid1.MoveFirst(); for (int j = …

Member Avatar for abelLazm
0
509
Member Avatar for bahed121

it seems really difficult to use C1TrueDBGrid at first but as you learn new things it looks easier day by day.... there are two ways to add checkbox column in a bound grid one to add the check box column in database or add in the dataset after getting values …

Member Avatar for bahed121
0
1K
Member Avatar for bahed121

check [URL="http://www.codeproject.com/KB/buttons/zhaocolorbutton.aspx"]this link [/URL]

Member Avatar for bahed121
0
136
Member Avatar for sania85

Cache is what a search engine makes use of to judge if a page is a good match for a searched query. Index refers to getting website listed in the search engine's database index for SERP. Based on SEO term 1-when search engine bot or crawler come to your page …

Member Avatar for productsmarine
0
143
Member Avatar for bahed121

check [URL="http://www.codeproject.com/KB/GDI-plus/FancyText.aspx"]this link[/URL]. It contains a project of creating fancy text with c# hope will be helpful :)

Member Avatar for bahed121
1
157
Member Avatar for gulbano

gulbano there is no other way to track a record other than keeping log of it add a column in you table and insert the datetime of each record insertion and you will be able to keep the log of the future record insertions

Member Avatar for debasisdas
0
117
Member Avatar for abelLazm

Hi, I have a table on two different database servers on server-1 it contains almost 2090 records and on server-2 it is empty i want to copy all the records from server-1 to server-2 both the database servers are identical but on different location and have no relation with each …

Member Avatar for abelLazm
0
133
Member Avatar for @VaishaliR

Try this to set the paper size you may also check[URL="http://www.codeproject.com/KB/printing/custom_paper_sizes.aspx"] this link[/URL] it contains source code of application to print on custom sized page [CODE] private PrintDocument printDoc; //rest of code printDoc.PrinterSettings.DefaultPageSettings.PaperSize = new System.Drawing.Printing.PaperSize("a2", 5.0,5.0); //rest of code[/CODE]

Member Avatar for abelLazm
0
74
Member Avatar for bahed121

Set DropDownStyle property of combobox to "DropDownList" it will make the control only hold values you want

Member Avatar for bahed121
0
85
Member Avatar for niketakapoor

Dear [B]niketakapoor [/B] what type of help you want? Please give what is your plan at this stage and describe your problem

Member Avatar for abelLazm
0
91
Member Avatar for ashley11

Code to sum up [CODE] //Your Code double sum=0; int length=richTextBox1.Lines.Length; for(int i=0;i<length;i++) { sum+=Double.Parse(richTextBox1.Lines[i]); } if(sum<1) { //Your Code } else { //Your Code } //Your Code [/CODE]

Member Avatar for ashley11
0
119
Member Avatar for bahed121

[CODE] using System.IO; using System.Diagnostics; //name is the process name passed to the funciton //public bool isProcRunning(String name) public void isProcRunning(String name) { foreach (Process clsProcess in Process.GetProcesses()) { if (clsProcess.ProcessName.Contains(name)) {//return true; clsProcess.CloseMainWindow(); } } // return false; }[/CODE]

Member Avatar for bahed121
0
141
Member Avatar for abelLazm

What are your views about the effects of social websites on the social problems (very commonly children accessing to the literature and things which are not suitable for them)? Aren't social problems increasing due to the increase rate of social websites?

Member Avatar for abelLazm
0
113
Member Avatar for Jessurider

Why don't you use dataGridView instead of labels? You set the length of label=4 and 4 labels are displaying on the screen

Member Avatar for ddanbe
0
61
Member Avatar for Jessurider

Use DataGridView to display records and in line 32 you set the length of your label=4 and 4 labels there on the screen

Member Avatar for Jessurider
0
98
Member Avatar for ursdestiny

If you want to convert your record in sql you can try the following code [CODE] --dt = '20/6/2010' SELECT id, name, CONVERT(datetime, dt) from users[/CODE] When data is entered in grid in VS here varchar is treated as String following code will help you in VS (c# code) [CODE]DateTime …

Member Avatar for abelLazm
0
73
Member Avatar for missc

The most suitable dataType for these type of comparisons is string as the retrieved data is in String form. If you want to perform any calculation with totalCost you can temporarily convert it to double(not float or decimal it is much more flexible than the other two) and again store …

Member Avatar for Momerath
0
191
Member Avatar for niths

[URL="http://www.codeproject.com/KB/GDI-plus/vision.aspx"]This Link[/URL] Contains a simple Slide Show Project source code it will be helpful

Member Avatar for abelLazm
0
99
Member Avatar for bahed121

For binding a ComboBox we have to set its display as well as value member. :) [CODE]comboBox1.DataSource=null; //Your Code for connecting to database and retrieving data in dataset1 //You have two columns in dataSet1.Tables[0] ,, "id", "name" comboBox1.DataSource=dataSet1.Tables[0]; comboBox1.DisplayMember="name"; comboBox1.ValueMember="id"; //Rest of the code[/CODE]

Member Avatar for bahed121
0
119
Member Avatar for Jessurider
Member Avatar for gogs85

what do you want to make dear? By drag and drop you mean to drag and drop numbers and operators or only operators or you want to make a calculator control which you want to drop on your form? for simple calculator you make buttons on form for input and …

Member Avatar for gogs85
0
674
Member Avatar for gulbano

check [URL="http://blog.sqlauthority.com/2009/06/23/sql-server-2005-2008-delete-duplicate-rows/"]this link[/URL]

Member Avatar for debasisdas
0
78
Member Avatar for bahed121

[CODE] //in form_load TDBGrid1.MarqueeStyle=C1.Win.C1TrueDBGrid.MarqueeEnum.HighlightRow; //in code TDBGrid1.HighLightRowStyle.BackColor = Color.RoyalBlue;[/CODE] For help on C1TrueDBGrid Please Check [URL="http://helpcentral.componentone.com/nethelp/c1truedbgrid/default.htm"]This link[/URL]

Member Avatar for abelLazm
0
285
Member Avatar for salmap

[CODE]label1.Name = "hi"; [/CODE] It has no effect on code you can only use a control by the name you set in designer. Only when you want to display the controls name it will be displayed hi. so it is better to set the name in designer or on the …

Member Avatar for abelLazm
0
234
Member Avatar for bahed121

Write this code when you load your c1truedbgrid [CODE]dataSet1.Tables[0].Columns.Add("DropDown_Column_name");// adds an empty column in dataset C1TDBGrid1.Columns["DropDown_Column_name"].Editor = comboBox1;// C1TDBGrid1.Columns["DropDown_Column_name"].ValueItems.Translate = true; C1TDBGrid1.Splits[0].DisplayColumns["DropDown_Column_name"].DropDownList = true; C1TDBGrid1.Splits[0].DisplayColumns["DropDown_Column_name"].Locked = false; C1TDBGrid1.Splits[0].DisplayColumns["DropDown_Column_name"].FetchStyle = true; C1TDBGrid1.MoveFirst(); for (int o = 0; o < C1TDBGrid1.RowCount; o++) { C1TDBGrid1.Columns["DropDown_Column_name"].Text = "Select"; C1TDBGrid1.MoveNext(); }[/CODE] then on comboBox1Selectionchange event …

Member Avatar for bahed121
0
1K
Member Avatar for lianpiau

for disabling tree_node please check[URL="http://stackoverflow.com/questions/1462528/disable-or-grey-out-a-node-in-the-treenode-editor"] this[/URL] page For your second condition on which basis you are giving permissions to users? you will have to check those conditions and then assign permissions to the respective users

Member Avatar for abelLazm
0
169

The End.