5,346 Posted Topics
Re: Yes, you may paint JTextArea. Create a sub-class of JTextArea. | |
Re: JTextArea has a bound property for line wrapping that controls whether or not it will wrap lines. By default, the line wrapping property is set to false. Use following methods: setLineWrap(boolean wrap) setWrapStyleWord(boolean word) | |
Re: Create a new windows user and try to open VS2008. If it is not working then open visual studio 2008 with administrative privilige. | |
Re: tanmoy_india>plzz..give the full code...with database... Post your code and ask for the suggestion. | |
Re: Very good post. I have create two console application. The below is a program takes argument and user input. It is a code of sam1.exe [CODE=C#] public class Test { public static void Main(string[] args) { for (int i = 0; i < args.Length; i++) { System.Console.WriteLine(args[i]); } string name; … | |
Re: Every array is full of initial values or nulls. Do you want to show a message when array index reaches out of limit? | |
Re: Design two pages : one for librarian and another for student. Configure [B]Form[/B] authentication & authorization. | |
Re: Close the device or file before you leave CreateStream() method. | |
Re: Three corrections: Thread Magpie and Squirrel requires Object lock and volatile modifier applied to available boolean field of TreeHole. [CODE=Java] public class Magpie extends Thread { private TreeHole treehole; private int number; public Magpie(TreeHole t, int number) { treehole = t; this.number = number; } public void run() { int … | |
Re: sid>but am totally illiterate towards Silverlight. You should read about silverlight. Do you know any ony other way to embed video without silverlight or flash? | |
Re: rams_it02>When the size execdes 1223, the JSP is not displaying properly. You may iterate as many elements as you have. I think your collection has a problem. [CODE=JSP-Struts] <% java.util.ArrayList ar=new java.util.ArrayList(); for(int i=1;i<=20000;i++) ar.add(i); %> <logic:iterate id="output" collection="<%=ar%>"> <bean:write name="output"/> </logic:iterate> [/CODE] | |
Re: Welcome!! First thing, post code in BB Tags. It's a good code. | |
Re: Welcome. Which authentication are you using in your application? | |
Re: Create an instance of Second Form's object and request for message Show(). [CODE=C#] .... Form2 a=new Form2(); a.Show(); [/CODE] | |
Re: Database file is not found. [CODE=C#] SqlConnection conn; conn= new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\db_lab8.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); [/CODE] | |
Re: Read this FAQ : [URL="http://java.sun.com/products/java-media/jai/forDevelopers/jaifaq.html"]http://java.sun.com/products/java-media/jai/forDevelopers/jaifaq.html[/URL] | |
Re: skycrew>that was generated by server? No Server prepare a response object - A response object consists headers and body. Headers are instructions for the browser and body contains the data to be render by the browser. For downloading a file: [CODE=JSP] <%@ page language="java" import="java.io.*"%> <%! void download(String filename,PageContext out) … | |
What is difference between include action and include directive? | |
Re: squinx22>Is that you brother? Read this post : [URL="http://www.daniweb.com/forums/thread193940.html"]http://www.daniweb.com/forums/thread193940.html[/URL] | |
Re: Change the compile expression!! [CODE=C#] expr = nav.Compile("paypointXML/op/command"); [/CODE] | |
Re: [CODE=C#] .... qry=select * from tablename where col1='" + text1.text + "' and col2='" + text2.text + "'"; .... [/CODE] | |
Re: Read about Event-Bubbling. It's prime concept to handle events for child controls. | |
Re: Use this command - [B]LIST ACTIVE DATABASES[/B] | |
Re: If barcode image is in byte array then you may use Syste.IO namespace classes : File, FileStream etc. | |
Re: I didn't find any problem in your code. If possible, post the code of Form1.Designer.vb code. | |
Re: [QUOTE=history84084;881047]I am using the following code to show existing C# forms. It works for some and not for others Suggestions would be appreciated! Form frmFDDsearch = new frmFDDsearch(); frmFDDsearch.Show();[/QUOTE] Undoubtedly, frmFDDsearch is a sub-class of Form class. You can't access those methods which are defined in frmFDDsearch class. | |
Re: Use [B]System.Data.DataSet [/B]class or [B]System.Xml.XmlDocument [/B]class to load xml document and navigate its element. | |
Re: Use Private Device Contexts. | |
Re: Cut those brances of a tree on which you are hanging. | |
Re: >Have you store membership, role and user info is custom database or aspnetdb.mdf? | |
Re: set weightx and weighty fields. [CODE] gridBagConstraints.weightx=1.0; gridBagConstraints.weighty=1.0; [/CODE] | |
Re: Keep in mind that the opened excel file is a copy of excel file located at your webapplication. This copy is returned to you by the webserver. | |
Re: You should read this [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html#glasspane"]http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html#glasspane[/URL] about glasspane. | |
Re: It's called DataBinding. Read [URL="http://msdn.microsoft.com/en-us/library/ms752347.aspx"]http://msdn.microsoft.com/en-us/library/ms752347.aspx[/URL] | |
Re: You may go through GDI classes. (System.Drawing namespace) | |
Re: [CODE=C#] .... write.WriteStartElement("Buyer"); write.WriteStartAttribute("ExpireDate"); write.WriteString("1-1-2009"); write.WriteEndAttribute(); ..... [/CODE] | |
Re: Use simple If statements instead of If..else..if. [CODE=C#] private void btnCompute_Click(object sender, EventArgs e) { if (txtName.Text == "") { MessageB.Text = "Enter Name"; return; } if (txtPNumber.Text.Length < 6) { MessageB.Text = "Enter Employee Number"; return; } if (txtHoursWork.Text == "") { MessageB.Text = "Enter Hours"; return; } if … | |
Re: You should have to use javascript's setTimeout method for such delaying. | |
Re: Riv3n>requires me to provide an upload and download file manager with pause and resuming. To do so, you must be acquinted with java security manager and policy concept. | |
Re: It is called multivalued Request parameter. For multi-valued parameter you have to use array notation with name attribute of input form tag. [CODE] <input type="checkbox" name="ar[]" value="Value1"/> <input type="checkbox" name="ar[]" value="Value2"/> <input type="checkbox" name="ar[]" value="Value3"/> [/CODE] Hope this code will help you. [CODE] <?php $cmd=$_POST["cmd"]; $hb=$_POST["hb"]; $sel[]=array("","",""); if(isset($cmd)){ for($i=0;$i<count($hb);$i++) { … | |
Re: >I have a div tag and working fine till yesterday. Runs yesterday's code. | |
Re: open file with ios::binary mode. [CODE=C++] ofstream outfile; outfile.open(binfile,ios::out | ios::binary); [/CODE] | |
Re: [QUOTE=Joncamp;278813]I cant read from a file stream, because the client application is an Applet (browser applet) in this client/server image transrfer program. You can't access files from an Applet in Java. I can paste an Image into the Applet and cast it to a BufferedImage object, but I don't know … | |
Re: Find the answer from the post #2 and #3. Both, JC and vernon suggest you about scope of variable. You have scope issue with object variable. You have to pass reference of an object through a method. [CODE=Java] class One { ... } class Two { // Object of class … | |
Re: [QUOTE=ashokrajendran;877844]Hi all, Im new to c#, please any one tell me how to get the column names of a table of ms access(.mdb). Here i used odbc connectivity to access the database, i got the list of tables in the database, but i dont know how to get the column … | |
Re: You are welcome. Read java posts. I am sure that you will find solution. | |
Re: [QUOTE=cathy dow;878876]what do you mean by robust in java?? please help me.[/QUOTE] Strong & healthy in form, constitution, or construction. |
The End.