5,346 Posted Topics
Re: Have a look at this thread - [url]http://forums.asp.net/t/1087293.aspx[/url] | |
Re: You must check out - [url]http://sourceforge.net/projects/clamwin/develop[/url] | |
Re: [b]>help..help..help..[/b] Please read the rules before posting again, in particular the 'keep it organized' one - subject titles such as 'help urgent' are not allowed. If you hit 10 infraction points your account gets an automatic ban, so it is worth obeying the rules if you want to continue to … | |
Re: [QUOTE=euroazn;1259644]Suppose I have an Outlook account that is logged in at the computer. How can I send an email from this account to a given contact (if this can be a group, that would be really nice) via a C# program? Thank you very much![/QUOTE] Have a look at thread … | |
Re: Please take a look at - [URL="http://stackoverflow.com/questions/2246017/c-google-translate"]C# Google translate[/URL]. | |
Re: Good suggestion by Lasiphur. The class [URL="http://msdn.microsoft.com/en-us/library/system.security.principal.windowsidentity.aspx"]WindowsIdentity[/URL] - is used to obtain a Windows account token through a call to the unmanaged Win32 LogonUser function, and use that token to impersonate another user. I'd suggest you to read -[URL="http://www.codeproject.com/KB/cs/cpimpersonation1.aspx"] Windows Impersonation using C#[/URL] article. | |
Re: [QUOTE=ak.royan;1267331]Hi friends. I'm trying to create FTP Sever with socket programing.I know how to transfer files between server and client but i don't know how to browse server's folders in client.It is possible to use FolderBrowserDialog ?[/QUOTE] Use system.net.[URL="http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx"]FtpWebRequest[/URL] and FtpWebRespose classes. | |
Re: Hi, There are number of C# graph drawing libraries (free). I'd like to suggest - [url]http://quickgraph.codeplex.com/[/url] | |
Re: Great example of [B]SingleTon[/B] class by nick.crane. Here is MSDN article - [URL="http://msdn.microsoft.com/en-us/library/ff650316.aspx"]Implementing Singleton in C#[/URL]. [QUOTE]SUMMARY: You are building an application in C#. You need a class that has only one instance, and you need to provide a global point of access to the instance. You want to be … | |
Re: [b]>but is it possible to disable the text box from being highlighted?[/b] Use Label control or Disabled the TextControl. Tell us [b]what[/b] you are trying to do? | |
Re: You only want to use Invoke or BeginInvoke for the bare minimum piece of work required to change the UI. Take a look at - [url]http://www.yoda.arachsys.com/csharp/threads/[/url] and [url]http://www.yoda.arachsys.com/csharp/threads/winforms.shtml[/url] You can place following code in click handler of button. [code] listBox1.Invoke(new Action(()=> { for (int i = 1; i <= 10; … | |
Re: [QUOTE=dghervas;1265431]Hello, Can someone give me an idea on how to start and control a pppoe connection using code and not using rasdial. Oh and i would also like to be able to specify the phonebook that i would like to use with full path. Thank you, Daniel[/QUOTE] Use [B]Process[/B] and … | |
Re: Take a look at some articles on the Internet (google it please). Have a look at code-project article. [url]http://www.codeproject.com/KB/cs/SMS.aspx?msg=3065223[/url] | |
Re: In order to update dataset/datatable you have to configure Insert,Update,Delete, and Select command of DataAdapter. Use OleDbCommandBuilder class to populate insert,delete, and update commands. [code] Dim con As New OleDb.OleDbConnection Dim spl As String Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter con.ConnectionString = "PROVIDER= Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Malai\Documents\database31.mdb" con.Open() … | |
Re: I don't understand why are you not adding web references in project. When you add a web reference it parses the WSDL and creates strongly typed classes for the API. For your reference read Dr. Dobb's article - [URL="http://www.drdobbs.com/184416642"]Building an XML Wrapper Class in C#[/URL]. | |
Re: Want to [URL="http://msdn.microsoft.com/en-us/library/bb264562%28SQL.90%29.aspx"]embed [/URL]MS-SQL server database? | |
Re: [code] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load BindGridView() End Sub [/code] | |
Re: [QUOTE=elizabeth mwash;1258730]actually i removed the extra column and still got the same error...i don't understand the comments about the connection string.actually am certain the problem is originating from the connection string because i gr this error Argument ExceptionUnhandled Keyword not supported: 'provider'....while pointing at [CODE]SqlConnection sqlconn =new SqlConnection(connstring);[/CODE].. if i … | |
Re: [B]AJAX - AutoComplete[/B] - [url]http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/AutoComplete/AutoComplete.aspx[/url] | |
Re: Please read this article - [url]http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet06192006090112AM/AI_OOP_NeuralNet.aspx[/url] and thread - [URL="http://stackoverflow.com/questions/570073/best-free-downloadable-book-of-ai-and-c"]Best free downloadable Book of AI and C#.[/URL] | |
Re: [code] public partial class _Default : System.Web.UI.Page { string str; protected void Button1_Click(object sender, EventArgs e) { str = "Hello World"; } } [/code] | |
Re: [b]>How do you save expression data columns to the database?[/b] Nope. But you can create an expression column in database or create a VIEW. | |
Re: Please read these articles : 1. [url]http://msdn.microsoft.com/en-us/library/ms978420.aspx[/url] 2. [url]http://www.developer.com/net/net/article.php/2201701/NET-Remoting-Versus-Web-Services.htm[/url] | |
Re: [QUOTE=Duki;1262417]Hey guys, Is there any way to call the click event of a linklabel? E.g., I have a form that should call linkLabel_refresh_LinkClicked when it closes. Is that possible? Thanks[/QUOTE] [code] linkLabel1_LinkClicked(null, null); [/code] | |
Re: Markup [code] <form id="form1" runat="server"> <div> <asp:Menu ID="Menu1" runat="server" onmenuitemclick="Menu1_MenuItemClick"> <Items> <asp:MenuItem Text="A" Value="A"> <asp:MenuItem Text="B" Value="B"> <asp:MenuItem Text="C" Value="C"></asp:MenuItem> </asp:MenuItem> </asp:MenuItem> </Items> </asp:Menu> </div> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </form> [/code] code-behind [code] protected void Menu1_MenuItemClick(object sender, MenuEventArgs e) { Label1.Text = e.Item.Value; } [/code] | |
Re: [QUOTE=adobe71;1262359]How to find the difference between system time and user input time in the format [hh:mm] in millisecond.[/QUOTE] [code] DateTime userInput = DateTime.Parse("6/29/2010 5:2:3 PM"); TimeSpan sp = DateTime.Now - userInput; double milis= sp.TotalMilliseconds; [/code] | |
Re: [QUOTE=akbar36;1259123]how to call get set properties present in class.cs file to javascript ? how to call a class which is in App_code through javascript ?[/QUOTE] Use/learn - [url]http://msdn.microsoft.com/en-us/library/aa479011.aspx[/url] | |
Re: Read - [url]http://stackoverflow.com/questions/1042706/where-and-when-is-initializecomponent-called-in-windows-forms-control-in-vb-net[/url] [code] public Form2(string parm) { InitializeComponent(); this.label1.Text = parm; } [/code] | |
Re: Worth to read - [url]http://www.regular-expressions.info/dotnet.html[/url] | |
Re: [b]>Does anyone have any ideas on what is the best XML parser to use? [/b] Undoubtedly, [B]System.XML[/B]. | |
Re: Session is dictionary object where the data type of [B]Key [/B]and [B]Value [/B]is object. [code] protected void btnViewProject_Click(object sender, EventArgs e) { if(Session["user1"]!=null) { string username = Session["user1"].ToString(); if (username == "yati") { Response.Redirect("ViewAllProject.aspx"); } else if (username == "shah") { Response.Redirect("ViewAllProject.aspx"); } else { Response.Write("<script>alert('You not permitted to access … | |
Re: [QUOTE=frenkjabu;1262002]how to search a any name on database table and appear immediately when you start typing a first letter[/QUOTE] Well, you need to write select query using ADO.NET (provider & data classes). | |
Re: [code=c#] CrystalReport1 myDataReport = new CrystalReport1(); myDataReport.SetParameterValue("para_name", "value"); myDataReport.SetDataSource(dataReport); [/code] | |
Re: Maybe access (.mdb) file is readonly or you don't have permission to write in it. | |
Re: [b]>I want to call an MS Word Document in my system using VB.net.[/b] You have to use Office-InterOp API. Please have a look at - [URL="http://msdn.microsoft.com/en-us/library/aa163987%28office.10%29.aspx"]Office InterOp[/URL] API. [b]>what should be the syntax?[/b] VB.NET | |
Re: [QUOTE]I have discovered that the media server is a upnp/av media server. I found a wealth of information about creating a server.[/QUOTE] Hi, Take a look at this thread - [url]http://stackoverflow.com/questions/507815/where-can-i-get-started-writing-a-media-server-in-c-like-playon[/url] | |
Re: [b]>error C2039: 'tellp' : is not a member of 'petShop'[/b] Yes. Its a member of [B]fstream[/B. [code] loc=f1.tellp(); [/code] | |
Re: [QUOTE=jugnu;1260660]For this must be simple but as i've said i have just started working in vb.net its not so simple for me. The second option u gave is under my consideration but i dont want to got with that. Can u be more helpful if u give some example? Thanks[/QUOTE] … | |
Re: [code] ResourceSet resourceSet = MyResourceClass.ResourceManager.GetResourceSet(CultureInfo.CurrentUICulture, true, true); foreach (DictionaryEntry entry in resourceSet){ string resourceKey = entry.Key; object resource = entry.Value; } [/code] | |
Re: Add the [URL="http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/cbed4e88-16d4-4d4b-821a-7a7e728c7e34"]custom code[/URL] function or use IIF. | |
Re: [QUOTE=prajaktaran;1239360]Hi, I have develop a project on "Hospital Managment System". I want to run that project on client server system. what code or any chages I have to perform to run the project. Thank You prajaktaran[/QUOTE] Must read article - [URL="http://msdn.microsoft.com/en-us/library/aa292470%28VS.71%29.aspx"]Designing Distributed Applications[/URL] and [URL="http://www.codeguru.com/vb/vb_internet/webservices/article.php/c7205"]Distributed Application in .net[/URL]. | |
Re: Read ASP.NET Deploument articles - [url]http://wiki.asp.net/page.aspx/34/deployment/[/url] | |
Re: Welcome speedy gonzalos, Do not use @ with parameter operand if database is Ms-Access. [code=vb.net] cmd.CommandText = "UPDATE LK_Categories SET CategoryName = mCategoryName WHERE PK_CategoryID =mCatID" [/code] Or use ? (anonymous) [code=vb.net] cmd.CommandText = "UPDATE LK_Categories SET CategoryName = ? WHERE PK_CategoryID =?" [/code] | |
Re: Use different 'attach name' for initial catalog. [code] SQLConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename= e:\new\xyz.mdf;Initial Catalog=xyz1;Integrated Security=True;User Instance=True" [/code] | |
Re: Welcome gsmdreams. Use Date.TryParseExact method to convert custom date format into system date format. | |
Re: I guess you will have to put in a bit more effort and try it on your own. Showing your code might help. [URL="http://www.daniweb.com/forums/announcement61-2.html"]We only give homework help to those who show effort[/URL] | |
Re: @yap_1991 Do not hijack another thread to ask your question but start your own thread instead. Please read the rules before posting again - [url]http://www.daniweb.com/forums/thread78223.html[/url] and [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. | |
Re: [QUOTE=moshe12007;1258648]i have in the Visual C# 3 options of database : 1. SQL SERVER (.sdf) 2. ACCESS (.mdf) 3. ADO.NET (.edmx) which database advisable to use??? *if you give me answer please give me tutorial\book\name of book. thanks.[/QUOTE] ADO.NET is Database Integration class library and Entity Data Model is a … | |
Re: Please do not resurrect threads that are years old. By doing so you run the risk of confusing current posters. Please do not resurrect old threads. If you want to ask question, start your own thread. Thread Locked. | |
Re: Hi, I'm glad you got it helpful. Please do not resurrect old threads. If you have any questions please ask. You are welcome to start your own threads. Thread Closed. |
The End.