5,346 Posted Topics

Member Avatar for nabeelanwer

Welcome nabeelanwer. Read this [URL="http://www.daniweb.com/forums/announcement9-3.html"]http://www.daniweb.com/forums/announcement9-3.html[/URL]. Your java code must be surrounded with bb code tags. You cannot perform sql operation with an applet. If you want to do so then you have to work with java policy & security manager system.

Member Avatar for peter_budo
0
322
Member Avatar for sivak

Static constructor is not inherited and cannot be called directly. Access modifier are not allowed with static constructor. The static constructor for a class execute at most once in a given application domain. The execution of static constructor is triggered by the first of the following events to occur within …

Member Avatar for kvprajapati
0
82
Member Avatar for coolbuddy059

SimpleDateFormat class is needed [CODE=Java] ...... String yourdate="12-Aug-2009"; String currformat="dd-MMM-yyyy"; SimpleDateFormat fd=new SimpleDateFormat(currformat); Date d1=fd.parse(yourdate); System.out.println(d1); String newformat="dd-MM-yyyy"; fd.applyPattern(newformat); StringBuffer b=new StringBuffer(); System.out.println(fd.format(d1,b,new FieldPosition(0))); .... [/CODE]

Member Avatar for javaAddict
0
112
Member Avatar for elanorejoseph

Where is view.php? whether it is in a same folder or another.

Member Avatar for Atli
0
120
Member Avatar for mundetas

>i have put my application on a pc with just .net framework 2.0 on. I get a crystal report engine error.... Conflict [B]Crystal Engine Version[/B]. >Considering my project has Access Database and crystal reports. I have been using studio 2008 I should be using crystal report 10.

Member Avatar for kvprajapati
0
149
Member Avatar for jineesh

