5,346 Posted Topics

Member Avatar for kashn
Member Avatar for kashn
0
64
Member Avatar for kashn

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)

Member Avatar for kashn
0
272
Member Avatar for pankbharambe
Member Avatar for Craig2231

Create a new windows user and try to open VS2008. If it is not working then open visual studio 2008 with administrative privilige.

Member Avatar for kvprajapati
0
140
Member Avatar for tanmoy_india

tanmoy_india>plzz..give the full code...with database... Post your code and ask for the suggestion.

Member Avatar for rahul.anand77
0
109
Member Avatar for zido85
Member Avatar for DevC++4.9.9.2

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

Member Avatar for streetfighter
0
369
Member Avatar for Tank50

Every array is full of initial values or nulls. Do you want to show a message when array index reaches out of limit?

Member Avatar for ddanbe
0
104
Member Avatar for Traicey

Design two pages : one for librarian and another for student. Configure [B]Form[/B] authentication & authorization.

Member Avatar for Traicey
0
117
Member Avatar for jineesh
Member Avatar for Gman36

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 …

Member Avatar for kvprajapati
0
114
Member Avatar for sid78669

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?

Member Avatar for new
0
125
Member Avatar for jaykom
Member Avatar for rams_it02

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]

Member Avatar for shantechi
0
216
Member Avatar for RupeshParajuli
Member Avatar for shantechi
0
491
Member Avatar for varshatherain
Member Avatar for Gangadhar619

Create an instance of Second Form's object and request for message Show(). [CODE=C#] .... Form2 a=new Form2(); a.Show(); [/CODE]

Member Avatar for Diamonddrake
0
219
Member Avatar for tonief

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]

Member Avatar for tonief
0
71
Member Avatar for redZERO

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]

Member Avatar for redZERO
0
364
Member Avatar for skycrew

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

Member Avatar for skycrew
0
798
Member Avatar for kvprajapati
Member Avatar for kvprajapati
0
292
Member Avatar for squinx22

squinx22>Is that you brother? Read this post : [URL="http://www.daniweb.com/forums/thread193940.html"]http://www.daniweb.com/forums/thread193940.html[/URL]

Member Avatar for articlemaster9
0
109
Member Avatar for jonnytabpni

Change the compile expression!! [CODE=C#] expr = nav.Compile("paypointXML/op/command"); [/CODE]

Member Avatar for jonnytabpni
0
123
Member Avatar for neel_patric

[CODE=C#] .... qry=select * from tablename where col1='" + text1.text + "' and col2='" + text2.text + "'"; .... [/CODE]

Member Avatar for kvprajapati
0
108
Member Avatar for lefrancisco1
Member Avatar for kvprajapati
0
102
Member Avatar for ashokrajendran
Member Avatar for smjabbar

If barcode image is in byte array then you may use Syste.IO namespace classes : File, FileStream etc.

Member Avatar for kvprajapati
0
76
Member Avatar for gareth.nic

I didn't find any problem in your code. If possible, post the code of Form1.Designer.vb code.

Member Avatar for Teme64
0
1K
Member Avatar for history84084

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

Member Avatar for kvprajapati
0
149
Member Avatar for undead25

Use [B]System.Data.DataSet [/B]class or [B]System.Xml.XmlDocument [/B]class to load xml document and navigate its element.

Member Avatar for undead25
0
2K
Member Avatar for DaMist
Member Avatar for axim1
Member Avatar for dzl1
Member Avatar for dzl1
0
126
Member Avatar for KirkPatrick

set weightx and weighty fields. [CODE] gridBagConstraints.weightx=1.0; gridBagConstraints.weighty=1.0; [/CODE]

Member Avatar for KirkPatrick
0
103
Member Avatar for raymondhsu09

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.

Member Avatar for raymondhsu09
0
160
Member Avatar for redZERO

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.

Member Avatar for JamesCherrill
0
231
Member Avatar for Joy McClure

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]

Member Avatar for kvprajapati
0
94
Member Avatar for ajTrader
Member Avatar for kvprajapati
0
55
Member Avatar for polo_coins

[CODE=C#] .... write.WriteStartElement("Buyer"); write.WriteStartAttribute("ExpireDate"); write.WriteString("1-1-2009"); write.WriteEndAttribute(); ..... [/CODE]

Member Avatar for kvprajapati
0
101
Member Avatar for taichi2910

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 …

Member Avatar for kvprajapati
0
93
Member Avatar for tulsi_apr03
Member Avatar for tulsi_apr03
0
232
Member Avatar for Riv3n

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.

Member Avatar for Riv3n
0
108
Member Avatar for shena

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++) { …

Member Avatar for shena
0
4K
Member Avatar for learnerasp
Member Avatar for kvprajapati
0
211
Member Avatar for yashyash

open file with ios::binary mode. [CODE=C++] ofstream outfile; outfile.open(binfile,ios::out | ios::binary); [/CODE]

Member Avatar for Ancient Dragon
1
182
Member Avatar for Joncamp

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

Member Avatar for kvprajapati
0
4K
Member Avatar for keppy

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 …

Member Avatar for kvprajapati
0
103
Member Avatar for ashokrajendran

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

Member Avatar for lonelyrider
0
2K
Member Avatar for apocalypshiit
Member Avatar for apocalypshiit
-1
77
Member Avatar for cathy dow

[QUOTE=cathy dow;878876]what do you mean by robust in java?? please help me.[/QUOTE] Strong & healthy in form, constitution, or construction.

Member Avatar for JamesCherrill
0
83

The End.