5,346 Posted Topics

Member Avatar for shajis001

>c sharp code for mouse control using eye contact is my project tittle pleasw any one help me!!! I think some more information is required. Can you maybe provide some more information about what it is you are trying to do?

Member Avatar for davieJohnson
0
101
Member Avatar for emrahteam

Take 1-26 number into each row and shuffle them. Read [URL="http://en.wikipedia.org/wiki/Fisher–Yates_shuffle"]Fisher–Yates shuffle[/URL].

Member Avatar for emrahteam
0
84
Member Avatar for abrarHuniedi

>how i can clear the input and input another values?? Use JavaScript. [code] <script type="text/javascript"> window.onload=function() { var btn=document.getElementById("btn1"); btn.onclick=function() { document.getElementById("txt1").value=""; document.getElementById("txt2").value=""; }; }; </script> <body> <form runat="server" id="form1"> <asp:TextBox id="txt1" runat="server" /> <asp:TextBox id="txt2" runat="server" /> <input type="button" id="btn1" value="Clear" /> </form> [/code]

Member Avatar for harrypinto11
0
131
Member Avatar for sandeepamazing

Take a look at - [URL="http://msdn.microsoft.com/en-us/library/ms229605(v=VS.90).aspx"]Automatic Scaling in Windows Forms[/URL]

Member Avatar for Mitja Bonca
0
126
Member Avatar for amitganguly2002

[QUOTE=amitganguly2002;886805]how can i lock specific columns in a data gridview[/QUOTE] So you cannot edit it. Isn't it? [CODE=VB.NET] ..... '1st column is set to read only dataGridView1.Columns(0).ReadOnly = True [/CODE]

Member Avatar for Polongo
0
95
Member Avatar for paulablanca

