Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
58% Quality Score
Upvotes Received
39
Posts with Upvotes
31
Upvoting Members
6
Downvotes Received
24
Posts with Downvotes
21
Downvoting Members
7
3 Endorsements
Ranked #486
Ranked #977
~24.5K People Reached
Favorite Forums
Favorite Tags

44 Posted Topics

Member Avatar for george_82

[QUOTE=george_82;1034004]Thanks for the reply...Is there any use with this designer.cs file Visual Studio.What if i delete this file. Also what are the files created/required when try to publish a program to executable .[/QUOTE] Whatever designing you do ,for that code is generated in designer.cs file.Like you have a picturebox and …

Member Avatar for asdfiuo
0
7K
Member Avatar for babbu

Read the following article: [URL="http://www.dotnetheaven.com/UploadFile/rahul4_saxena/DataInExcelSheet05302007080823AM/DataInExcelSheet.aspx"]http://www.dotnetheaven.com/UploadFile/rahul4_saxena/DataInExcelSheet05302007080823AM/DataInExcelSheet.aspx[/URL]

Member Avatar for Cameronsmith63
0
189
Member Avatar for vinnijain

Hi! How can I insert commas in numbers. For example, number is 123456789 , now I want that after inserting commas it should become 12,34,56,789.... how can i do this.......

Member Avatar for Momerath
0
2K
Member Avatar for kool.net

