5,346 Posted Topics

Member Avatar for khan17

Have a look at this thread - [url]http://forums.asp.net/t/1087293.aspx[/url]

Member Avatar for Julodnik
1
144
Member Avatar for onlinessp
Member Avatar for onlinessp
1
93
Member Avatar for kayfar

[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 …

Member Avatar for Lusiphur
0
472
Member Avatar for euroazn

[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 …

Member Avatar for euroazn
0
186
Member Avatar for virusisfound

Please take a look at - [URL="http://stackoverflow.com/questions/2246017/c-google-translate"]C# Google translate[/URL].

Member Avatar for Ketsuekiame
0
161
Member Avatar for rajdey1

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.

Member Avatar for PierlucSS
0
165
Member Avatar for ak.royan

[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.

Member Avatar for kvprajapati
0
113
Member Avatar for ayesha25

Hi, There are number of C# graph drawing libraries (free). I'd like to suggest - [url]http://quickgraph.codeplex.com/[/url]

Member Avatar for kvprajapati
0
102
Member Avatar for dreamy_ananya

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 …

Member Avatar for vdeych
0
352
Member Avatar for CanYouHandstand

[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?

Member Avatar for Amit.Tank001
0
3K
Member Avatar for angel_eyez

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; …

Member Avatar for Lusiphur
0
115
Member Avatar for dghervas

[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 …

Member Avatar for dghervas
0
648
Member Avatar for litlemaster

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]

Member Avatar for litlemaster
0
173
Member Avatar for hemavl

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() …

Member Avatar for kvprajapati
0
110
Member Avatar for hgbreton

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].

Member Avatar for kvprajapati
0
483
Member Avatar for elizabeth mwash

Want to [URL="http://msdn.microsoft.com/en-us/library/bb264562%28SQL.90%29.aspx"]embed [/URL]MS-SQL server database?

Member Avatar for finito
0
444
Member Avatar for nmges

[code] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load BindGridView() End Sub [/code]

Member Avatar for nmges
0
127
Member Avatar for elizabeth mwash

[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 …

Member Avatar for elizabeth mwash
0
160
Member Avatar for shanboy

[B]AJAX - AutoComplete[/B] - [url]http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/AutoComplete/AutoComplete.aspx[/url]

Member Avatar for shanboy
0
78
Member Avatar for chathuD

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]

Member Avatar for chathuD
0
99
Member Avatar for c0deFr3aK

[code] public partial class _Default : System.Web.UI.Page { string str; protected void Button1_Click(object sender, EventArgs e) { str = "Hello World"; } } [/code]

Member Avatar for Lusiphur
0
149
Member Avatar for oceantrain

[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.

Member Avatar for kvprajapati
0
76
Member Avatar for kalpa23

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]

Member Avatar for kvprajapati
0
58
Member Avatar for Duki

[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]

Member Avatar for Duki
0
121
Member Avatar for pritesh2010

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]

Member Avatar for pritesh2010
0
359
Member Avatar for adobe71
Re: Time

[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]

Member Avatar for arqtan
0
116
Member Avatar for akbar36

[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]

Member Avatar for kvprajapati
-1
67
Member Avatar for MrBlack

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]

Member Avatar for MrBlack
0
89
Member Avatar for sadhawan

Worth to read - [url]http://www.regular-expressions.info/dotnet.html[/url]

Member Avatar for kvprajapati
0
694
Member Avatar for guiman

[b]>Does anyone have any ideas on what is the best XML parser to use? [/b] Undoubtedly, [B]System.XML[/B].

Member Avatar for kvprajapati
0
47
Member Avatar for maria_mj

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 …

Member Avatar for maria_mj
0
235
Member Avatar for frenkjabu

[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).

Member Avatar for kvprajapati
0
37
Member Avatar for fafi_ali

[code=c#] CrystalReport1 myDataReport = new CrystalReport1(); myDataReport.SetParameterValue("para_name", "value"); myDataReport.SetDataSource(dataReport); [/code]

Member Avatar for xianhatesyou
0
3K
Member Avatar for Niranjan001

Maybe access (.mdb) file is readonly or you don't have permission to write in it.

Member Avatar for hirenpatel53
0
291
Member Avatar for carylle

[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

Member Avatar for augamal
0
285
Member Avatar for Diamonddrake

[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]

Member Avatar for Diamonddrake
0
155
Member Avatar for dhruv_arora

[b]>error C2039: 'tellp' : is not a member of 'petShop'[/b] Yes. Its a member of [B]fstream[/B. [code] loc=f1.tellp(); [/code]

Member Avatar for dhruv_arora
0
100
Member Avatar for jugnu

[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] …

Member Avatar for kvprajapati
0
75
Member Avatar for dr_venom

[code] ResourceSet resourceSet = MyResourceClass.ResourceManager.GetResourceSet(CultureInfo.CurrentUICulture, true, true); foreach (DictionaryEntry entry in resourceSet){ string resourceKey = entry.Key; object resource = entry.Value; } [/code]

Member Avatar for kvprajapati
0
68
Member Avatar for Dimansu

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.

Member Avatar for chan_lemo
0
3K
Member Avatar for prajaktaran

[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].

Member Avatar for prajaktaran
0
105
Member Avatar for coolla

Read ASP.NET Deploument articles - [url]http://wiki.asp.net/page.aspx/34/deployment/[/url]

Member Avatar for coolla
0
119
Member Avatar for speedy gonzalos

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]

Member Avatar for tariq182
0
186
Member Avatar for karan khokhar

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]

Member Avatar for karan khokhar
0
166
Member Avatar for gsmdreams

Welcome gsmdreams. Use Date.TryParseExact method to convert custom date format into system date format.

Member Avatar for gsmdreams
0
108
Member Avatar for f08

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]

Member Avatar for kvprajapati
0
94
Member Avatar for jeeter19

@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].

Member Avatar for kvprajapati
0
1K
Member Avatar for moshe12007

[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 …

Member Avatar for kvprajapati
0
174
Member Avatar for samaru

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.

Member Avatar for kvprajapati
0
1K
Member Avatar for viperdamus

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.

Member Avatar for kvprajapati
0
227

The End.