Take a look at DefaultMaximumSize and DefaultMinimumSize [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview_properties.aspx"]properties.[/URL]

Member Avatar for kvprajapati
0
81
Member Avatar for steven8579

Open the [b]Form1.Designer.cs[/b] file and add namespace entry or type [icode]System.Drawing.Font m_objFont;[/icode]

Member Avatar for steven8579
0
614
Member Avatar for simonfoley

I think you want to show all records in listbox but the listbox support single column. You can switch to "ListView" if you want multiple columns. [code] ListBox1.MultiColumn = True ListBox1.HorizontalScrollbar = True ListBox1.ColumnWidth = 100 ListBox1.FormattingEnabled = True For Each row As DataRow In dataCity.Rows ListBox1.Items.Add(String.Join(",", row.ItemArray.OfType(Of String).ToArray())) Next …

Member Avatar for simonfoley
0
309
Member Avatar for shers

>Is there any way I can add a footer to rtf with name, page no. and date using c# and word tags? Pick up an open source RTF API. Here is a link of [URL="http://www.codeproject.com/KB/string/nrtftree.aspx"]article[/URL] but it is quite [URL="http://www.codeproject.com/KB/string/gioswordnetlibrary.aspx?msg=1949274"]old[/URL].

Member Avatar for kvprajapati
0
82
Member Avatar for peter_budo

I have added the JC's suggestion. I think two method of CountListener interface has no value and also I have added CountEvent object as an argument of event method. [CODE=Java] public interface CountListener{ public void countEvent(CountEvent e); } [/CODE] [CODE=Java] public class CountEvent{ private int result; private String action; private …

Member Avatar for svedrenne
0
3K
Member Avatar for emrahteam

Welcome emrahteam. >get all character starting zero to end from tetbox to an array. How can I do that? [code] char []ar=TextBox1.Text.ToCharArray(); [/code]

Member Avatar for kvprajapati
0
76
Member Avatar for amythist

> broadband to send sms with vb.net application Take a look at [URL="http://www.codeproject.com/KB/IP/Sending_SMS_using_Net.aspx"]this[/URL] thread.

Member Avatar for kvprajapati
0
39
Member Avatar for ncnet

>Could not find a part of the path 'E:\inetpub\wwwroot\Folder1\Folder2'... If "folder1" is your root of the web-app then code should be.. [code] FileName = Server.MapPath("~/Folder2/" & FileUpload1.FileName) If System.IO.File.Exists(FileName) = False Then FileUpload1.SaveAs(Filename) End If [/code]

Member Avatar for kvprajapati
0
59
Member Avatar for krunalkakadia

Take a look at [URL="http://weblogs.asp.net/aghausman/archive/2009/05/31/how-to-show-and-select-month-year-in-calendar-extender.aspx"]this[/URL] blog.

Member Avatar for kvprajapati
0
77
Member Avatar for mukeshgaharwar

Use ASP.NET Form based authentication and authorization system. Learn the classes & methods from System.Web.Security namespace.

Member Avatar for kvprajapati
0
37
Member Avatar for maleke

Use ViewState. [code] Property Topic() As String Get If IsNothing(ViewState("Topic")) Then Return String.Empty Else Return ViewState("Topic").ToString() End If End Get Set(ByVal value As String) ViewState("Topic") = value End Set End Property [/code]

Member Avatar for kvprajapati
0
70
Member Avatar for bhagawatshinde

Take a look at this article - [url]http://www.codeproject.com/KB/cs/iTextSharpPdfTables.aspx[/url]

Member Avatar for bhagawatshinde
0
169
Member Avatar for shredder2794
Member Avatar for Juginx

[b]>If i save playlist with 1 item then it work but if i have more then it bug. i can start debugging.[/b] Look at line 23 - Statement [B]textWriter->WriteEndDocument();[/B] closes the document. [code] XmlTextWriter ^textWriter = gcnew XmlTextWriter(dig->FileName, nullptr); textWriter->Formatting=Formatting::Indented; //Writes XML declaration textWriter->WriteStartDocument(); //Writes root element (document element) textWriter->WriteStartElement("Root"); …

Member Avatar for kvprajapati
0
140
Member Avatar for ms88

[QUOTE=ms88;152716]Thank you very much for the replies..... I already setting up the apache using php_java bridge and it works well (the PHP can access all java class, such as java.lang etc)..... yes, write java application and php connect to the java application could be possible. However, im not quite sure …

Member Avatar for mdew_47
-1
907
Member Avatar for harry.jhone

@harry.jhone Please stop posting same question across the forums. Double posts - [url]http://www.daniweb.com/forums/thread334206.html[/url] [url]http://www.daniweb.com/forums/thread334197.html[/url] Thread Locked

Member Avatar for kvprajapati
0
92
Member Avatar for nathmaniedeo

Please read article - [URL="http://www.smashingmagazine.com/2010/09/23/html5-the-facts-and-the-myths/"]HTML5: The Facts And The Myths[/URL]

Member Avatar for ja928
0
122
Member Avatar for JOSheaIV

Have a look: [code] DataTable dt = new DataTable(); dt.Columns.Add("No"); dt.Columns.Add("Name"); dt.Rows.Add(1, "A"); dt.Rows.Add(2, "B"); dataGridView1.RowsAdded += (sa, ea) => { if (ea.RowCount==1) { DataGridViewRow r = dataGridView1.Rows[ea.RowIndex]; r.ReadOnly = true ; } }; dataGridView1.CellMouseDoubleClick += (sa, ea) => { dataGridView1[ea.ColumnIndex, ea.RowIndex].ReadOnly = false ; }; dataGridView1.CellEndEdit += (sa, ea) …

Member Avatar for JOSheaIV
0
1K
Member Avatar for solfinker

You can use List(of T) to hold data. [code] Public Class FileData Public Property Num1 As String Public Property Num2 As String End Class Class Test Sub ReadData() Dim lst As New List(Of FileData) Dim path As String ="c:\path\Dnormal1.txt" Dim lines() As String = System.IO.File.ReadAllLines(path) For Each Str As String …

Member Avatar for kvprajapati
0
99
Member Avatar for RunTimeError

Response.Write should be outside the for loop. [code] protected void uploadFiles(object sender, EventArgs e) { ... for (int i = 0; i < allFiles.Count; i++) { ...... } Response.Write(htmlOutPut); [/code]

Member Avatar for CrappyCoder
0
614
Member Avatar for steven8579

There is a problem while reading a stream. [code] ... if (dlgOpen.ShowDialog() == DialogResult.OK) { FileStream fileAndorHunsFormulaWorksheet = new FileStream(this.dlgOpen.FileName, FileMode.Open, FileAccess.Read, FileShare.Read); BinaryReader bnrAndorHunsFormulaWorksheet = new BinaryReader(fileAndorHunsFormulaWorksheet); txtFormulaName.Text = bnrAndorHunsFormulaWorksheet.ReadString(); txtFormulaNumber.Text = bnrAndorHunsFormulaWorksheet.ReadString(); txtItemName.Text = bnrAndorHunsFormulaWorksheet.ReadString(); int number = lstResult2.Items.Count; lstResult2.Items.Clear(); while(bnrAndorHunsFormulaWorksheet.PeekChar()!=-1) { lstResult2.Items.Add(bnrAndorHunsFormulaWorksheet.ReadString()); } bnrAndorHunsFormulaWorksheet.Close(); fileAndorHunsFormulaWorksheet.Close(); } ... …

Member Avatar for steven8579
1
171
Member Avatar for Ashfaq2679

This is the broad question and it is not possible for me to explain all theses things in details but you can do so using [URL="http://msdn.microsoft.com/en-us/library/bb288032.aspx"]TemplateField[/URL] easily.

Member Avatar for Ashfaq2679
0
161
Member Avatar for harry.jhone

Have a look at Microsoft Visual studio [URL="http://blogs.msdn.com/b/jasonz/archive/2010/08/03/introducing-microsoft-visual-studio-lightswitch.aspx"]LightSwitch[/URL].

Member Avatar for kvprajapati
0
276
Member Avatar for niths
Member Avatar for MARKAND911

[QUOTE=MARKAND911;1250156]How can i set my web page title as rotating. I have a page named "dog.aspx" and its title is "Dog Selection". I want this title to rotate continuously. How can i do this in ASP.net(C#).[/QUOTE] Timer & document.title property. [code] <head runat="server"> <title id="title1">Sample Text &nbsp;&nbsp;&nbsp;&nbsp;</title> <script type="text/javascript"> var …

Member Avatar for kvprajapati
0
676
Member Avatar for bingkoy21

I think you need to read & learn socket (System.net) and other API to do so. I'd suggest a book - [URL="http://www.webtropy.com/articles/art12.asp"]Network Programming in VB.NET[/URL].

Member Avatar for bingkoy21
0
104
Member Avatar for atticusr5

>password protected pages Its called [b][URL="http://www.daniweb.com/forums/post1378735.html#post1378735"]Authentication & Authorization[/URL][/b]. >Are there advantages to using .asp over a php script? Read - [URL="http://stackoverflow.com/questions/2302933/asp-net-vs-php-performance-future-proofing-ease-of-development"]ASP.net vs PHP - performance, future-proofing & ease of development[/URL].

Member Avatar for atticusr5
0
87
Member Avatar for zobobthegreat

Use Xml LINQ. [code] using System; using System.Xml.Linq; class Test { static void Main() { string path = @"c:\path1\sample.xml"; XDocument doc = XDocument.Load(path); foreach (var t in doc.Descendants("car")) { Console.WriteLine(t.Attribute("Id").Value ); } } } [/code]

Member Avatar for kvprajapati
0
3K
Member Avatar for Sara Tech

>How to make a color transparent does not solid Take a look at "[URL="http://msdn.microsoft.com/en-us/library/cc488183.aspx"]Drawing shapes[/URL]".

Member Avatar for Sara Tech
-1
139
Member Avatar for Suganya B

>Bind Webmethod names with in asp.net control First, you can call webservice on client (JavaScript) to retrieve the data.

Member Avatar for CrappyCoder
0
104
Member Avatar for arunvb
Member Avatar for kvprajapati
0
205
Member Avatar for Transcendent

Take a look at Sticky thread - [URL="http://www.daniweb.com/forums/thread63827.html"]Game Development FAQ's, Books and Resources[/URL]

Member Avatar for kvprajapati
0
71
Member Avatar for pranavdv
Member Avatar for sakhi kul

>visual studio custom template and Iwizard Yes. It is possible. Please have a look at these articles/posts: 1. [url]http://www.codeproject.com/KB/macros/VSExtnsnsTemplates2010.aspx[/url] 2. [url]http://msdn.microsoft.com/en-us/library/6db0hwky.aspx[/url] 3. [url]http://msdn.microsoft.com/en-us/library/ms185291.aspx[/url]

Member Avatar for kvprajapati
0
85
Member Avatar for abrarHuniedi

>I want to coded NumericUpDown betwwen to Numbers 2,5 [URL="http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/NumericUpDown/NumericUpDown.aspx"]NumericUpDown[/URL] tutorial.

Member Avatar for kvprajapati
0
86
Member Avatar for ssudra

[b]User[/b] is reserved word of [URL="http://support.microsoft.com/kb/209187"]MsAccess[/URL]. [code] string queryString = "SELECT [UserID], [Forename], [Surname] FROM [User]"; [/code]

Member Avatar for kvprajapati
0
2K
Member Avatar for MARKAND911
Member Avatar for CrappyCoder
0
93
Member Avatar for varsha solshe
Member Avatar for varsha solshe
0
130
Member Avatar for nccsbim071

nccsbim071, Which version of .net framework are you using? If it is 3.0 or later; It is called Auto-Implemented Properties. Auto-implemented properties make property-declaration more concise when no additional logic is required in the property accessors. [CODe=C#] public class Student { public int Roll { get; set; } public int …

Member Avatar for nccsbim071
0
290
Member Avatar for rikiroxs

>I am developing a POS app.. Very good. >Please Help me Immediately. Sure! [URL="http://www.daniweb.com/forums/announcement61-2.html"]We only give homework help to those who show effort[/URL] >Urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Learn [url="http://www.catb.org/~esr/faqs/smart-questions.html"]How To Ask Questions The Smart Way[/url]

Member Avatar for rikiroxs
-1
87
Member Avatar for elhelow

>Plz send me the complete code for convert xml file to sql database Read the forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. You need to show effort, and what better way than posting the code that you have tried so far? Take a look at Daniweb thread - [url]http://www.daniweb.com/forums/thread255946.html[/url] (Store XML File in SQL Data …

Member Avatar for kvprajapati
0
37
Member Avatar for satiss7pwr
Member Avatar for harsha1708
Re: WCF

Welcome Harsh1708 [URL="http://msdn.microsoft.com/en-us/magazine/cc163647.aspx"][B]Learn The ABCs Of Programming Windows Communication Foundation[/B][/URL] is an excellent place to start learning WCF. Another MSDN resource link - [URL="http://msdn.microsoft.com/en-us/netframework/dd939784"]Beginner's Guide to Windows Communication Foundation[/URL]

Member Avatar for kvprajapati
0
80
Member Avatar for 54uydf

You can download crystal report VS2010 version from - [url]http://www.businessobjects.com/jump/xi/crvs2010/default.asp[/url] It is free.

Member Avatar for 54uydf
0
176
Member Avatar for kiran.madke
Member Avatar for kvprajapati
0
62

The End.