5,346 Posted Topics
Re: Take a look at [URL="http://vb.net-informations.com/crystal-report/vb.net_crystal_report_from_multiple_tables.htm"]Crystal Report tutorial [/URL] - from multiple tables. | |
Re: Take a look at a thread - [URL="http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/5d2b67e8-d9cb-4025-be1b-aa4379e8fa5a"]http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/5d2b67e8-d9cb-4025-be1b-aa4379e8fa5a[/URL]. I suggest you to use [URL="http://www.codeplex.com/ftpclient"]http://www.codeplex.com/ftpclient[/URL] | |
Re: Could you please be more specific on [URL="http://www.codeproject.com/KB/recipes/IE7_Clone_VS2005_Browser.aspx"]webbrowser[/URL] control. | |
Re: Welcome, You can do this by using [URL="http://code.google.com/apis/ajaxlanguage/documentation/reference.html"]google translation api[/URL]. Take a look at this article & example - [URL="http://www.codeproject.com/KB/aspnet/Translate_Your_Website.aspx?display=Print"]http://www.codeproject.com/KB/aspnet/Translate_Your_Website.aspx?display=Print[/URL] | |
Re: [URL="http://msdn.microsoft.com/en-us/library/system.xml.xpath.xpathnavigator.evaluate(VS.71).aspx"]Evalute[/URL] method evaluates the string representing an XPath expression and returns the typed result (number, Boolean, string, or node set). Use the [b]XPathNodeIterator[/b] to iterate over a set of nodes. [code] XPathNodeIterator b= (XPathNodeIterator) navigator.Evaluate(xpath); while(b.MoveNext()) { Console.Write(b.Current); } [/code] | |
Re: Use [b]Split[/b] method with [b]StringSplitOptions.RemoveEmptyEntries[/b] option. [code] string[] variables= s.Split(new string[] {" "}, StringSplitOptions.RemoveEmptyEntries); [/code] | |
Re: To deploy asp.net web application you need IIS. Take a look at this article - [URL="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5adfcce1-030d-45b8-997c-bdbfa08ea459.mspx?mfr=true"]Creating Virtual Directories in IIS.[/URL] | |
Re: Please take a look at this blog - [URL="http://blogs.msdn.com/jeffrey_wall/archive/2004/09/13/229137.aspx"]http://blogs.msdn.com/jeffrey_wall/archive/2004/09/13/229137.aspx[/URL] | |
Re: Try it, [code] request.Query="dani site:daniweb.com" request.Image.Filters = new string(){"Size:Width:200","Size:Height:200"} [/code] | |
Re: To run an applet, right-click on the applet class rectangle and select Run Applet. Take a look at this tutorial - [URL="http://www.horstmann.com/bigj/help/bluej/index.html"]http://www.horstmann.com/bigj/help/bluej/index.html[/URL] | |
Re: Take a look at a thread - [URL="possible-burn-data-cd-programmatically-via-vb-net-203062"]possible-burn-data-cd-programmatically-via-vb-net-203062[/URL]. SUMMARY: The NeroCOM object (type library) which comes as part of the API is indeed compatible with .NET. There is a C# example called Nero Fiddles included with the API. This will be the easiest way for you to access NERO through … | |
Re: I guess you want to know about layer architecture application. Here is a good article - [URL="http://www.codeproject.com/KB/cs/Three_Layer_Architecture.aspx"]http://www.codeproject.com/KB/cs/Three_Layer_Architecture.aspx[/URL] SUMMARY: Tier indicates a physical separation of components, which may mean different assemblies such as DLL, EXE, etc. on the same server or multiple servers. Layer indicates logical separation of components, such as … | |
Re: Use classes of [b]System.Net.Mail[/b] namespace. [code] .... try { System.Net.Mail.MailMessage mm=new System.Net.Mail.MailMessage("to@aaa.com","aaa@gmail.com"); mm.Subject = "Subject details"; mm.Body = "Sample..."; SmtpClient sc = new System.Net.Mail.SmtpClient(); System.Net.NetworkCredential auth = new System.Net.NetworkCredential("your@gmail.com", "your_pass"); sc.Host = "smtp.googlemail.com"; sc.Port = 587; sc.UseDefaultCredentials = false; sc.Credentials = auth; sc.EnableSsl = true; sc.Send(mm); Response.Write( "your mail has … | |
Re: Take a look at this tutorial - [URL="http://www.leda-tutorial.org/en/official/index.html"]http://www.leda-tutorial.org/en/official/index.html[/URL] | |
Re: Take a look at this link - [URL="http://forums.asp.net/p/1052310/1516339.aspx"]http://forums.asp.net/p/1052310/1516339.aspx[/URL] | |
Re: Use parameter. Please read this article - [URL="http://msdn.microsoft.com/en-us/library/ms247297(VS.80).aspx"]http://msdn.microsoft.com/en-us/library/ms247297(VS.80).aspx[/URL] | |
Re: Set [b]SelectedValue[/b] property of RadioButtonList control. [code] ... Me.rblprinter.DataBind() Me.rblprinter.SelectedValue="Name_of_Printer" ... [/code] | |
Re: Hi, Take a look at this MSDN article - [URL="http://msdn.microsoft.com/en-us/library/bb671205.aspx"]Technology Summary for Reading and Managing Event Logs[/URL] | |
Re: Use methods of [b]System.IO.File[/b] class. [code] If System.IO.File.ReadAllText("file.txt") = TextBox1.Text Then 'Put your code End If [/code] | |
Re: >How to put New record at the end of Database Table. A table is an unordered recordset. The position of a record in the table is not relevant unless you impose an order on it. If your table has transaction date column then use SELECT statement with ORDER BY clause. … | |
Re: [URL="http://en.wikipedia.org/wiki/JavaOS"]JavaOS[/URL] - JavaOS is an operating system with a Java virtual machine as a fundamental component. It is developed by Sun Microsystems. Unlike Windows, Mac OS, Unix or Unix-like systems which are primarily written in the C programming language, JavaOS is primarily written in Java. | |
Re: Use where clause, [code] Private Sub ListBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox2.SelectedIndexChanged ... Dim state= "SELECT * FROM Member Where Names='" & ListBox2.Text & "'" ... End Sub [/code] | |
Re: Have a look, [code] //Table: TestTable(Filename Text(40), FileContent(Ole Object) byte []bytes={22,222,33,44,55}; OleDbConnection cn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\csnet\ConsoleApplication5\Database1.accdb;Persist Security Info=True"); OleDbCommand cmd = new OleDbCommand("insert into TestTable values (@filename,@filecontent)", cn); cmd.Parameters.Add("@filename", OleDbType.VarChar, 40).Value = "file.gif"; cmd.Parameters.Add("@filecontent", OleDbType.Binary, bytes.Length).Value = bytes; cn.Open(); cmd.ExecuteNonQuery(); cn.Close(); [/code] | |
Re: Start with chat using this [URL="http://today.java.net/pub/a/today/2006/10/05/instant-messaging-for-jabber-with-smack.html"]tutorial.[/URL] Smack Jabber API - Jabber is an open, XML-based standard for instant messaging, providing a non-commercial alternative to these proprietary messaging services. | |
Re: Use, [code] dataGridView1.Sort(dataGridView1.Columns["Name"], ListSortDirection.Descending); [/code] | |
Re: Turn off client & proxy cache, [code] protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.NoCache); if (Session["iskey"] == null) { Response.Redirect("~/Login.aspx"); } } [/code] | |
Re: Set the PATH variable if you want to be able to conveniently run the executables (javac.exe, java.exe, javadoc.exe, and so on) from any directory without having to type the full path of the command. Take a look at - [URL="http://java.sun.com/docs/books/tutorial/essential/environment/paths.html"]PATH and CLASSPATH[/URL] | |
Re: Use OLE field (column) type to store the content of file. Consider a table named "TestTable" has two fields - filename (Text), filecontent(OLE). Use Oledb provider classes, [code] Dim mbytes() As Byte = System.IO.File.ReadAllBytes("c:\myfile.gif") Dim cn As New OleDbConnection("your_connection_string") Dim cmd As New OleDbCommand("insert into TestTable values (@filename,@filecontent)", cn) cmd.Parameters.Add("@filename", … | |
Re: Create a library with reusable functions & classes. They can be linked with different applications. It saves a lot of time and encourages reuse. Take a look at aricle - [URL="http://www.tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html"]http://www.tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html[/URL] | |
Re: On Tomcat, there are (only?) two possible reasons: invalid schema in web.xml, or el-ignored config option. Set [B]isELIgnored="false" [/B] attribute. [code] <%@ page isELIgnored="false" %> ..... [/code] | |
Re: You can't use [b]%[/b] operator with floating point values. Use [URL="http://www.cprogramming.com/fod/fmod.html"]http://www.cprogramming.com/fod/fmod.html[/URL]. | |
Re: >when the file dreams.text is created it should be in the same folder where this code and exe is saved. Not necessary. Use absolute path. [code] fstream* file = new fstream("c:\\dreams.txt", fstream::in); [/code] | |
Re: Welcome, You should have to use [b]getWindowRect[/b] method. [code] CRect rect; CPoint point; wnd->getWindowRect(rect); point.x=rect.Width()/2; point.y=rect.Height()/2; [/code] | |
Re: You could use [URL="http://htmlparser.sourceforge.net/"]HTML Parser[/URL], which a Java library used to parse HTML in either a linear or nested fashion. It is an open source tool and can be found on SourceForge. you could also use[URL="http://java.sun.com/products/jfc/tsc/articles/bookmarks/"]The Swing HTML Parser.[/URL] | |
Re: >Now my issue is I have to pass on the data from the C# to JScript and i m struck here.. Use [URL="http://sourceforge.net/projects/gmapdotnetctl/"]GMap[/URL] asp.net control. SUMMARY: A custom server control wrapper for the Google Maps API. Developed for ASP.Net using C#, JavaScript, and XSL. The GMap control makes using Google … | |
Re: To develop a website, 1. You need to regsiter a domain name. 2. You will have to get a web host. 3. Use HTML to create the front end. Plus CSS and maybe JavaScript. If you need dynamic content like accessing a database etc then you have to learn server … | |
Re: Ana D. Did you work out on that issue? Which database are using? Post your code if you have. | |
Re: You can use AJAX to post form data. Take a look at this link [URL="http://www.captain.at/howto-ajax-form-post-request.php"]http://www.captain.at/howto-ajax-form-post-request.php[/URL] | |
Re: Don't use array subscripts [ ] with argument. [code] String list = printLine(arrayList); [/code] | |
Re: Create an instance of List to add an element, [code] TreeMap<String,String> map=new TreeMap<String,String>(); map.put("foo","foobar"); List<String> list=new ArrayList<String>(); list.add(map.get("foo")); [/code] | |
Re: Take a look, here is a Test.java [code] package pk; public class Test{ public static void main(String[] args){ System.out.println("Hi"); } } [/code] Now compile Test.java, [code=text] >javac Test.java -d . [/code] Note: -d switch creates a package folder at [b].[/b] (working directory). Create a manifest file called [b]mf[/b] and put … | |
Re: I think you are looking for [URL="http://www.rebex.net/time.net/tutorial-time.aspx"]SNTP/NTP[/URL]. | |
Re: How much ever space you need to store your data you require that much memory and datatypes gives you different amount of memory so you can choose based on your requirements. Take a look at this article - [URL="http://en.wikipedia.org/wiki/Data_type"]http://en.wikipedia.org/wiki/Data_type[/URL] | |
Re: C string is an array of characters. You may set or get a character at specific index. [code] char str[20]="ABC"; str[0]='a'; // replace 'A' with 'a' [/code] C String (char array) is terminated with a '\0' (null) character. [code] char str[20]="Sample Text"; int i=0; while(str[i]!='\0') { /* put your code … | |
Re: >could not. But I can still open other files such as XML, PDF, Check the path of flash file (.swf or .flv) and take a look at this link - [URL="http://www.codeproject.com/KB/audio-video/flashexternalapi.aspx"]http://www.codeproject.com/KB/audio-video/flashexternalapi.aspx[/URL] | |
Re: You cannot change DataType of column if it has data already. Why not just add a column and remove a column than in this case? | |
Re: If you want to select a random row from MS-SQL database then use, [code=text] SELECT TOP 1 column FROM table ORDER BY NEWID() [/code] | |
Re: Add a handler for [b]KeyPress[/b] event by double clicking on event name [b]KeyPress[/b] at Properties windows and put the code inside the keypress handler suggested by Mr. DdoubleD. | |
Re: Use [b]BETWEEN[/b] caluse - BETWEEN returns TRUE if the value of test_expression is greater than or equal to the value of begin_expression and less than or equal to the value of end_expression. [code=text] SELECT * FROM TableName Where TestDate BETWEEN '01/01/2009' AND '01/31/2009' [/code] | |
Re: It's a registry entry. Take a look at this article - [URL="http://www.codeguru.com/vb/gen/vb_system/directoriesandfiles/article.php/c4837/"]http://www.codeguru.com/vb/gen/vb_system/directoriesandfiles/article.php/c4837/[/URL] |
The End.