You have to add relation to the database object. [CODE=C#] ...... // Two Datables DataTable dt1=new DataTable("Student"); DataTable dt2=new DataTable("Marks"); // Student table's columns dt1.Columns.Add("Roll",typeof(int)); dt1.Columns.Add("Name",typeof(string)); dt1.PrimaryKey=new DataColumn[]{dt1.Columns[0]}; // Marks table's columns dt2.Columns.Add("Roll",typeof(int)); dt2.Columns.Add("Maths",typeof(int)); dt2.Columns.Add("Eng",typeof(int)); dt1.Rows.Add(new object[]{1,"Rajesh"}); dt1.Rows.Add(new object[]{2,"Mohan"}); dt2.Rows.Add(new object[]{1,22,33}); dt2.Rows.Add(new object[]{2,55,77}); // Create a logical Database - DataSet …

Member Avatar for kvprajapati
0
110
Member Avatar for zuve_fox

Download MySql Connector API (Provider classes) - [URL="http://dev.mysql.com/downloads/connector/net/5.1.html"]http://dev.mysql.com/downloads/connector/net/5.1.html[/URL]

Member Avatar for kvprajapati
0
90
Member Avatar for stevelk

Welcome stevelk. Please read [URL="http://www.daniweb.com/forums/announcement58-3.html"]http://www.daniweb.com/forums/announcement58-3.html[/URL]. Your source code must be surrounded by code tags. For example, [CODE=VB.NET] Sub How() Dim S as String s="Your source code must be placed with bb code" ..... End Sub [/CODE]

Member Avatar for kvprajapati
0
129
Member Avatar for SKANK!!!!!

Here is sample code for you. file1.php ====== [CODE] <?php $no=$_REQUEST["no"]; $name=$_REQUEST["name"]; echo "values - $no and $name"; ?> <br/>First Method <form method="post" action="file1.php"> No <input type="text" name="no"/> Name <input type="text" name="name"/> <br/><input type="submit" namd="cmd" value="Submit"/> </form> <br/>Second Method <a href="file1.php?no=100&name=Mr.X">Send</a> [/CODE]

Member Avatar for SKANK!!!!!
0
203
Member Avatar for DevC++4.9.9.2

You need a Web Service (develop or buy) and JavaScript code to invoke Web service method.

Member Avatar for DevC++4.9.9.2
0
246
Member Avatar for greg_mystikal

What does your application do? >in the start bar? (down near to the clock preferably). Think about NotifyIcon control.

Member Avatar for Diamonddrake
0
93
Member Avatar for serkan sendur
Member Avatar for Xessa

[QUOTE=Xessa;887918]Hello people. I seem to connect and select the data i want from a specific and big table. But when the information to be selected is small, everything is allright. But when i try to select information that is not that much small. For example when i select from 3000 …

Member Avatar for Xessa
0
106
Member Avatar for JakShelar
Member Avatar for tintincute

Magic code indeed. >I'm designing a code where one can guess the Magic Number. In my code I have this part here where I declared the randomNumber after the class Form1. It's a constructor. >Can somebody tell me what's the name of this part here? Is it static variable? >And …

Member Avatar for kvprajapati
0
79
Member Avatar for kingarthur

[QUOTE=kingarthur;887939]Hey, there are 2 problems number one: i'm using the database in ~6 different ways/on 6 different frames. That causes a lot redundat code. nr 2: in my case, these data never change, but if someone is using my application on another computer, the data may change (sql server adress, …

Member Avatar for kvprajapati
0
91
Member Avatar for sunilsinha
Member Avatar for mundetas
Member Avatar for kvprajapati
0
42
Member Avatar for saptaparni

>how do i generate a .html file using java? Using classes of java.io package. >i need 2 read from a file file and display an applet in a web browser. use java.net.URL class.

Member Avatar for kvprajapati
0
61
Member Avatar for coolbuddy059
Member Avatar for kvprajapati
0
166
Member Avatar for gauravmishra
Member Avatar for Romil797

WebKit is an open source Web content engine for browsers and other applications. Please check [URL="http://webkit.org/building/tools.html"]http://webkit.org/building/tools.html[/URL]

Member Avatar for Romil797
0
66
Member Avatar for Isy
Member Avatar for sivak

In theory, every class must have an Interface. The Interface establishes what requests you can make for a particular object.

Member Avatar for serkan sendur
0
119
Member Avatar for farooq82
Member Avatar for shers
Member Avatar for gagan22
Member Avatar for suthab

Why passing address of head? It is global to the application. [CODE=C] void display() { struct emplist *first,*trav; first=trav=NULL; first=head; printf(" \n\n Printing list \n\n "); while(first->next!=NULL) { printf(" Value in first of next is : %s\n",first->name); first=first->next; } printf(" Value in first of next is : %s\n",first->name); } [/CODE]

Member Avatar for kvprajapati
0
123
Member Avatar for jancho1911
Member Avatar for kvprajapati
0
106
Member Avatar for mem81
Member Avatar for kvprajapati
0
148
Member Avatar for subhaoviya

[QUOTE=subhaoviya;886991]am navigating the url through IE browser, when the IE is not been an default browser, i got an prompt "the IE is not an default browser whether you want to make it as default browser" as like that. is it possible to make the default browser as IE through …

Member Avatar for kvprajapati
0
103
Member Avatar for sameeraict

newConn.close() - It ends the database session which was established with newConn.open() method. newConn.dispose() - It releases all resources used by an object.

Member Avatar for kvprajapati
0
80
Member Avatar for Megalan

May be [URL="http://pietschsoft.com/category/C.aspx"]this[/URL] will help you.

Member Avatar for Megalan
0
167
Member Avatar for jineesh

Jineesh>How can I set selected item in a combobox from a dataset??? ComboBox - It allows single item selection at once.

Member Avatar for kvprajapati
0
64
Member Avatar for Manjidotnet
Member Avatar for kvprajapati
0
344
Member Avatar for praveenrajmat

Use Java Print Service API. Please refer [URL="http://poi.apache.org/"]http://poi.apache.org/[/URL] and [URL="http://www.theserverside.com/discussions/thread.tss?thread_id=42180"]http://www.theserverside.com/discussions/thread.tss?thread_id=42180[/URL]

Member Avatar for JamesCherrill
0
170
Member Avatar for puk

Puk, You are lazy. [CODE=Java] int n=12345; String s=""; while(n>0) { s=n%10 + " " + s; n=n/10; } System.out.println(s); [/CODE]

Member Avatar for javaAddict
0
82
Member Avatar for Web_Sailor

Where you got this code? There are so many statements either meaningless or written falsely. 1. As stated by Ezzaral, Rectangle classes create ambiguity. 2. MousingExample class has no definition [CODE=Java] MousingExample test = new MousingExample(); [/CODE] 3. What about this? Is this a way to instantiate MousingExample.Rectangle. [CODE=Java] List<Rectangle> …

Member Avatar for Web_Sailor
0
167
Member Avatar for mundetas

You forget the following code in a Form_Load Event [CODE=C#] DataSet1 ds = new DataSet1(); DataSet1TableAdapters.empTableAdapter a = new WindowsFormsApplication1.DataSet1TableAdapters.empTableAdapter(); a.Fill(ds.emp); CrystalReport11.SetDataSource(ds); [/CODE]

Member Avatar for mundetas
0
77
Member Avatar for raul66

[QUOTE=raul66;886398]it doesn't work...[/QUOTE] GROUP BY uses column_list having same order and same number used with SELECT statement. [CODE=PHP and SQL] SELECT DATE_FORMAT(res_time, '%D %M %Y') AS res_time, exc_excercise_name, res_result FROM res INNER JOIN exc ON res_exc_id=exc_id WHERE res_usr_id='value' GROUP BY DATE_FORMAT(res_time, '%D %M %Y') AS res_time, exc_excercise_name, res_result HAVING COUNT …

Member Avatar for raul66
0
160
Member Avatar for dumbncool

You have to create a unique id (token), which (token) must be travel across the network with each request & response.

Member Avatar for dumbncool
0
72
Member Avatar for MasterOfDevil

MasterOfDevil>My problem is how can I handle installation complete time. Can I do this with .Net or must use a batch file. Web Browser checks the availability of plug-ins when a response is came from web server. You may use html markup and javascript to verify.

Member Avatar for serkan sendur
0
97
Member Avatar for shinkelwars

As C++ developer - stop finding ready-made code or solution otherwise you will mess up your work.

Member Avatar for Ancient Dragon
0
149
Member Avatar for mbartos

When you input for "Throw y/n ?"; It means you pressed two keys, first is 'y' or any other and second is carriage return. After that getchar() function pops up two characters one after one and this is the reason your while loop is not working as you expect.

Member Avatar for ArkM
0
322
Member Avatar for Mudi

Do you want to addition of two constant values? [CODE=C++] cout << "\nAddition : " << double(0.40+0.05); [/CODE]

Member Avatar for siddhant3s
0
117
Member Avatar for lqdo

XML Serialization/Deserialization : It serialize only public properties and fields and does not preserve type fidelity.

Member Avatar for lqdo
0
99
Member Avatar for suretd
Member Avatar for suretd
0
131
Member Avatar for uthman4u2nv
Member Avatar for Tamir09

Tamir09>I want an array to hold the values of Gap.. Dear Tamir, My little effort to read xml and store into an array is: [CODE=VB.NET] Dim reader As New XmlTextReader("c:\csnet\46\VBConsole\a1.xml") Dim s As String = "" Dim gap() As String Dim iGap As Integer While reader.Read() Select Case reader.NodeType Case …

Member Avatar for Tamir09
0
3K
Member Avatar for sivak

Class members qualified with static modifier are called static members. Class members declared without static modifier are called instance members.

Member Avatar for kvprajapati
0
70

The End.