[QUOTE=kool.net;1034031]hi, can any one tell me how to i convert amount(in digitts) to word. thanks in advance[/QUOTE] You can try the following code: [CODE]public string NumberToText(int number) { if (number == 0) return "Zero"; if (number == -2147483648) return "Minus Two Hundred and Fourteen Crore Seventy Four Lakh Eighty Three …

Member Avatar for kumarvarshadr
0
501
Member Avatar for avirag

Hi adatapost, u have given me code only for specific value ..... Kindly give me general code in C#

Member Avatar for Geekitygeek
-1
3K
Member Avatar for chetanbasuray

If you decide to write a database installer, you must first choose a technology on which to base the installer. In Windows, the most common types of application installers are MSI files, which you can build using Visual Studio® .NET or third-party products such as InstallShield Developer or Wise for …

Member Avatar for chetanbasuray
0
157
Member Avatar for abinpeter

Try using the following code: [CODE] SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=D:\\Postmyadd\\App_Data\\postmyad.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True";[/CODE]

Member Avatar for vinnijain
0
314
Member Avatar for ursdhivi

The GetDirectories and GetFiles methods of the Directory object are all that you need to recursively search for files that match the search string. The following method is used to perform the recursion: [CODE]void DirSearch(string sDir) { try { foreach (string d in Directory.GetDirectories(sDir)) { foreach (string f in Directory.GetFiles(d, …

Member Avatar for vinnijain
-2
102
Member Avatar for carylle

Try the following code for alphanumerics only [CODE] protected override void OnKeyDown(KeyEventArgs e) { Keys k = e.KeyCode; if (k == Keys.Back) { this.isBack = true; this.isAlphaNum = false; } else { bool isAlpha = !e.Alt && !e.Control && (k >= Keys.A && k <= Keys.Z); // Determine whether the …

Member Avatar for vinnijain
-1
93
Member Avatar for vinnijain

I want to make a database window application using Visual Studio 2008(with C#) which is basically a search engine for searching images(of size 25 KB to 95 KB) . I want to sell my application in CD\DVD in such a way that it should run directly from CD\DVD. As I …

Member Avatar for vinnijain
0
128
Member Avatar for vinnijain

Hi!! I am making an application for generating report containing marks of students in various subjects with percentage and corresponding grades. I have two forms one for "Entering marks" and other for "generating result" . For "Entering marks" ,there are 5 combos and a textbox. From combos we can select …

Member Avatar for avirag
0
137
Member Avatar for NargalaX

[CODE] string delimStr = " +-*/"; char [] delimiter = delimStr.ToCharArray(); string words = "one two+three-four*five/six"; string [] split = null; Console.WriteLine("The delimiters are -{0}-", delimStr); for (int x = 1; x <= 10; x++) { split = words.Split(delimiter, x); Console.WriteLine("\ncount = {0,2} ..............", x); foreach (string s in split) …

Member Avatar for farooqaaa
0
169
Member Avatar for yup790

You can try : [URL="http://csharpcorner.com/"]http://csharpcorner.com/[/URL] [URL="http://codeproject.com"]http://codeproject.com/[/URL]

Member Avatar for MxDev
0
104
Member Avatar for unseenedges

Try the following code............ [CODE]class NumberToWordsConvertor1 { public string NumberToText(int number) { if (number == 0) return "Zero"; if (number == -2147483648) return "Minus Two Hundred and Fourteen Crore Seventy Four Lakh Eighty Three Thousand Six Hundred and Forty Eight"; int[] num = new int[4]; int first = 0; int …

Member Avatar for vinnijain
0
2K
Member Avatar for vinnijain

Hi!!!! how can I convert words into numerals...In first textbox i enter word and on button click equivalent numeral is displayed in another textbox for Example we enter "One crore twenty lakh thirty four thousand seven hundred eighty four" , then its corresponding numeral should be "12034784". What will be …

Member Avatar for vinnijain
0
135
Member Avatar for vinnijain

Hi,In my application ,there is a combobox in which classname appears . Now I want that for each selected classname from combobox,I want that user could add sections according to his wish . Like if user selects class12 and he wants to add 4 sections(A,B,C,D) .he should add "A" in …

Member Avatar for vinnijain
0
119
Member Avatar for xyz12

[QUOTE=sknake;1071136]Then use a database as privatevoid suggested. You could also encrypt the images so they will not be viewable outside of your application.[/QUOTE] Thanks..... If i add url of images,it means I have to store images in a folder,then I have to import that folder on user machine too .And …

Member Avatar for xyz12
0
122
Member Avatar for reyarita
Re: C#

[QUOTE=reyarita;1070997]Hey guys!! can you share some ideas about this program, i tried but its not working. 1. Write a program that inputs a five-digit integer, separates the integer into its individual digits and prints the digits separated from one another by three spaces each. For example, if the user types …

Member Avatar for reyarita
0
115
Member Avatar for tgsoon2002

[QUOTE=tgsoon2002;1046086]I have know programming for 5 years. but not get any process yet. I want to ask what you do when you get a project and meet some problem? normally we must get the idea, pseudocode, get the flow of program. now i get the flow of program, idea. but …

Member Avatar for Geekitygeek
0
92
Member Avatar for LennieKuah

[QUOTE=LennieKuah;1033847]Hi there, Please help me. I am having problem trying to include Checkbox in 1st Column in DataGrid for all the Rows. Being a newbie and I am struggling doing it. I need your help.[/QUOTE] You have to use tablestyles while binding the data to grid, Create DataGridColumnStyle for each …

Member Avatar for LennieKuah
0
195
Member Avatar for vinnijain

Hi!!!!!!! I have made a window application in which i am entering mathematical equations and side by side the corresponding math format is generated like we see in books. In this, I am using LATEX/MimeTEX for generating math format and it uses special symbols for generating math format. Like for …

Member Avatar for Geekitygeek
2
554
Member Avatar for vinnijain

I have made a project and now when it comes to designing I could not find any better way. I searched google and found certain applications which have already made user controls like silver panel,navigation bar etc........ Now can anyone tell me how can I use these user controls from …

Member Avatar for vinnijain
2
170
Member Avatar for sivak

[QUOTE=sivak;1034812]can anyone explain tranaction in .net ..when we go for it ? explain locking in .net along with example plz?[/QUOTE] Go through following articles: [URL="http://www.codeproject.com/KB/database/transactions.aspx"]http://www.codeproject.com/KB/database/transactions.aspx[/URL] [URL="http://www.vbdotnetheaven.com/UploadFile/rahul4_saxena/Transaction09112007074327AM/Transaction.aspx"]http://www.vbdotnetheaven.com/UploadFile/rahul4_saxena/Transaction09112007074327AM/Transaction.aspx[/URL] [URL="http://www.codersource.net/csharp_tutorial_multithreading.html"]http://www.codersource.net/csharp_tutorial_multithreading.html[/URL]

Member Avatar for avirag
0
103
Member Avatar for sawiyan
Re: C#

You can try following code for ASP: [CODE] //HTML part of DemoPage1.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="DemoPage1.aspx.cs" Inherits="DemoPage1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>GridView Sample By Ramesh S</title> <script type="text/javascript"> function selectUnselectCheckboxes(chkBoxHeaderId, chkBoxIdInGrid, gridViewId) { var gridViewElem = document.getElementById(gridViewId); //get the …

Member Avatar for babbu
0
107
Member Avatar for avirag

You can first find out how much % each string(form text string ) matches with the string entered in the textbox and collect it in an array and then perform sorting on it.So that the maximum percentage matched string displays on the top...... Hope It works.

Member Avatar for abc16
0
243
Member Avatar for vinnijain

Hi !!! My project runs fine but sometimes it gives some debug error when I click keyboard keys very fast(randomly),backspace key ,delete key etc..... But the error do not occur always but it occur all of a sudden anytime. I do not know why I am getting this error. The …

Member Avatar for sknake
0
91
Member Avatar for ayeshawzd

Hi ayeshawzd You can define the values of some basic logs like log2=0.3010 , log3 =0.4771 , log5 ,log7,log10. and so on Then use these to find the other log values. Like , log20=log(4*5) = log4+log5 = 2log2 + log5 ...... Visit the following link:[URL="http://mathforum.org/library/drmath/view/55523.html"]http://mathforum.org/library/drmath/view/55523.html[/URL] Hope it helps..........

Member Avatar for ddanbe
0
368
Member Avatar for vinnijain

Hi!!! I am using following code in which I am generating the latex format. Here I want to use the combination of characters[A-Za-z], numbers[0-9] ,special charactes(like π ,θ ,α ,β ,γ ,°,+, - ,×,÷,√ ,(,)etc) ,decimal numbers. For entering special characters I have used toolbar Can anyone tell me how …

Member Avatar for vinnijain
0
337
Member Avatar for prasobh.gv

You can try the following link: [URL="http://www.dreamincode.net/forums/showtopic33396.htm"]http://www.dreamincode.net/forums/showtopic33396.htm[/URL] [URL="http://www.microsoft.com/belux/msdn/nl/community/columns/hyatt/ntier1.mspx"]http://www.microsoft.com/belux/msdn/nl/community/columns/hyatt/ntier1.mspx[/URL] [URL="http://www.codeproject.com/KB/IP/filesharingvb7.aspx"]http://www.codeproject.com/KB/IP/filesharingvb7.aspx[/URL]

Member Avatar for vinnijain
0
112
Member Avatar for vinnijain

Can anyone tell me how can I enable one and only one whitespace to be entered in the textbox such that user can press spacebar only once while entering the string in the textbox and not more than once........... Kindly provide me some solution.............

Member Avatar for vinnijain
0
3K
Member Avatar for sijothomas

Change the property Form border style to "sizable"......... Hope it works.........

Member Avatar for vinnijain
0
97
Member Avatar for ayeshawzd

[QUOTE=ayeshawzd;1009890]i want to know try n catch code which i can use for space bar during entering user name[/QUOTE] Clearly explain what do you want to do..................

Member Avatar for ayeshawzd
0
218
Member Avatar for xyz12

You can use following code on form_load event : [CODE]this.Text=" ";[/CODE]

Member Avatar for xyz12
0
113
Member Avatar for kahaj

hello kahaj, You can add WORD.dll in to your project. The Word.DLL check spelling method would also permit the user to pass custom dictionaries to it through additional arguments.

Member Avatar for vinnijain
-1
127
Member Avatar for avirag

Hi Avirag, You can use the following code on form_load event : [CODE]this.textBox1.Focus();[/CODE] Hope it works............ GudLuck

Member Avatar for avirag
0
174
Member Avatar for bhaskerlee

Hi Bhaskerlee, You can visit following links: [URL="http://dotnetspider.com/projects/"]http://dotnetspider.com/projects/[/URL] If like the answer then mark as solved

Member Avatar for sknake
0
128
Member Avatar for avirag

hi sknake.... I have some problem in roundoff function. Can u please solve it for me...........

Member Avatar for sknake
0
741
Member Avatar for vinnijain

Hi!!! i have made a window application for solving mathematical expression using bodmas rule.... In that I am getting error IndexOutOfBound exception [CODE] private void button5_Click(object sender, EventArgs e) { string[] operands = this.textBox1.Text.Split('+', '-', '*', '/'); string[] operators = this.textBox1.Text.Split('0', '1', '2', '3', '4', '5', '6', '7', '8', '9'); …

Member Avatar for ddanbe
0
222
Member Avatar for vinnijain

Hi!!! I am working on window application and in that I have made tool strip,menustrip and instead of using richtextbox I am using listbox. In listbox I have added items statically using : " this.listBox.Items.Add("..............."); " Can anyone tell me how can I link "save as" , "save" , "print", …

Member Avatar for vinnijain
0
243
Member Avatar for avirag
Member Avatar for vinnijain

Hi, I have made an application for rounding off any number to nearest tens,hundreds or thousands.... But for some values my code is giving wrong answer... Like , if i want to solve "25*89" ,in that rounding off 25 to nearest tens , the answer should be 30 (according to …

Member Avatar for vinnijain
0
168
Member Avatar for avirag
Member Avatar for avirag
0
126
Member Avatar for vinnijain

HI!!!!!!!!! How can I find the index of same digit which is at diffrent postion in any given number(number can be of any length).... Like we have any number, suppose, 982625 How can we find the index of two 2s in this number......... I have made a form in which …

Member Avatar for WaltP
0
81
Member Avatar for vinnijain

hi !!! I am making a window application in which I want tree view in left panel .For each child nodes click I want the corresponding form should be displayed in right panel . For each child node I have different - different functions and for each I have created …

Member Avatar for vinnijain
0
147

The End.